跳到主要內容

Kokiri

Kokiri 是一套淺色終端機配色(柔和、低飽和),背景色 #c5d8a0,文字色 #704518,對比度 5.4:1

取得設定檔
背景色
#c5d8a0
前景色
#704518
文字對比度
5.37:1AA
強調色對比度
2.89:1最低 1.50
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
❯

Kokiri 的設定檔

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

Kokiri

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

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

palette = 0=#a0c080
palette = 1=#b8860b
palette = 2=#4a7a4a
palette = 3=#8a6830
palette = 4=#4a6a8a
palette = 5=#7a5a7a
palette = 6=#4a7a7a
palette = 7=#c9a654
palette = 8=#704518
palette = 9=#d4a420
palette = 10=#5a8a5a
palette = 11=#a07838
palette = 12=#5a7a9a
palette = 13=#8a6a8a
palette = 14=#5a8a8a
palette = 15=#ddc070
background = #c5d8a0
foreground = #704518
cursor-color = #704518
cursor-text = #c5d8a0
selection-background = #b1b17d
selection-foreground = #704518

Kokiri 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#c5d8a0rgb(197 216 160)hsl(80 42% 74%)oklch(85.4% 0.077 123.2)—
前景色foreground#704518rgb(112 69 24)hsl(31 65% 27%)oklch(43.2% 0.083 63.2)5.37 AA
光標cursor#704518rgb(112 69 24)hsl(31 65% 27%)oklch(43.2% 0.083 63.2)5.37 AA
光標文字cursorText#c5d8a0rgb(197 216 160)hsl(80 42% 74%)oklch(85.4% 0.077 123.2)1.00 低於 AA
選取範圍selection#b1b17drgb(177 177 125)hsl(60 25% 59%)oklch(74.8% 0.070 108.0)1.45 低於 AA
選取文字selectionText#704518rgb(112 69 24)hsl(31 65% 27%)oklch(43.2% 0.083 63.2)5.37 AA
黑color0#a0c080rgb(160 192 128)hsl(90 34% 63%)oklch(76.8% 0.094 130.0)1.32 低於 AA
紅color1#b8860brgb(184 134 11)hsl(43 89% 38%)oklch(65.2% 0.132 81.6)2.12 低於 AA
綠color2#4a7a4argb(74 122 74)hsl(120 24% 38%)oklch(53.2% 0.090 144.2)3.28 AA 大字體
黃color3#8a6830rgb(138 104 48)hsl(37 48% 36%)oklch(54.0% 0.085 77.7)3.34 AA 大字體
藍color4#4a6a8argb(74 106 138)hsl(210 30% 42%)oklch(51.3% 0.063 249.1)3.68 AA 大字體
洋紅color5#7a5a7argb(122 90 122)hsl(300 15% 42%)oklch(51.2% 0.063 326.4)3.84 AA 大字體
青color6#4a7a7argb(74 122 122)hsl(180 24% 38%)oklch(54.5% 0.052 195.7)3.15 AA 大字體
白color7#c9a654rgb(201 166 84)hsl(42 52% 56%)oklch(74.0% 0.109 86.4)1.51 低於 AA
亮黑color8#704518rgb(112 69 24)hsl(31 65% 27%)oklch(43.2% 0.083 63.2)5.37 AA
亮紅color9#d4a420rgb(212 164 32)hsl(44 74% 48%)oklch(74.3% 0.145 86.2)1.50 低於 AA
亮綠color10#5a8a5argb(90 138 90)hsl(120 21% 45%)oklch(58.6% 0.089 144.3)2.63 低於 AA
亮黃color11#a07838rgb(160 120 56)hsl(37 48% 42%)oklch(59.9% 0.095 76.9)2.62 低於 AA
亮藍color12#5a7a9argb(90 122 154)hsl(210 26% 48%)oklch(56.8% 0.062 249.0)2.92 低於 AA
亮洋紅color13#8a6a8argb(138 106 138)hsl(300 13% 48%)oklch(56.7% 0.062 326.4)3.04 AA 大字體
亮青color14#5a8a8argb(90 138 138)hsl(180 21% 45%)oklch(59.9% 0.052 195.9)2.52 低於 AA
亮白color15#ddc070rgb(221 192 112)hsl(44 62% 65%)oklch(81.6% 0.105 90.1)1.16 低於 AA

關於 Kokiri

Kokiri 採用中性色調的淺色背景(#c5d8a0),預設前景色為 #704518。正文的 WCAG 對比度為 5.37:1(AA),12 種 ANSI 彩色槽位平均對比度 2.89:1,最低 1.50:1。

色板整體色彩飽和度偏低,其中紅色為 #b8860b、綠色為 #4a7a4a、藍色為 #4a6a8a、洋紅為 #7a5a7a。

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

與 Kokiri 相似的配色

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