跳到主要內容

Vs Code Light+

Vs Code Light+ 是一套淺色終端機配色(柔和、鮮豔),背景色 #f9f9f9,文字色 #020202,對比度 19.7:1

取得設定檔
背景色
#f9f9f9
前景色
#020202
文字對比度
19.71:1AAA
強調色對比度
3.96:1最低 1.99
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 Light+ 的設定檔

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

Vs Code Light+

存到 ~/.config/ghostty/themes/Vs Code Light+,再在 config 或 config.ghostty 裡寫 theme = Vs Code Light+

更多 Ghostty 配色
原始檔
# Theme: Vs Code Light+ (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/vs-code-light-plus?format=ghostty

palette = 0=#020202
palette = 1=#cd3232
palette = 2=#00bc00
palette = 3=#a5a900
palette = 4=#0752a8
palette = 5=#bc05bc
palette = 6=#0598bc
palette = 7=#343434
palette = 8=#5e5e5e
palette = 9=#cd3333
palette = 10=#1bce1a
palette = 11=#adbb5b
palette = 12=#0752a8
palette = 13=#c451ce
palette = 14=#52a8c7
palette = 15=#a6a3a6
background = #f9f9f9
foreground = #020202
cursor-color = #020202
cursor-text = #f9f9f9
selection-background = #b0b0b0
selection-foreground = #020202

Vs Code Light+ 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f9f9f9rgb(249 249 249)hsl(0 0% 98%)oklch(98.2% 0.000 0)—
前景色foreground#020202rgb(2 2 2)hsl(0 0% 1%)oklch(8.5% 0.000 0)19.71 AAA
游標cursor#020202rgb(2 2 2)hsl(0 0% 1%)oklch(8.5% 0.000 0)19.71 AAA
游標文字cursorText#f9f9f9rgb(249 249 249)hsl(0 0% 98%)oklch(98.2% 0.000 0)1.00 低於 AA
選取範圍selection#b0b0b0rgb(176 176 176)hsl(0 0% 69%)oklch(75.7% 0.000 0)2.06 低於 AA
選取文字selectionText#020202rgb(2 2 2)hsl(0 0% 1%)oklch(8.5% 0.000 0)19.71 AAA
黑color0#020202rgb(2 2 2)hsl(0 0% 1%)oklch(8.5% 0.000 0)19.71 AAA
紅color1#cd3232rgb(205 50 50)hsl(0 61% 50%)oklch(56.0% 0.192 26.0)4.87 AA
綠color2#00bc00rgb(0 188 0)hsl(120 100% 37%)oklch(68.9% 0.234 142.5)2.43 低於 AA
黃color3#a5a900rgb(165 169 0)hsl(61 100% 33%)oklch(70.8% 0.156 111.5)2.41 低於 AA
藍color4#0752a8rgb(7 82 168)hsl(212 92% 34%)oklch(45.1% 0.153 256.8)7.17 AAA
洋紅color5#bc05bcrgb(188 5 188)hsl(300 95% 38%)oklch(55.9% 0.255 328.3)5.13 AA
青color6#0598bcrgb(5 152 188)hsl(192 95% 38%)oklch(63.1% 0.116 222.6)3.20 AA 大字級
白color7#343434rgb(52 52 52)hsl(0 0% 20%)oklch(32.5% 0.000 0)11.82 AAA
亮黑color8#5e5e5ergb(94 94 94)hsl(0 0% 37%)oklch(48.2% 0.000 0)6.16 AA
亮紅color9#cd3333rgb(205 51 51)hsl(0 61% 50%)oklch(56.1% 0.191 25.9)4.84 AA
亮綠color10#1bce1argb(27 206 26)hsl(120 78% 45%)oklch(74.0% 0.244 142.6)2.02 低於 AA
亮黃color11#adbb5brgb(173 187 91)hsl(69 41% 55%)oklch(76.1% 0.122 116.3)1.99 低於 AA
亮藍color12#0752a8rgb(7 82 168)hsl(212 92% 34%)oklch(45.1% 0.153 256.8)7.17 AAA
亮洋紅color13#c451cergb(196 81 206)hsl(295 56% 56%)oklch(63.1% 0.208 324.4)3.68 AA 大字級
亮青color14#52a8c7rgb(82 168 199)hsl(196 51% 55%)oklch(69.1% 0.094 224.4)2.56 低於 AA
亮白color15#a6a3a6rgb(166 163 166)hsl(300 2% 65%)oklch(71.9% 0.005 325.6)2.37 低於 AA

關於 Vs Code Light+

Vs Code Light+ 採用中性色調的淺色背景(#f9f9f9),預設前景色為 #020202。內文的 WCAG 對比度為 19.71:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.96:1,最低 1.99:1。

色票整體色彩彩度較高,其中紅色為 #cd3232、綠色為 #00bc00、藍色為 #0752a8、洋紅為 #bc05bc。

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

與 Vs Code Light+ 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)