跳到主要內容

Eighties

Eighties 是一套深色終端機配色,背景色 #2d2d2d,文字色 #d3d0c8,對比度 8.9:1

取得設定檔
背景色
#2d2d2d
前景色
#d3d0c8
文字對比度
8.94:1AAA
強調色對比度
6.59:1最低 4.59
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Eighties 的設定檔

16 種格式,都從同一份色板產生

Eighties

存到 ~/.config/ghostty/themes/Eighties,再在 config 或 config.ghostty 裏寫 theme = Eighties

更多 Ghostty 配色
原始檔案
# Theme: Eighties (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/eighties?format=ghostty

palette = 0=#2d2d2d
palette = 1=#f2777a
palette = 2=#99cc99
palette = 3=#ffcc66
palette = 4=#6699cc
palette = 5=#cc99cc
palette = 6=#66cccc
palette = 7=#d3d0c8
palette = 8=#747369
palette = 9=#f2777a
palette = 10=#99cc99
palette = 11=#ffcc66
palette = 12=#6699cc
palette = 13=#cc99cc
palette = 14=#66cccc
palette = 15=#f2f0ec
background = #2d2d2d
foreground = #d3d0c8
cursor-color = #d3d0c8
cursor-text = #2d2d2d
selection-background = #525250
selection-foreground = #d3d0c8

Eighties 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2d2d2drgb(45 45 45)hsl(0 0% 18%)oklch(29.7% 0.000 0)—
前景色foreground#d3d0c8rgb(211 208 200)hsl(44 11% 81%)oklch(85.8% 0.011 89.7)8.94 AAA
光標cursor#d3d0c8rgb(211 208 200)hsl(44 11% 81%)oklch(85.8% 0.011 89.7)8.94 AAA
光標文字cursorText#2d2d2drgb(45 45 45)hsl(0 0% 18%)oklch(29.7% 0.000 0)1.00 低於 AA
選取範圍selection#525250rgb(82 82 80)hsl(60 1% 32%)oklch(43.8% 0.003 106.5)1.76 低於 AA
選取文字selectionText#d3d0c8rgb(211 208 200)hsl(44 11% 81%)oklch(85.8% 0.011 89.7)8.94 AAA
黑color0#2d2d2drgb(45 45 45)hsl(0 0% 18%)oklch(29.7% 0.000 0)1.00 低於 AA
紅color1#f2777argb(242 119 122)hsl(359 83% 71%)oklch(71.3% 0.151 20.2)5.05 AA
綠color2#99cc99rgb(153 204 153)hsl(120 33% 70%)oklch(79.6% 0.089 144.7)7.51 AAA
黃color3#ffcc66rgb(255 204 102)hsl(40 100% 70%)oklch(87.1% 0.133 82.7)9.23 AAA
藍color4#6699ccrgb(102 153 204)hsl(210 50% 60%)oklch(66.8% 0.094 249.4)4.59 AA
洋紅color5#cc99ccrgb(204 153 204)hsl(300 33% 70%)oklch(74.7% 0.091 326.4)5.90 AA
青color6#66ccccrgb(102 204 204)hsl(180 50% 60%)oklch(78.5% 0.095 195.4)7.26 AAA
白color7#d3d0c8rgb(211 208 200)hsl(44 11% 81%)oklch(85.8% 0.011 89.7)8.94 AAA
亮黑color8#747369rgb(116 115 105)hsl(55 5% 43%)oklch(55.3% 0.015 102.2)2.88 低於 AA
亮紅color9#f2777argb(242 119 122)hsl(359 83% 71%)oklch(71.3% 0.151 20.2)5.05 AA
亮綠color10#99cc99rgb(153 204 153)hsl(120 33% 70%)oklch(79.6% 0.089 144.7)7.51 AAA
亮黃color11#ffcc66rgb(255 204 102)hsl(40 100% 70%)oklch(87.1% 0.133 82.7)9.23 AAA
亮藍color12#6699ccrgb(102 153 204)hsl(210 50% 60%)oklch(66.8% 0.094 249.4)4.59 AA
亮洋紅color13#cc99ccrgb(204 153 204)hsl(300 33% 70%)oklch(74.7% 0.091 326.4)5.90 AA
亮青color14#66ccccrgb(102 204 204)hsl(180 50% 60%)oklch(78.5% 0.095 195.4)7.26 AAA
亮白color15#f2f0ecrgb(242 240 236)hsl(40 19% 94%)oklch(95.6% 0.006 84.6)12.10 AAA

關於 Eighties

Eighties 採用中性色調的深色背景(#2d2d2d),預設前景色為 #d3d0c8。正文的 WCAG 對比度為 8.94:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.59:1,最低 4.59:1。

色板整體色彩飽和度適中,其中紅色為 #f2777a、綠色為 #99cc99、藍色為 #6699cc、洋紅為 #cc99cc。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。

與 Eighties 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)