跳到主要內容

Cherry

Cherry 是一套深色終端機配色(冷色),背景色 #1f1f2a,文字色 #bdc3df,對比度 9.3:1

取得設定檔
背景色
#1f1f2a
前景色
#bdc3df
文字對比度
9.35:1AAA
強調色對比度
8.49:1最低 4.56
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
❯

Cherry 的設定檔

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

Cherry

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

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

palette = 0=#43435a
palette = 1=#ff568e
palette = 2=#64de83
palette = 3=#efff73
palette = 4=#73a9ff
palette = 5=#946ff7
palette = 6=#62c6da
palette = 7=#dedeff
palette = 8=#53536b
palette = 9=#ff69a2
palette = 10=#73de8a
palette = 11=#f3ff85
palette = 12=#85b6ff
palette = 13=#a481f7
palette = 14=#71c2d9
palette = 15=#ebebff
background = #1f1f2a
foreground = #bdc3df
cursor-color = #bdc3df
cursor-text = #1f1f2a
selection-background = #424352
selection-foreground = #bdc3df

Cherry 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1f1f2argb(31 31 42)hsl(240 15% 14%)oklch(24.4% 0.021 284.8)—
前景色foreground#bdc3dfrgb(189 195 223)hsl(229 35% 81%)oklch(82.1% 0.040 275.9)9.35 AAA
光標cursor#bdc3dfrgb(189 195 223)hsl(229 35% 81%)oklch(82.1% 0.040 275.9)9.35 AAA
光標文字cursorText#1f1f2argb(31 31 42)hsl(240 15% 14%)oklch(24.4% 0.021 284.8)1.00 低於 AA
選取範圍selection#424352rgb(66 67 82)hsl(236 11% 29%)oklch(38.8% 0.025 282.1)1.67 低於 AA
選取文字selectionText#bdc3dfrgb(189 195 223)hsl(229 35% 81%)oklch(82.1% 0.040 275.9)9.35 AAA
黑color0#43435argb(67 67 90)hsl(240 15% 31%)oklch(39.2% 0.039 284.5)1.70 低於 AA
紅color1#ff568ergb(255 86 142)hsl(340 100% 67%)oklch(69.5% 0.208 4.0)5.42 AA
綠color2#64de83rgb(100 222 131)hsl(135 65% 63%)oklch(80.9% 0.168 149.5)9.57 AAA
黃color3#efff73rgb(239 255 115)hsl(67 100% 73%)oklch(96.1% 0.164 115.0)14.93 AAA
藍color4#73a9ffrgb(115 169 255)hsl(217 100% 73%)oklch(73.4% 0.138 259.4)6.87 AA
洋紅color5#946ff7rgb(148 111 247)hsl(256 89% 70%)oklch(64.3% 0.195 292.6)4.56 AA
青color6#62c6dargb(98 198 218)hsl(190 62% 62%)oklch(77.4% 0.097 212.5)8.24 AAA
白color7#dedeffrgb(222 222 255)hsl(240 100% 94%)oklch(91.1% 0.045 285.5)12.42 AAA
亮黑color8#53536brgb(83 83 107)hsl(240 13% 37%)oklch(45.2% 0.039 284.7)2.19 低於 AA
亮紅color9#ff69a2rgb(255 105 162)hsl(337 100% 71%)oklch(72.2% 0.190 359.3)6.05 AA
亮綠color10#73de8argb(115 222 138)hsl(133 62% 66%)oklch(81.6% 0.154 149.0)9.74 AAA
亮黃color11#f3ff85rgb(243 255 133)hsl(66 100% 76%)oklch(96.6% 0.147 113.8)15.11 AAA
亮藍color12#85b6ffrgb(133 182 255)hsl(216 100% 76%)oklch(77.1% 0.118 258.1)7.87 AAA
亮洋紅color13#a481f7rgb(164 129 247)hsl(258 88% 74%)oklch(68.7% 0.170 295.2)5.48 AA
亮青color14#71c2d9rgb(113 194 217)hsl(193 58% 65%)oklch(77.1% 0.086 218.2)8.09 AAA
亮白color15#ebebffrgb(235 235 255)hsl(240 100% 96%)oklch(94.6% 0.027 285.9)13.87 AAA

關於 Cherry

Cherry 採用冷色調的深色背景(#1f1f2a),預設前景色為 #bdc3df。正文的 WCAG 對比度為 9.35:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.49:1,最低 4.56:1。

色板整體色彩飽和度適中,其中紅色為 #ff568e、綠色為 #64de83、藍色為 #73a9ff、洋紅為 #946ff7。

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

與 Cherry 相似的配色

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