跳到主要內容

Foxnightly

Foxnightly 是一套深色終端機配色,背景色 #2a2a2e,文字色 #d7d7db,對比度 10.0:1

取得設定檔
背景色
#2a2a2e
前景色
#d7d7db
文字對比度
9.96:1AAA
強調色對比度
4.94:1最低 2.17
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
❯

Foxnightly 的設定檔

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

Foxnightly

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

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

palette = 0=#2a2a2e
palette = 1=#b98eff
palette = 2=#ff7de9
palette = 3=#729fcf
palette = 4=#66a05b
palette = 5=#75507b
palette = 6=#acacae
palette = 7=#ffffff
palette = 8=#a40000
palette = 9=#bf4040
palette = 10=#66a05b
palette = 11=#ffb86c
palette = 12=#729fcf
palette = 13=#8f5902
palette = 14=#c4a000
palette = 15=#5c3566
background = #2a2a2e
foreground = #d7d7db
cursor-color = #d7d7db
cursor-text = #2a2a2e
selection-background = #515155
selection-foreground = #d7d7db

Foxnightly 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2a2a2ergb(42 42 46)hsl(240 5% 17%)oklch(28.7% 0.007 285.9)—
前景色foreground#d7d7dbrgb(215 215 219)hsl(240 5% 85%)oklch(88.0% 0.005 286.3)9.96 AAA
光標cursor#d7d7dbrgb(215 215 219)hsl(240 5% 85%)oklch(88.0% 0.005 286.3)9.96 AAA
光標文字cursorText#2a2a2ergb(42 42 46)hsl(240 5% 17%)oklch(28.7% 0.007 285.9)1.00 低於 AA
選取範圍selection#515155rgb(81 81 85)hsl(240 2% 33%)oklch(43.6% 0.006 286.1)1.81 低於 AA
選取文字selectionText#d7d7dbrgb(215 215 219)hsl(240 5% 85%)oklch(88.0% 0.005 286.3)9.96 AAA
黑color0#2a2a2ergb(42 42 46)hsl(240 5% 17%)oklch(28.7% 0.007 285.9)1.00 低於 AA
紅color1#b98effrgb(185 142 255)hsl(263 100% 78%)oklch(73.3% 0.163 300.0)5.70 AA
綠color2#ff7de9rgb(255 125 233)hsl(310 100% 75%)oklch(77.4% 0.201 334.2)6.37 AA
黃color3#729fcfrgb(114 159 207)hsl(211 49% 63%)oklch(68.9% 0.086 250.7)5.16 AA
藍color4#66a05brgb(102 160 91)hsl(110 27% 49%)oklch(64.8% 0.116 140.5)4.59 AA
洋紅color5#75507brgb(117 80 123)hsl(292 21% 40%)oklch(48.8% 0.080 321.8)2.17 低於 AA
青color6#acacaergb(172 172 174)hsl(240 1% 68%)oklch(74.5% 0.003 286.3)6.31 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.29 AAA
亮黑color8#a40000rgb(164 0 0)hsl(0 100% 32%)oklch(45.1% 0.185 29.2)1.76 低於 AA
亮紅color9#bf4040rgb(191 64 64)hsl(0 50% 50%)oklch(55.2% 0.163 24.2)2.74 低於 AA
亮綠color10#66a05brgb(102 160 91)hsl(110 27% 49%)oklch(64.8% 0.116 140.5)4.59 AA
亮黃color11#ffb86crgb(255 184 108)hsl(31 100% 71%)oklch(83.4% 0.124 66.6)8.39 AAA
亮藍color12#729fcfrgb(114 159 207)hsl(211 49% 63%)oklch(68.9% 0.086 250.7)5.16 AA
亮洋紅color13#8f5902rgb(143 89 2)hsl(37 97% 28%)oklch(51.2% 0.111 69.1)2.45 低於 AA
亮青color14#c4a000rgb(196 160 0)hsl(49 100% 38%)oklch(71.8% 0.147 92.6)5.70 AA
亮白color15#5c3566rgb(92 53 102)hsl(288 32% 30%)oklch(39.8% 0.092 319.2)1.47 低於 AA

關於 Foxnightly

Foxnightly 採用中性色調的深色背景(#2a2a2e),預設前景色為 #d7d7db。正文的 WCAG 對比度為 9.96:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.94:1,最低 2.17:1。

色板整體色彩飽和度適中,其中紅色為 #b98eff、綠色為 #ff7de9、藍色為 #66a05b、洋紅為 #75507b。

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

與 Foxnightly 相似的配色

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