跳到主要內容

Leaf Light

Leaf Light 是一套淺色終端機配色(柔和),背景色 #e1e4dc,文字色 #2e2c2f,對比度 10.8:1

取得設定檔
背景色
#e1e4dc
前景色
#2e2c2f
文字對比度
10.76:1AAA
強調色對比度
3.28:1最低 1.71
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
❯

Leaf Light 的設定檔

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

Leaf Light

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

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

palette = 0=#2e2c2f
palette = 1=#ba5860
palette = 2=#729b79
palette = 3=#ccaa6c
palette = 4=#5292c6
palette = 5=#8c6aa8
palette = 6=#489ca5
palette = 7=#e1e4dc
palette = 8=#403f42
palette = 9=#9d4b53
palette = 10=#59795f
palette = 11=#a78a58
palette = 12=#40739a
palette = 13=#715688
palette = 14=#3b8187
palette = 15=#b1b3ad
background = #e1e4dc
foreground = #2e2c2f
cursor-color = #2e2c2f
cursor-text = #e1e4dc
selection-background = #b0b2ad
selection-foreground = #2e2c2f

Leaf Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#e1e4dcrgb(225 228 220)hsl(83 13% 88%)oklch(91.4% 0.011 123.5)—
前景色foreground#2e2c2frgb(46 44 47)hsl(280 3% 18%)oklch(29.6% 0.006 314.7)10.76 AAA
游標cursor#2e2c2frgb(46 44 47)hsl(280 3% 18%)oklch(29.6% 0.006 314.7)10.76 AAA
游標文字cursorText#e1e4dcrgb(225 228 220)hsl(83 13% 88%)oklch(91.4% 0.011 123.5)1.00 低於 AA
選取範圍selection#b0b2adrgb(176 178 173)hsl(84 3% 69%)oklch(76.0% 0.007 124.5)1.66 低於 AA
選取文字selectionText#2e2c2frgb(46 44 47)hsl(280 3% 18%)oklch(29.6% 0.006 314.7)10.76 AAA
黑color0#2e2c2frgb(46 44 47)hsl(280 3% 18%)oklch(29.6% 0.006 314.7)10.76 AAA
紅color1#ba5860rgb(186 88 96)hsl(355 42% 54%)oklch(58.3% 0.127 16.8)3.51 AA 大字級
綠color2#729b79rgb(114 155 121)hsl(130 17% 53%)oklch(65.0% 0.067 149.4)2.44 低於 AA
黃color3#ccaa6crgb(204 170 108)hsl(39 48% 61%)oklch(75.5% 0.089 81.7)1.71 低於 AA
藍color4#5292c6rgb(82 146 198)hsl(207 50% 55%)oklch(63.9% 0.103 244.9)2.60 低於 AA
洋紅color5#8c6aa8rgb(140 106 168)hsl(273 26% 54%)oklch(58.2% 0.100 308.7)3.44 AA 大字級
青color6#489ca5rgb(72 156 165)hsl(186 39% 46%)oklch(64.5% 0.082 204.8)2.48 低於 AA
白color7#e1e4dcrgb(225 228 220)hsl(83 13% 88%)oklch(91.4% 0.011 123.5)1.00 低於 AA
亮黑color8#403f42rgb(64 63 66)hsl(260 2% 25%)oklch(37.0% 0.005 301.3)8.13 AAA
亮紅color9#9d4b53rgb(157 75 83)hsl(354 35% 45%)oklch(51.8% 0.109 15.6)4.58 AA
亮綠color10#59795frgb(89 121 95)hsl(131 15% 41%)oklch(54.4% 0.054 150.0)3.78 AA 大字級
亮黃color11#a78a58rgb(167 138 88)hsl(38 31% 50%)oklch(64.9% 0.076 80.4)2.54 低於 AA
亮藍color12#40739argb(64 115 154)hsl(206 41% 43%)oklch(53.7% 0.083 243.3)3.95 AA 大字級
亮洋紅color13#715688rgb(113 86 136)hsl(272 23% 44%)oklch(50.1% 0.083 308.4)4.82 AA
亮青color14#3b8187rgb(59 129 135)hsl(185 39% 38%)oklch(56.1% 0.071 202.9)3.49 AA 大字級
亮白color15#b1b3adrgb(177 179 173)hsl(80 4% 69%)oklch(76.3% 0.009 121.7)1.65 低於 AA

關於 Leaf Light

Leaf Light 採用中性色調的淺色背景(#e1e4dc),預設前景色為 #2e2c2f。內文的 WCAG 對比度為 10.76:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.28:1,最低 1.71:1。

色票整體色彩彩度適中,其中紅色為 #ba5860、綠色為 #729b79、藍色為 #5292c6、洋紅為 #8c6aa8。

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

與 Leaf Light 相似的配色

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