跳到主要內容

Vesper

Vesper 是一套深色終端機配色(高對比),背景色 #101010,文字色 #ffffff,對比度 19.0:1

取得設定檔
背景色
#101010
前景色
#ffffff
文字對比度
19.03:1AAA
強調色對比度
9.83:1最低 7.51
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
❯

Vesper 的設定檔

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

Vesper

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

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

palette = 0=#101010
palette = 1=#f5a191
palette = 2=#90b99f
palette = 3=#e6b99d
palette = 4=#aca1cf
palette = 5=#e29eca
palette = 6=#ea83a5
palette = 7=#a0a0a0
palette = 8=#7e7e7e
palette = 9=#ff8080
palette = 10=#99ffe4
palette = 11=#ffc799
palette = 12=#b9aeda
palette = 13=#ecaad6
palette = 14=#f591b2
palette = 15=#ffffff
background = #101010
foreground = #ffffff
cursor-color = #acb1ab
cursor-text = #ffffff
selection-background = #988049
selection-foreground = #acb1ab

Vesper 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.03 AAA
光標cursor#acb1abrgb(172 177 171)hsl(110 4% 68%)oklch(75.5% 0.010 140.5)8.73 AAA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.03 AAA
選取範圍selection#988049rgb(152 128 73)hsl(42 35% 44%)oklch(61.0% 0.079 86.5)5.00 AA
選取文字selectionText#acb1abrgb(172 177 171)hsl(110 4% 68%)oklch(75.5% 0.010 140.5)8.73 AAA
黑color0#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.00 低於 AA
紅color1#f5a191rgb(245 161 145)hsl(10 83% 76%)oklch(78.8% 0.103 31.3)9.41 AAA
綠color2#90b99frgb(144 185 159)hsl(142 23% 65%)oklch(74.9% 0.058 156.9)8.72 AAA
黃color3#e6b99drgb(230 185 157)hsl(23 59% 76%)oklch(81.9% 0.065 53.5)10.68 AAA
藍color4#aca1cfrgb(172 161 207)hsl(254 32% 72%)oklch(73.4% 0.067 295.7)7.93 AAA
洋紅color5#e29ecargb(226 158 202)hsl(321 54% 75%)oklch(77.8% 0.098 340.6)9.04 AAA
青color6#ea83a5rgb(234 131 165)hsl(340 71% 72%)oklch(73.1% 0.131 359.7)7.51 AAA
白color7#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)7.28 AAA
亮黑color8#7e7e7ergb(126 126 126)hsl(0 0% 49%)oklch(59.3% 0.000 0)4.69 AA
亮紅color9#ff8080rgb(255 128 128)hsl(0 100% 75%)oklch(74.4% 0.155 21.5)7.84 AAA
亮綠color10#99ffe4rgb(153 255 228)hsl(164 100% 80%)oklch(93.0% 0.103 175.1)16.11 AAA
亮黃color11#ffc799rgb(255 199 153)hsl(27 100% 80%)oklch(86.9% 0.088 60.7)12.58 AAA
亮藍color12#b9aedargb(185 174 218)hsl(255 37% 77%)oklch(77.5% 0.063 296.4)9.18 AAA
亮洋紅color13#ecaad6rgb(236 170 214)hsl(320 63% 80%)oklch(81.3% 0.096 339.5)10.23 AAA
亮青color14#f591b2rgb(245 145 178)hsl(340 83% 76%)oklch(77.0% 0.126 359.3)8.68 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.03 AAA

關於 Vesper

Vesper 採用中性色調的深色背景(#101010),預設前景色為 #ffffff。正文的 WCAG 對比度為 19.03:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.83:1,最低 7.51:1。

色板整體色彩飽和度適中,其中紅色為 #f5a191、綠色為 #90b99f、藍色為 #aca1cf、洋紅為 #e29eca。

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

與 Vesper 相似的配色

資料來源:iTerm2 Color Schemes (MIT)