跳到主要內容

Astrodark

Astrodark 是一套深色終端機配色(柔和、冷色),背景色 #1a1d23,文字色 #9b9fa9,對比度 6.4:1

取得設定檔
背景色
#1a1d23
前景色
#9b9fa9
文字對比度
6.37:1AA
強調色對比度
8.09:1最低 6.26
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
❯

Astrodark 的設定檔

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

Astrodark

存到 ~/.config/ghostty/themes/Astrodark,再在 config 或 config.ghostty 裡寫 theme = Astrodark

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

palette = 0=#111317
palette = 1=#f8747e
palette = 2=#75ad47
palette = 3=#d09214
palette = 4=#50a4e9
palette = 5=#cc83e3
palette = 6=#00b298
palette = 7=#adb0bb
palette = 8=#576176
palette = 9=#faa5ab
palette = 10=#a5cd84
palette = 11=#efbd58
palette = 12=#8dc3f1
palette = 13=#deaeed
palette = 14=#27ffdf
palette = 15=#caccd3
background = #1a1d23
foreground = #9b9fa9
cursor-color = #caccd3
cursor-text = #1a1d23
selection-background = #373a41
selection-foreground = #9b9fa9

Astrodark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)—
前景色foreground#9b9fa9rgb(155 159 169)hsl(223 8% 64%)oklch(70.2% 0.015 268.4)6.37 AA
游標cursor#caccd3rgb(202 204 211)hsl(227 9% 81%)oklch(84.6% 0.010 273.3)10.52 AAA
游標文字cursorText#1a1d23rgb(26 29 35)hsl(220 15% 12%)oklch(23.0% 0.012 264.3)1.00 低於 AA
選取範圍selection#373a41rgb(55 58 65)hsl(222 8% 24%)oklch(34.8% 0.013 267.2)1.48 低於 AA
選取文字selectionText#9b9fa9rgb(155 159 169)hsl(223 8% 64%)oklch(70.2% 0.015 268.4)6.37 AA
黑color0#111317rgb(17 19 23)hsl(220 15% 8%)oklch(18.6% 0.009 264.3)1.10 低於 AA
紅color1#f8747ergb(248 116 126)hsl(355 90% 71%)oklch(71.7% 0.162 17.4)6.26 AA
綠color2#75ad47rgb(117 173 71)hsl(93 42% 48%)oklch(68.7% 0.147 133.1)6.29 AA
黃color3#d09214rgb(208 146 20)hsl(40 82% 45%)oklch(70.3% 0.143 77.4)6.27 AA
藍color4#50a4e9rgb(80 164 233)hsl(207 78% 61%)oklch(69.6% 0.130 246.0)6.29 AA
洋紅color5#cc83e3rgb(204 131 227)hsl(286 63% 70%)oklch(72.0% 0.155 317.8)6.37 AA
青color6#00b298rgb(0 178 152)hsl(171 100% 35%)oklch(68.3% 0.126 177.3)6.29 AA
白color7#adb0bbrgb(173 176 187)hsl(227 9% 71%)oklch(75.8% 0.016 273.8)7.80 AAA
亮黑color8#576176rgb(87 97 118)hsl(221 15% 40%)oklch(49.2% 0.036 265.0)2.71 低於 AA
亮紅color9#faa5abrgb(250 165 171)hsl(356 89% 81%)oklch(80.7% 0.101 14.9)8.87 AAA
亮綠color10#a5cd84rgb(165 205 132)hsl(93 42% 66%)oklch(80.2% 0.107 131.8)9.38 AAA
亮黃color11#efbd58rgb(239 189 88)hsl(40 83% 64%)oklch(82.4% 0.131 82.6)9.72 AAA
亮藍color12#8dc3f1rgb(141 195 241)hsl(208 78% 75%)oklch(79.6% 0.087 244.9)9.01 AAA
亮洋紅color13#deaeedrgb(222 174 237)hsl(286 64% 81%)oklch(81.5% 0.101 318.0)9.15 AAA
亮青color14#27ffdfrgb(39 255 223)hsl(171 100% 58%)oklch(89.8% 0.159 178.9)13.23 AAA
亮白color15#caccd3rgb(202 204 211)hsl(227 9% 81%)oklch(84.6% 0.010 273.3)10.52 AAA

關於 Astrodark

Astrodark 採用冷色調的深色背景(#1a1d23),預設前景色為 #9b9fa9。內文的 WCAG 對比度為 6.37:1(AA),12 種 ANSI 彩色槽位平均對比度 8.09:1,最低 6.26:1。

色票整體色彩彩度適中,其中紅色為 #f8747e、綠色為 #75ad47、藍色為 #50a4e9、洋紅為 #cc83e3。

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

與 Astrodark 相似的配色

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