跳到主要內容

Nachtschicht

Nachtschicht 是一套深色終端機配色,背景色 #17191d,文字色 #e8eaed,對比度 14.6:1

取得設定檔
背景色
#17191d
前景色
#e8eaed
文字對比度
14.60:1AAA
強調色對比度
8.35:1最低 4.50
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
❯

Nachtschicht 的設定檔

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

Nachtschicht

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

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

palette = 0=#0e1012
palette = 1=#e5484d
palette = 2=#33d17a
palette = 3=#e3b341
palette = 4=#4d7cfe
palette = 5=#c86ad8
palette = 6=#3fc8b0
palette = 7=#c9cfd6
palette = 8=#9da4af
palette = 9=#ef8f92
palette = 10=#76e0a5
palette = 11=#edcf88
palette = 12=#9eb8fe
palette = 13=#e0abe9
palette = 14=#7edaca
palette = 15=#e8eaed
background = #17191d
foreground = #e8eaed
cursor-color = #e3b341
cursor-text = #17191d
selection-background = #36393c
selection-foreground = #e8eaed

Nachtschicht 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#17191drgb(23 25 29)hsl(220 12% 10%)oklch(21.3% 0.008 264.4)—
前景色foreground#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)14.60 AAA
光標cursor#e3b341rgb(227 179 65)hsl(42 74% 57%)oklch(79.0% 0.139 85.2)9.04 AAA
光標文字cursorText#17191drgb(23 25 29)hsl(220 12% 10%)oklch(21.3% 0.008 264.4)1.00 低於 AA
選取範圍selection#36393crgb(54 57 60)hsl(210 5% 22%)oklch(34.3% 0.007 248.0)1.51 低於 AA
選取文字selectionText#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)14.60 AAA
黑color0#0e1012rgb(14 16 18)hsl(210 13% 6%)oklch(17.2% 0.005 248.1)1.08 低於 AA
紅color1#e5484drgb(229 72 77)hsl(358 75% 59%)oklch(62.6% 0.193 23.0)4.50 AA 大字體
綠color2#33d17argb(51 209 122)hsl(147 63% 51%)oklch(76.1% 0.178 153.6)8.83 AAA
黃color3#e3b341rgb(227 179 65)hsl(42 74% 57%)oklch(79.0% 0.139 85.2)9.04 AAA
藍color4#4d7cfergb(77 124 254)hsl(224 99% 65%)oklch(62.3% 0.200 265.8)4.72 AA
洋紅color5#c86ad8rgb(200 106 216)hsl(291 59% 63%)oklch(67.3% 0.182 321.6)5.46 AA
青color6#3fc8b0rgb(63 200 176)hsl(169 55% 52%)oklch(75.4% 0.121 178.6)8.46 AAA
白color7#c9cfd6rgb(201 207 214)hsl(212 14% 81%)oklch(85.2% 0.012 252.1)11.21 AAA
亮黑color8#9da4afrgb(157 164 175)hsl(217 10% 65%)oklch(71.7% 0.018 259.4)7.01 AAA
亮紅color9#ef8f92rgb(239 143 146)hsl(358 75% 75%)oklch(75.1% 0.117 18.2)7.55 AAA
亮綠color10#76e0a5rgb(118 224 165)hsl(147 63% 67%)oklch(82.7% 0.130 157.5)10.87 AAA
亮黃color11#edcf88rgb(237 207 136)hsl(42 74% 73%)oklch(86.4% 0.096 87.5)11.63 AAA
亮藍color12#9eb8fergb(158 184 254)hsl(224 98% 81%)oklch(78.9% 0.104 268.3)9.00 AAA
亮洋紅color13#e0abe9rgb(224 171 233)hsl(291 58% 79%)oklch(81.0% 0.103 321.5)9.36 AAA
亮青color14#7edacargb(126 218 202)hsl(170 55% 67%)oklch(82.6% 0.092 181.5)10.70 AAA
亮白color15#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)14.60 AAA

關於 Nachtschicht

Nachtschicht 採用中性色調的深色背景(#17191d),預設前景色為 #e8eaed。正文的 WCAG 對比度為 14.60:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.35:1,最低 4.50:1。

色板整體色彩飽和度適中,其中紅色為 #e5484d、綠色為 #33d17a、藍色為 #4d7cfe、洋紅為 #c86ad8。

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

與 Nachtschicht 相似的配色

資料來源:iTerm2 Color Schemes (MIT)