跳到主要內容

Dayfox

Dayfox 是一套淺色終端機配色,背景色 #f6f2ee,文字色 #3d2b5a,對比度 11.2:1

取得設定檔
背景色
#f6f2ee
前景色
#3d2b5a
文字對比度
11.15:1AAA
強調色對比度
5.06:1最低 3.42
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
❯

Dayfox 的設定檔

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

Dayfox

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

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

palette = 0=#352c24
palette = 1=#a5222f
palette = 2=#396847
palette = 3=#ac5402
palette = 4=#2848a9
palette = 5=#6e33ce
palette = 6=#287980
palette = 7=#f2e9e1
palette = 8=#534c45
palette = 9=#b3434e
palette = 10=#577f63
palette = 11=#b86e28
palette = 12=#4863b6
palette = 13=#8452d5
palette = 14=#488d93
palette = 15=#f4ece6
background = #f6f2ee
foreground = #3d2b5a
cursor-color = #3d2b5a
cursor-text = #f6f2ee
selection-background = #e7d2be
selection-foreground = #3d2b5a

Dayfox 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f6f2eergb(246 242 238)hsl(30 31% 95%)oklch(96.3% 0.007 67.7)—
前景色foreground#3d2b5argb(61 43 90)hsl(263 35% 26%)oklch(33.4% 0.082 299.6)11.15 AAA
游標cursor#3d2b5argb(61 43 90)hsl(263 35% 26%)oklch(33.4% 0.082 299.6)11.15 AAA
游標文字cursorText#f6f2eergb(246 242 238)hsl(30 31% 95%)oklch(96.3% 0.007 67.7)1.00 低於 AA
選取範圍selection#e7d2bergb(231 210 190)hsl(29 46% 83%)oklch(87.6% 0.036 66.0)1.31 低於 AA
選取文字selectionText#3d2b5argb(61 43 90)hsl(263 35% 26%)oklch(33.4% 0.082 299.6)11.15 AAA
黑color0#352c24rgb(53 44 36)hsl(28 19% 17%)oklch(30.0% 0.019 63.6)12.27 AAA
紅color1#a5222frgb(165 34 47)hsl(354 66% 39%)oklch(47.4% 0.166 21.6)6.57 AA
綠color2#396847rgb(57 104 71)hsl(138 29% 32%)oklch(47.4% 0.075 152.3)5.81 AA
黃color3#ac5402rgb(172 84 2)hsl(29 98% 34%)oklch(54.5% 0.138 52.6)4.69 AA
藍color4#2848a9rgb(40 72 169)hsl(225 62% 41%)oklch(43.9% 0.160 266.0)7.28 AAA
洋紅color5#6e33cergb(110 51 206)hsl(263 61% 50%)oklch(49.2% 0.220 294.0)6.23 AA
青color6#287980rgb(40 121 128)hsl(185 52% 33%)oklch(53.1% 0.077 203.3)4.56 AA
白color7#f2e9e1rgb(242 233 225)hsl(28 40% 92%)oklch(93.9% 0.015 64.3)1.08 低於 AA
亮黑color8#534c45rgb(83 76 69)hsl(30 9% 30%)oklch(42.1% 0.015 67.4)7.58 AAA
亮紅color9#b3434ergb(179 67 78)hsl(354 46% 48%)oklch(53.9% 0.146 17.6)4.92 AA
亮綠color10#577f63rgb(87 127 99)hsl(138 19% 42%)oklch(55.8% 0.062 153.5)4.08 AA 大字級
亮黃color11#b86e28rgb(184 110 40)hsl(29 64% 44%)oklch(60.8% 0.124 59.6)3.56 AA 大字級
亮藍color12#4863b6rgb(72 99 182)hsl(225 43% 50%)oklch(52.1% 0.134 268.0)5.05 AA
亮洋紅color13#8452d5rgb(132 82 213)hsl(263 61% 58%)oklch(56.1% 0.193 297.4)4.54 AA
亮青color14#488d93rgb(72 141 147)hsl(185 34% 43%)oklch(60.1% 0.070 202.9)3.42 AA 大字級
亮白color15#f4ece6rgb(244 236 230)hsl(26 39% 93%)oklch(94.8% 0.012 59.6)1.05 低於 AA

關於 Dayfox

Dayfox 採用中性色調的淺色背景(#f6f2ee),預設前景色為 #3d2b5a。內文的 WCAG 對比度為 11.15:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.06:1,最低 3.42:1。

色票整體色彩彩度適中,其中紅色為 #a5222f、綠色為 #396847、藍色為 #2848a9、洋紅為 #6e33ce。此配色歸屬 Nightfox 主題系列。

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

與 Dayfox 相似的配色

資料來源:iTerm2 Color Schemes (MIT)