跳到主要內容

Vegetable

Vegetable 是一套深色終端機配色,背景色 #2d2627,文字色 #e2dcdd,對比度 10.9:1

取得設定檔
背景色
#2d2627
前景色
#e2dcdd
文字對比度
10.94:1AAA
強調色對比度
7.54:1最低 2.25
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
❯

Vegetable 的設定檔

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

Vegetable

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

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

palette = 0=#3b3233
palette = 1=#ba0e2e
palette = 2=#f0a56c
palette = 3=#689d81
palette = 4=#d8ca96
palette = 5=#f0a56c
palette = 6=#689d81
palette = 7=#eeeaeb
palette = 8=#56494b
palette = 9=#e61f44
palette = 10=#f9dec9
palette = 11=#a6c5b5
palette = 12=#f4f0e0
palette = 13=#f9dec9
palette = 14=#a6c5b5
palette = 15=#ffffff
background = #2d2627
foreground = #e2dcdd
cursor-color = #ffffff
cursor-text = #e2dcdd
selection-background = #689d81
selection-foreground = #ffffff

Vegetable 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2d2627rgb(45 38 39)hsl(351 8% 16%)oklch(27.7% 0.011 8.0)—
前景色foreground#e2dcddrgb(226 220 221)hsl(350 9% 87%)oklch(90.0% 0.007 5.6)10.94 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.81 AAA
游標文字cursorText#e2dcddrgb(226 220 221)hsl(350 9% 87%)oklch(90.0% 0.007 5.6)10.94 AAA
選取範圍selection#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)4.74 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.81 AAA
黑color0#3b3233rgb(59 50 51)hsl(353 8% 21%)oklch(32.7% 0.013 10.2)1.19 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.25 低於 AA
綠color2#f0a56crgb(240 165 108)hsl(26 81% 68%)oklch(78.3% 0.115 57.3)7.27 AAA
黃color3#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)4.74 AA
藍color4#d8ca96rgb(216 202 150)hsl(47 46% 72%)oklch(83.8% 0.070 94.8)9.03 AAA
洋紅color5#f0a56crgb(240 165 108)hsl(26 81% 68%)oklch(78.3% 0.115 57.3)7.27 AAA
青color6#689d81rgb(104 157 129)hsl(148 21% 51%)oklch(65.1% 0.071 160.5)4.74 AA
白color7#eeeaebrgb(238 234 235)hsl(345 11% 93%)oklch(94.0% 0.005 0.0)12.41 AAA
亮黑color8#56494brgb(86 73 75)hsl(351 8% 31%)oklch(41.9% 0.018 7.4)1.73 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.27 AA 大字級
亮綠color10#f9dec9rgb(249 222 201)hsl(26 80% 88%)oklch(91.7% 0.041 60.1)11.51 AAA
亮黃color11#a6c5b5rgb(166 197 181)hsl(149 21% 71%)oklch(79.6% 0.040 162.9)7.95 AAA
亮藍color12#f4f0e0rgb(244 240 224)hsl(48 48% 92%)oklch(95.4% 0.022 95.3)12.97 AAA
亮洋紅color13#f9dec9rgb(249 222 201)hsl(26 80% 88%)oklch(91.7% 0.041 60.1)11.51 AAA
亮青color14#a6c5b5rgb(166 197 181)hsl(149 21% 71%)oklch(79.6% 0.040 162.9)7.95 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.81 AAA

關於 Vegetable

Vegetable 採用中性色調的深色背景(#2d2627),預設前景色為 #e2dcdd。內文的 WCAG 對比度為 10.94:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.54:1,最低 2.25:1。

色票整體色彩彩度適中,其中紅色為 #ba0e2e、綠色為 #f0a56c、藍色為 #d8ca96、洋紅為 #f0a56c。

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

與 Vegetable 相似的配色

資料來源:Rainglow (MIT)