跳到正文

Neovim Light

Neovim Light 是一套浅色终端配色,背景色 #e0e2ea,文字色 #14161b,对比度 14.0:1

获取配置
背景色
#e0e2ea
前景色
#14161b
文字对比度
13.99:1AAA
强调色对比度
7.92:1最低 4.39
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
❯

Neovim Light 的配置文件

16 种格式,都从同一份色板生成

Neovim Light

存到 ~/.config/ghostty/themes/Neovim Light,再在 config 或 config.ghostty 里写 theme = Neovim Light

更多 Ghostty 配色
原始文件
# Theme: Neovim Light (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/neovim-light?format=ghostty

palette = 0=#e0e2ea
palette = 1=#590008
palette = 2=#005523
palette = 3=#6b5300
palette = 4=#004c73
palette = 5=#470045
palette = 6=#007373
palette = 7=#14161b
palette = 8=#4f5258
palette = 9=#590008
palette = 10=#005523
palette = 11=#6b5300
palette = 12=#004c73
palette = 13=#470045
palette = 14=#007373
palette = 15=#07080d
background = #e0e2ea
foreground = #14161b
cursor-color = #14161b
cursor-text = #e0e2ea
selection-background = #a7a9b0
selection-foreground = #14161b

Neovim Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#e0e2eargb(224 226 234)hsl(228 19% 90%)oklch(91.4% 0.011 274.9)—
前景色foreground#14161brgb(20 22 27)hsl(223 15% 9%)oklch(20.0% 0.010 268.2)13.99 AAA
光标cursor#14161brgb(20 22 27)hsl(223 15% 9%)oklch(20.0% 0.010 268.2)13.99 AAA
光标文字cursorText#e0e2eargb(224 226 234)hsl(228 19% 90%)oklch(91.4% 0.011 274.9)1.00 低于 AA
选区selection#a7a9b0rgb(167 169 176)hsl(227 5% 67%)oklch(73.5% 0.010 273.3)1.82 低于 AA
选区文字selectionText#14161brgb(20 22 27)hsl(223 15% 9%)oklch(20.0% 0.010 268.2)13.99 AAA
黑color0#e0e2eargb(224 226 234)hsl(228 19% 90%)oklch(91.4% 0.011 274.9)1.00 低于 AA
红color1#590008rgb(89 0 8)hsl(355 100% 17%)oklch(29.2% 0.119 25.0)11.37 AAA
绿color2#005523rgb(0 85 35)hsl(145 100% 17%)oklch(39.3% 0.109 149.8)6.99 AA
黄color3#6b5300rgb(107 83 0)hsl(47 100% 21%)oklch(45.4% 0.093 89.3)5.67 AA
蓝color4#004c73rgb(0 76 115)hsl(200 100% 23%)oklch(39.8% 0.092 240.4)7.12 AAA
品红color5#470045rgb(71 0 69)hsl(302 100% 14%)oklch(27.8% 0.127 329.7)11.99 AAA
青color6#007373rgb(0 115 115)hsl(180 100% 23%)oklch(50.3% 0.086 194.8)4.39 AA 大字号
白color7#14161brgb(20 22 27)hsl(223 15% 9%)oklch(20.0% 0.010 268.2)13.99 AAA
亮黑color8#4f5258rgb(79 82 88)hsl(220 5% 33%)oklch(43.8% 0.011 264.5)6.06 AA
亮红color9#590008rgb(89 0 8)hsl(355 100% 17%)oklch(29.2% 0.119 25.0)11.37 AAA
亮绿color10#005523rgb(0 85 35)hsl(145 100% 17%)oklch(39.3% 0.109 149.8)6.99 AA
亮黄color11#6b5300rgb(107 83 0)hsl(47 100% 21%)oklch(45.4% 0.093 89.3)5.67 AA
亮蓝color12#004c73rgb(0 76 115)hsl(200 100% 23%)oklch(39.8% 0.092 240.4)7.12 AAA
亮品红color13#470045rgb(71 0 69)hsl(302 100% 14%)oklch(27.8% 0.127 329.7)11.99 AAA
亮青color14#007373rgb(0 115 115)hsl(180 100% 23%)oklch(50.3% 0.086 194.8)4.39 AA 大字号
亮白color15#07080drgb(7 8 13)hsl(230 30% 4%)oklch(13.6% 0.012 274.6)15.47 AAA

关于 Neovim Light

Neovim Light 采用中性色调的浅色背景(#e0e2ea),默认前景色为 #14161b。正文的 WCAG 对比度为 13.99:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.92:1,最低 4.39:1。

色板整体色彩饱和度适中,其中红色为 #590008、绿色为 #005523、蓝色为 #004c73、品红为 #470045。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Neovim Light 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)