跳到主要內容

Dawn

Dawn 是一套深色終端機配色(柔和、低彩度),背景色 #181b20,文字色 #9b9081,對比度 5.5:1

取得設定檔
背景色
#181b20
前景色
#9b9081
文字對比度
5.51:1AA
強調色對比度
2.62:1最低 2.22
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
❯

Dawn 的設定檔

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

Dawn

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

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

palette = 0=#353535
palette = 1=#744b40
palette = 2=#6d6137
palette = 3=#765636
palette = 4=#61564b
palette = 5=#6b4a49
palette = 6=#435861
palette = 7=#b3b3b3
palette = 8=#5f5f5f
palette = 9=#785850
palette = 10=#6f6749
palette = 11=#776049
palette = 12=#696057
palette = 13=#6f5a59
palette = 14=#525f66
palette = 15=#cdcdcd
background = #181b20
foreground = #9b9081
cursor-color = #9b9081
cursor-text = #181b20
selection-background = #353536
selection-foreground = #9b9081

Dawn 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#181b20rgb(24 27 32)hsl(218 14% 11%)oklch(22.1% 0.011 260.7)—
前景色foreground#9b9081rgb(155 144 129)hsl(35 12% 56%)oklch(65.9% 0.025 75.7)5.51 AA
游標cursor#9b9081rgb(155 144 129)hsl(35 12% 56%)oklch(65.9% 0.025 75.7)5.51 AA
游標文字cursorText#181b20rgb(24 27 32)hsl(218 14% 11%)oklch(22.1% 0.011 260.7)1.00 低於 AA
選取範圍selection#353536rgb(53 53 54)hsl(240 1% 21%)oklch(32.9% 0.002 286.3)1.41 低於 AA
選取文字selectionText#9b9081rgb(155 144 129)hsl(35 12% 56%)oklch(65.9% 0.025 75.7)5.51 AA
黑color0#353535rgb(53 53 53)hsl(0 0% 21%)oklch(32.9% 0.000 0)1.41 低於 AA
紅color1#744b40rgb(116 75 64)hsl(13 29% 35%)oklch(45.6% 0.059 35.7)2.32 低於 AA
綠color2#6d6137rgb(109 97 55)hsl(47 33% 32%)oklch(49.4% 0.062 93.9)2.81 低於 AA
黃color3#765636rgb(118 86 54)hsl(30 37% 34%)oklch(47.9% 0.063 65.4)2.59 低於 AA
藍color4#61564brgb(97 86 75)hsl(30 13% 34%)oklch(46.1% 0.023 67.2)2.42 低於 AA
洋紅color5#6b4a49rgb(107 74 73)hsl(2 19% 35%)oklch(44.5% 0.045 21.0)2.22 低於 AA
青color6#435861rgb(67 88 97)hsl(198 18% 32%)oklch(44.7% 0.030 226.0)2.31 低於 AA
白color7#b3b3b3rgb(179 179 179)hsl(0 0% 70%)oklch(76.7% 0.000 0)8.23 AAA
亮黑color8#5f5f5frgb(95 95 95)hsl(0 0% 37%)oklch(48.5% 0.000 0)2.70 低於 AA
亮紅color9#785850rgb(120 88 80)hsl(12 20% 39%)oklch(49.2% 0.045 34.5)2.72 低於 AA
亮綠color10#6f6749rgb(111 103 73)hsl(47 21% 36%)oklch(51.3% 0.045 95.0)3.05 AA 大字級
亮黃color11#776049rgb(119 96 73)hsl(30 24% 38%)oklch(50.6% 0.046 66.5)2.92 低於 AA
亮藍color12#696057rgb(105 96 87)hsl(30 9% 38%)oklch(49.5% 0.018 67.4)2.80 低於 AA
亮洋紅color13#6f5a59rgb(111 90 89)hsl(3 11% 39%)oklch(48.8% 0.028 21.3)2.70 低於 AA
亮青color14#525f66rgb(82 95 102)hsl(201 11% 36%)oklch(47.7% 0.020 231.3)2.62 低於 AA
亮白color15#cdcdcdrgb(205 205 205)hsl(0 0% 80%)oklch(84.8% 0.000 0)10.86 AAA

關於 Dawn

Dawn 採用中性色調的深色背景(#181b20),預設前景色為 #9b9081。內文的 WCAG 對比度為 5.51:1(AA),12 種 ANSI 彩色槽位平均對比度 2.62:1,最低 2.22:1。

色票整體色彩彩度偏低,其中紅色為 #744b40、綠色為 #6d6137、藍色為 #61564b、洋紅為 #6b4a49。

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

與 Dawn 相似的配色

資料來源:terminal.sexy (MIT)