跳到正文

Vs Code Dark+

Vs Code Dark+ 是一套深色终端配色,背景色 #1e1e1e,文字色 #cccccc,对比度 10.4:1

获取配置
背景色
#1e1e1e
前景色
#cccccc
文字对比度
10.38:1AAA
强调色对比度
7.92:1最低 4.40
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
❯

Vs Code Dark+ 的配置文件

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

Vs Code Dark+

存到 ~/.config/ghostty/themes/Vs Code Dark+,再在 config 或 config.ghostty 里写 theme = Vs Code Dark+

更多 Ghostty 配色
原始文件
# Theme: Vs Code Dark+ (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/vs-code-dark-plus?format=ghostty

palette = 0=#6a787a
palette = 1=#e9653b
palette = 2=#39e9a8
palette = 3=#e5b684
palette = 4=#44aae6
palette = 5=#e17599
palette = 6=#3dd5e7
palette = 7=#c3dde1
palette = 8=#598489
palette = 9=#e65029
palette = 10=#00ff9a
palette = 11=#e89440
palette = 12=#009afb
palette = 13=#ff578f
palette = 14=#5fffff
palette = 15=#d9fbff
background = #1e1e1e
foreground = #cccccc
cursor-color = #cccccc
cursor-text = #1e1e1e
selection-background = #444444
selection-foreground = #cccccc

Vs Code Dark+ 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)10.38 AAA
光标cursor#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)10.38 AAA
光标文字cursorText#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.00 低于 AA
选区selection#444444rgb(68 68 68)hsl(0 0% 27%)oklch(38.7% 0.000 0)1.71 低于 AA
选区文字selectionText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)10.38 AAA
黑color0#6a787argb(106 120 122)hsl(188 7% 45%)oklch(56.2% 0.017 207.1)3.64 AA 大字号
红color1#e9653brgb(233 101 59)hsl(14 80% 57%)oklch(66.4% 0.174 37.9)5.07 AA
绿color2#39e9a8rgb(57 233 168)hsl(158 80% 57%)oklch(83.2% 0.167 162.8)10.63 AAA
黄color3#e5b684rgb(229 182 132)hsl(31 65% 71%)oklch(80.7% 0.085 67.9)9.02 AAA
蓝color4#44aae6rgb(68 170 230)hsl(202 76% 58%)oklch(70.4% 0.128 238.4)6.46 AA
品红color5#e17599rgb(225 117 153)hsl(340 64% 67%)oklch(69.5% 0.139 0.2)5.72 AA
青color6#3dd5e7rgb(61 213 231)hsl(186 78% 57%)oklch(80.3% 0.124 206.8)9.42 AAA
白color7#c3dde1rgb(195 221 225)hsl(188 33% 82%)oklch(88.0% 0.028 207.8)11.71 AAA
亮黑color8#598489rgb(89 132 137)hsl(186 21% 44%)oklch(58.4% 0.048 205.1)4.04 AA 大字号
亮红color9#e65029rgb(230 80 41)hsl(12 79% 53%)oklch(63.2% 0.193 35.2)4.40 AA 大字号
亮绿color10#00ff9argb(0 255 154)hsl(156 100% 50%)oklch(87.9% 0.213 156.2)12.52 AAA
亮黄color11#e89440rgb(232 148 64)hsl(30 79% 58%)oklch(73.8% 0.140 62.2)6.94 AA
亮蓝color12#009afbrgb(0 154 251)hsl(203 100% 49%)oklch(66.9% 0.178 247.5)5.57 AA
亮品红color13#ff578frgb(255 87 143)hsl(340 100% 67%)oklch(69.7% 0.207 3.8)5.57 AA
亮青color14#5fffffrgb(95 255 255)hsl(180 100% 69%)oklch(91.7% 0.132 195.1)13.68 AAA
亮白color15#d9fbffrgb(217 251 255)hsl(186 100% 93%)oklch(96.5% 0.036 205.2)15.24 AAA

关于 Vs Code Dark+

Vs Code Dark+ 采用中性色调的深色背景(#1e1e1e),默认前景色为 #cccccc。正文的 WCAG 对比度为 10.38:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.92:1,最低 4.40:1。

色板整体色彩饱和度适中,其中红色为 #e9653b、绿色为 #39e9a8、蓝色为 #44aae6、品红为 #e17599。

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

与 Vs Code Dark+ 相似的配色

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