跳到主要內容

Predawn

Predawn 是一套深色終端機配色,背景色 #282828,文字色 #f1f1f1,對比度 13.1:1

取得設定檔
背景色
#282828
前景色
#f1f1f1
文字對比度
13.05:1AAA
強調色對比度
7.62:1最低 2.20
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
❯

Predawn 的設定檔

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

Predawn

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

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

palette = 0=#f18260
palette = 1=#b51a20
palette = 2=#a6cc75
palette = 3=#fed33a
palette = 4=#81b2b1
palette = 5=#eb6c4e
palette = 6=#81b2b1
palette = 7=#eaeaea
palette = 8=#666666
palette = 9=#ff000b
palette = 10=#c4ee94
palette = 11=#e8e06d
palette = 12=#a5ebea
palette = 13=#ef8a50
palette = 14=#a5ebea
palette = 15=#ffffff
background = #282828
foreground = #f1f1f1
cursor-color = #f1f1f1
cursor-text = #282828
selection-background = #545454
selection-foreground = #f1f1f1

Predawn 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)—
前景色foreground#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)13.05 AAA
游標cursor#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)13.05 AAA
游標文字cursorText#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.00 低於 AA
選取範圍selection#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)1.95 低於 AA
選取文字selectionText#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)13.05 AAA
黑color0#f18260rgb(241 130 96)hsl(14 84% 66%)oklch(72.3% 0.145 37.8)5.69 AA
紅color1#b51a20rgb(181 26 32)hsl(358 75% 41%)oklch(49.7% 0.188 26.2)2.20 低於 AA
綠color2#a6cc75rgb(166 204 117)hsl(86 46% 63%)oklch(79.8% 0.121 128.2)8.08 AAA
黃color3#fed33argb(254 211 58)hsl(47 99% 61%)oklch(88.0% 0.165 92.2)10.25 AAA
藍color4#81b2b1rgb(129 178 177)hsl(179 24% 60%)oklch(72.9% 0.052 194.5)6.27 AA
洋紅color5#eb6c4ergb(235 108 78)hsl(11 80% 61%)oklch(67.9% 0.164 34.6)4.77 AA
青color6#81b2b1rgb(129 178 177)hsl(179 24% 60%)oklch(72.9% 0.052 194.5)6.27 AA
白color7#eaeaeargb(234 234 234)hsl(0 0% 92%)oklch(93.7% 0.000 0)12.25 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.57 低於 AA
亮紅color9#ff000brgb(255 0 11)hsl(357 100% 50%)oklch(62.8% 0.257 28.6)3.69 AA 大字級
亮綠color10#c4ee94rgb(196 238 148)hsl(88 73% 76%)oklch(89.9% 0.124 129.0)11.24 AAA
亮黃color11#e8e06drgb(232 224 109)hsl(56 73% 67%)oklch(89.0% 0.137 105.2)10.75 AAA
亮藍color12#a5ebeargb(165 235 234)hsl(179 64% 78%)oklch(89.4% 0.070 194.9)11.00 AAA
亮洋紅color13#ef8a50rgb(239 138 80)hsl(22 83% 63%)oklch(73.1% 0.143 49.0)5.91 AA
亮青color14#a5ebeargb(165 235 234)hsl(179 64% 78%)oklch(89.4% 0.070 194.9)11.00 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.74 AAA

關於 Predawn

Predawn 採用中性色調的深色背景(#282828),預設前景色為 #f1f1f1。內文的 WCAG 對比度為 13.05:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.62:1,最低 2.20:1。

色票整體色彩彩度適中,其中紅色為 #b51a20、綠色為 #a6cc75、藍色為 #81b2b1、洋紅為 #eb6c4e。

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

與 Predawn 相似的配色

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