跳到主要內容

Duskfox

Duskfox 是一套深色終端機配色(冷色),背景色 #232136,文字色 #e0def4,對比度 11.9:1

取得設定檔
背景色
#232136
前景色
#e0def4
文字對比度
11.86:1AAA
強調色對比度
7.96:1最低 5.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
❯

Duskfox 的設定檔

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

Duskfox

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

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

palette = 0=#393552
palette = 1=#eb6f92
palette = 2=#a3be8c
palette = 3=#f6c177
palette = 4=#569fba
palette = 5=#c4a7e7
palette = 6=#9ccfd8
palette = 7=#e0def4
palette = 8=#47407d
palette = 9=#f083a2
palette = 10=#b1d196
palette = 11=#f9cb8c
palette = 12=#65b1cd
palette = 13=#ccb1ed
palette = 14=#a6dae3
palette = 15=#e2e0f7
background = #232136
foreground = #e0def4
cursor-color = #e0def4
cursor-text = #232136
selection-background = #433c59
selection-foreground = #e0def4

Duskfox 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#232136rgb(35 33 54)hsl(246 24% 17%)oklch(26.0% 0.039 287.7)—
前景色foreground#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)11.86 AAA
光標cursor#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)11.86 AAA
光標文字cursorText#232136rgb(35 33 54)hsl(246 24% 17%)oklch(26.0% 0.039 287.7)1.00 低於 AA
選取範圍selection#433c59rgb(67 60 89)hsl(254 19% 29%)oklch(37.6% 0.050 295.0)1.51 低於 AA
選取文字selectionText#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)11.86 AAA
黑color0#393552rgb(57 53 82)hsl(248 21% 26%)oklch(34.6% 0.050 289.8)1.34 低於 AA
紅color1#eb6f92rgb(235 111 146)hsl(343 76% 68%)oklch(69.8% 0.156 4.2)5.38 AA
綠color2#a3be8crgb(163 190 140)hsl(92 28% 65%)oklch(76.8% 0.075 131.1)7.67 AAA
黃color3#f6c177rgb(246 193 119)hsl(35 88% 72%)oklch(84.3% 0.110 74.6)9.55 AAA
藍color4#569fbargb(86 159 186)hsl(196 42% 53%)oklch(66.6% 0.083 224.4)5.26 AA
洋紅color5#c4a7e7rgb(196 167 231)hsl(267 57% 78%)oklch(77.6% 0.095 305.0)7.47 AAA
青color6#9ccfd8rgb(156 207 216)hsl(189 43% 73%)oklch(82.2% 0.054 209.6)9.19 AAA
白color7#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)11.86 AAA
亮黑color8#47407drgb(71 64 125)hsl(247 32% 37%)oklch(41.0% 0.100 286.4)1.71 低於 AA
亮紅color9#f083a2rgb(240 131 162)hsl(343 78% 73%)oklch(73.8% 0.137 2.8)6.31 AA
亮綠color10#b1d196rgb(177 209 150)hsl(93 39% 70%)oklch(82.2% 0.087 131.2)9.26 AAA
亮黃color11#f9cb8crgb(249 203 140)hsl(35 90% 76%)oklch(86.8% 0.095 74.7)10.39 AAA
亮藍color12#65b1cdrgb(101 177 205)hsl(196 51% 60%)oklch(72.2% 0.086 224.0)6.50 AA
亮洋紅color13#ccb1edrgb(204 177 237)hsl(267 63% 81%)oklch(80.4% 0.088 305.0)8.25 AAA
亮青color14#a6dae3rgb(166 218 227)hsl(189 52% 77%)oklch(85.5% 0.055 209.3)10.25 AAA
亮白color15#e2e0f7rgb(226 224 247)hsl(245 59% 92%)oklch(91.5% 0.031 289.8)12.10 AAA

關於 Duskfox

Duskfox 採用冷色調的深色背景(#232136),預設前景色為 #e0def4。正文的 WCAG 對比度為 11.86:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.96:1,最低 5.26:1。

色板整體色彩飽和度適中,其中紅色為 #eb6f92、綠色為 #a3be8c、藍色為 #569fba、洋紅為 #c4a7e7。該配色歸屬 Nightfox 主題系列。

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

與 Duskfox 相似的配色

資料來源:iTerm2 Color Schemes (MIT)