跳到主要內容

Nightfall

Nightfall 是一套深色終端機配色(暖色),背景色 #1a140e,文字色 #f6e8d0,對比度 15.1:1

取得設定檔
背景色
#1a140e
前景色
#f6e8d0
文字對比度
15.10:1AAA
強調色對比度
8.42: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
❯

Nightfall 的設定檔

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

Nightfall

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

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

palette = 0=#3a2f24
palette = 1=#e87555
palette = 2=#83b96f
palette = 3=#e8ad3f
palette = 4=#5f9ed8
palette = 5=#bd6fae
palette = 6=#4dbeb1
palette = 7=#d9c09a
palette = 8=#5b4a3a
palette = 9=#f28b6b
palette = 10=#a8d07d
palette = 11=#ffd166
palette = 12=#79b5e8
palette = 13=#eba1d9
palette = 14=#66d0c4
palette = 15=#fff2d6
background = #1a140e
foreground = #f6e8d0
cursor-color = #d4a85c
cursor-text = #1a140e
selection-background = #3b2a1a
selection-foreground = #f6e8d0

Nightfall 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a140ergb(26 20 14)hsl(30 30% 8%)oklch(19.7% 0.015 66.8)—
前景色foreground#f6e8d0rgb(246 232 208)hsl(38 68% 89%)oklch(93.6% 0.035 81.3)15.10 AAA
光標cursor#d4a85crgb(212 168 92)hsl(38 58% 60%)oklch(75.6% 0.108 79.6)8.31 AAA
光標文字cursorText#1a140ergb(26 20 14)hsl(30 30% 8%)oklch(19.7% 0.015 66.8)1.00 低於 AA
選取範圍selection#3b2a1argb(59 42 26)hsl(29 39% 17%)oklch(30.1% 0.037 64.0)1.33 低於 AA
選取文字selectionText#f6e8d0rgb(246 232 208)hsl(38 68% 89%)oklch(93.6% 0.035 81.3)15.10 AAA
黑color0#3a2f24rgb(58 47 36)hsl(30 23% 18%)oklch(31.4% 0.025 66.7)1.40 低於 AA
紅color1#e87555rgb(232 117 85)hsl(13 76% 62%)oklch(68.9% 0.150 36.5)6.18 AA
綠color2#83b96frgb(131 185 111)hsl(104 35% 58%)oklch(73.0% 0.117 137.6)7.94 AAA
黃color3#e8ad3frgb(232 173 63)hsl(39 79% 58%)oklch(78.4% 0.140 79.3)9.11 AAA
藍color4#5f9ed8rgb(95 158 216)hsl(209 61% 61%)oklch(68.1% 0.108 247.8)6.41 AA
洋紅color5#bd6faergb(189 111 174)hsl(312 37% 59%)oklch(64.8% 0.127 334.4)5.26 AA
青color6#4dbeb1rgb(77 190 177)hsl(173 47% 52%)oklch(73.3% 0.104 184.8)8.10 AAA
白color7#d9c09argb(217 192 154)hsl(36 45% 73%)oklch(81.9% 0.058 78.1)10.39 AAA
亮黑color8#5b4a3argb(91 74 58)hsl(29 22% 29%)oklch(42.2% 0.034 65.0)2.16 低於 AA
亮紅color9#f28b6brgb(242 139 107)hsl(14 84% 68%)oklch(74.0% 0.134 38.0)7.55 AAA
亮綠color10#a8d07drgb(168 208 125)hsl(89 47% 65%)oklch(80.9% 0.118 129.7)10.42 AAA
亮黃color11#ffd166rgb(255 209 102)hsl(42 100% 70%)oklch(88.0% 0.135 86.1)12.66 AAA
亮藍color12#79b5e8rgb(121 181 232)hsl(208 71% 69%)oklch(75.2% 0.097 245.2)8.33 AAA
亮洋紅color13#eba1d9rgb(235 161 217)hsl(315 65% 78%)oklch(79.8% 0.113 335.8)9.24 AAA
亮青color14#66d0c4rgb(102 208 196)hsl(173 53% 61%)oklch(79.1% 0.100 185.6)9.90 AAA
亮白color15#fff2d6rgb(255 242 214)hsl(41 100% 92%)oklch(96.4% 0.039 86.1)16.45 AAA

關於 Nightfall

Nightfall 採用暖色調的深色背景(#1a140e),預設前景色為 #f6e8d0。正文的 WCAG 對比度為 15.10:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.42:1,最低 5.26:1。

色板整體色彩飽和度適中,其中紅色為 #e87555、綠色為 #83b96f、藍色為 #5f9ed8、洋紅為 #bd6fae。

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

與 Nightfall 相似的配色

資料來源:iTerm2 Color Schemes (MIT)