跳到主要內容

Kiwi

Kiwi 是一套深色終端機配色(冷色),背景色 #2a3330,文字色 #edebe6,對比度 10.9:1

取得設定檔
背景色
#2a3330
前景色
#edebe6
文字對比度
10.92:1AAA
強調色對比度
5.49:1最低 1.98
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
❯

Kiwi 的設定檔

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

Kiwi

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

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

palette = 0=#36413d
palette = 1=#ba0e2e
palette = 2=#229986
palette = 3=#95c72a
palette = 4=#0b6d5c
palette = 5=#229986
palette = 6=#95c72a
palette = 7=#f8f7f5
palette = 8=#4d5d57
palette = 9=#e61f44
palette = 10=#4ad7c0
palette = 11=#bfe275
palette = 12=#14caaa
palette = 13=#4ad7c0
palette = 14=#bfe275
palette = 15=#ffffff
background = #2a3330
foreground = #edebe6
cursor-color = #f8f8f0
cursor-text = #edebe6
selection-background = #0b6d5c
selection-foreground = #ffffff

Kiwi 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2a3330rgb(42 51 48)hsl(160 10% 18%)oklch(31.2% 0.013 173.3)—
前景色foreground#edebe6rgb(237 235 230)hsl(43 16% 92%)oklch(94.0% 0.007 88.6)10.92 AAA
光標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)12.19 AAA
光標文字cursorText#edebe6rgb(237 235 230)hsl(43 16% 92%)oklch(94.0% 0.007 88.6)10.92 AAA
選取範圍selection#0b6d5crgb(11 109 92)hsl(170 82% 24%)oklch(47.9% 0.086 176.5)2.08 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.01 AAA
黑color0#36413drgb(54 65 61)hsl(158 9% 23%)oklch(36.4% 0.016 171.4)1.23 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)1.98 低於 AA
綠color2#229986rgb(34 153 134)hsl(170 64% 37%)oklch(61.6% 0.104 179.0)3.70 AA 大字體
黃color3#95c72argb(149 199 42)hsl(79 65% 47%)oklch(76.7% 0.183 126.5)6.49 AA
藍color4#0b6d5crgb(11 109 92)hsl(170 82% 24%)oklch(47.9% 0.086 176.5)2.08 低於 AA
洋紅color5#229986rgb(34 153 134)hsl(170 64% 37%)oklch(61.6% 0.104 179.0)3.70 AA 大字體
青color6#95c72argb(149 199 42)hsl(79 65% 47%)oklch(76.7% 0.183 126.5)6.49 AA
白color7#f8f7f5rgb(248 247 245)hsl(40 18% 97%)oklch(97.6% 0.003 84.6)12.15 AAA
亮黑color8#4d5d57rgb(77 93 87)hsl(158 9% 33%)oklch(46.3% 0.022 170.6)1.87 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)2.88 低於 AA
亮綠color10#4ad7c0rgb(74 215 192)hsl(170 64% 57%)oklch(79.8% 0.124 180.0)7.29 AAA
亮黃color11#bfe275rgb(191 226 117)hsl(79 65% 67%)oklch(86.4% 0.142 124.0)8.89 AAA
亮藍color12#14caaargb(20 202 170)hsl(169 82% 44%)oklch(75.1% 0.138 175.6)6.23 AA
亮洋紅color13#4ad7c0rgb(74 215 192)hsl(170 64% 57%)oklch(79.8% 0.124 180.0)7.29 AAA
亮青color14#bfe275rgb(191 226 117)hsl(79 65% 67%)oklch(86.4% 0.142 124.0)8.89 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.01 AAA

關於 Kiwi

Kiwi 採用冷色調的深色背景(#2a3330),預設前景色為 #edebe6。正文的 WCAG 對比度為 10.92:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.49:1,最低 1.98:1。

色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #229986、藍色為 #0b6d5c、洋紅為 #229986。

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

與 Kiwi 相似的配色

資料來源:Rainglow (MIT)