跳到主要內容

Nvim Dark

Nvim Dark 是一套深色終端機配色(粉彩),背景色 #14161b,文字色 #e0e2ea,對比度 14.0:1

取得設定檔
背景色
#14161b
前景色
#e0e2ea
文字對比度
13.99:1AAA
強調色對比度
13.33:1最低 11.63
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
❯

Nvim Dark 的設定檔

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

Nvim Dark

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

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

palette = 0=#07080d
palette = 1=#ffc0b9
palette = 2=#b3f6c0
palette = 3=#fce094
palette = 4=#a6dbff
palette = 5=#ffcaff
palette = 6=#8cf8f7
palette = 7=#eef1f8
palette = 8=#4f5258
palette = 9=#ffc0b9
palette = 10=#b3f6c0
palette = 11=#fce094
palette = 12=#a6dbff
palette = 13=#ffcaff
palette = 14=#8cf8f7
palette = 15=#eef1f8
background = #14161b
foreground = #e0e2ea
cursor-color = #9b9ea4
cursor-text = #e0e2ea
selection-background = #4f5258
selection-foreground = #e0e2ea

Nvim Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#14161brgb(20 22 27)hsl(223 15% 9%)oklch(20.0% 0.010 268.2)—
前景色foreground#e0e2eargb(224 226 234)hsl(228 19% 90%)oklch(91.4% 0.011 274.9)13.99 AAA
游標cursor#9b9ea4rgb(155 158 164)hsl(220 5% 63%)oklch(69.9% 0.009 264.5)6.74 AA
游標文字cursorText#e0e2eargb(224 226 234)hsl(228 19% 90%)oklch(91.4% 0.011 274.9)13.99 AAA
選取範圍selection#4f5258rgb(79 82 88)hsl(220 5% 33%)oklch(43.8% 0.011 264.5)2.31 低於 AA
選取文字selectionText#e0e2eargb(224 226 234)hsl(228 19% 90%)oklch(91.4% 0.011 274.9)13.99 AAA
黑color0#07080drgb(7 8 13)hsl(230 30% 4%)oklch(13.6% 0.012 274.6)1.11 低於 AA
紅color1#ffc0b9rgb(255 192 185)hsl(6 100% 86%)oklch(86.3% 0.074 25.9)11.63 AAA
綠color2#b3f6c0rgb(179 246 192)hsl(132 79% 83%)oklch(91.4% 0.099 150.0)14.53 AAA
黃color3#fce094rgb(252 224 148)hsl(44 95% 78%)oklch(91.3% 0.100 90.0)13.99 AAA
藍color4#a6dbffrgb(166 219 255)hsl(204 100% 83%)oklch(86.7% 0.074 238.4)12.24 AAA
洋紅color5#ffcaffrgb(255 202 255)hsl(300 100% 90%)oklch(90.2% 0.091 326.3)13.05 AAA
青color6#8cf8f7rgb(140 248 247)hsl(179 89% 76%)oklch(91.4% 0.100 194.8)14.55 AAA
白color7#eef1f8rgb(238 241 248)hsl(222 42% 95%)oklch(95.8% 0.010 267.4)16.01 AAA
亮黑color8#4f5258rgb(79 82 88)hsl(220 5% 33%)oklch(43.8% 0.011 264.5)2.31 低於 AA
亮紅color9#ffc0b9rgb(255 192 185)hsl(6 100% 86%)oklch(86.3% 0.074 25.9)11.63 AAA
亮綠color10#b3f6c0rgb(179 246 192)hsl(132 79% 83%)oklch(91.4% 0.099 150.0)14.53 AAA
亮黃color11#fce094rgb(252 224 148)hsl(44 95% 78%)oklch(91.3% 0.100 90.0)13.99 AAA
亮藍color12#a6dbffrgb(166 219 255)hsl(204 100% 83%)oklch(86.7% 0.074 238.4)12.24 AAA
亮洋紅color13#ffcaffrgb(255 202 255)hsl(300 100% 90%)oklch(90.2% 0.091 326.3)13.05 AAA
亮青color14#8cf8f7rgb(140 248 247)hsl(179 89% 76%)oklch(91.4% 0.100 194.8)14.55 AAA
亮白color15#eef1f8rgb(238 241 248)hsl(222 42% 95%)oklch(95.8% 0.010 267.4)16.01 AAA

關於 Nvim Dark

Nvim Dark 採用中性色調的深色背景(#14161b),預設前景色為 #e0e2ea。內文的 WCAG 對比度為 13.99:1(AAA),12 種 ANSI 彩色槽位平均對比度 13.33:1,最低 11.63:1。

色票整體色彩彩度適中,其中紅色為 #ffc0b9、綠色為 #b3f6c0、藍色為 #a6dbff、洋紅為 #ffcaff。

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

與 Nvim Dark 相似的配色

資料來源:iTerm2 Color Schemes (Apache-2.0)