跳到正文

ToyChest

ToyChest 是一套深色终端配色(柔和、冷色),背景色 #23364a,文字色 #30cf7b,对比度 6.1:1

获取配置
背景色
#23364a
前景色
#30cf7b
文字对比度
6.09:1AA
强调色对比度
4.14:1最低 1.85
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
❯

ToyChest 的配置文件

16 种格式,都从同一份色板生成

ToyChest

存到 ~/.config/ghostty/themes/ToyChest,再在 config 或 config.ghostty 里写 theme = ToyChest

更多 Ghostty 配色
原始文件
# Theme: ToyChest (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/toychest?format=ghostty

palette = 0=#2c3f57
palette = 1=#be2d26
palette = 2=#199171
palette = 3=#da8e26
palette = 4=#325d96
palette = 5=#8a5ddb
palette = 6=#35a08f
palette = 7=#23d082
palette = 8=#326889
palette = 9=#dd5943
palette = 10=#30cf7b
palette = 11=#e7d74b
palette = 12=#33a5d9
palette = 13=#ad6bdc
palette = 14=#41c3ad
palette = 15=#d4d4d4
background = #23364a
foreground = #30cf7b
cursor-color = #d4d4d4
cursor-text = #23364a
selection-background = #5f207a
selection-foreground = #23364a

ToyChest 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#23364argb(35 54 74)hsl(211 36% 21%)oklch(32.6% 0.043 250.5)—
前景色foreground#30cf7brgb(48 207 123)hsl(148 62% 50%)oklch(75.6% 0.176 154.4)6.09 AA
光标cursor#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)8.34 AAA
光标文字cursorText#23364argb(35 54 74)hsl(211 36% 21%)oklch(32.6% 0.043 250.5)1.00 低于 AA
选区selection#5f207argb(95 32 122)hsl(282 58% 30%)oklch(38.4% 0.150 313.7)1.16 低于 AA
选区文字selectionText#23364argb(35 54 74)hsl(211 36% 21%)oklch(32.6% 0.043 250.5)1.00 低于 AA
黑color0#2c3f57rgb(44 63 87)hsl(213 33% 26%)oklch(36.3% 0.048 254.7)1.15 低于 AA
红color1#be2d26rgb(190 45 38)hsl(3 67% 45%)oklch(52.8% 0.183 28.1)2.12 低于 AA
绿color2#199171rgb(25 145 113)hsl(164 71% 33%)oklch(58.7% 0.111 169.2)3.14 AA 大字号
黄color3#da8e26rgb(218 142 38)hsl(35 71% 50%)oklch(70.8% 0.143 68.6)4.64 AA
蓝color4#325d96rgb(50 93 150)hsl(214 50% 39%)oklch(47.6% 0.104 256.1)1.85 低于 AA
品红color5#8a5ddbrgb(138 93 219)hsl(261 64% 61%)oklch(58.7% 0.185 296.8)2.75 低于 AA
青color6#35a08frgb(53 160 143)hsl(170 50% 42%)oklch(64.1% 0.099 180.3)3.87 AA 大字号
白color7#23d082rgb(35 208 130)hsl(153 71% 48%)oklch(75.8% 0.174 156.8)6.13 AA
亮黑color8#326889rgb(50 104 137)hsl(203 47% 37%)oklch(49.5% 0.078 238.0)2.05 低于 AA
亮红color9#dd5943rgb(221 89 67)hsl(9 69% 56%)oklch(63.1% 0.170 31.7)3.29 AA 大字号
亮绿color10#30cf7brgb(48 207 123)hsl(148 62% 50%)oklch(75.6% 0.176 154.4)6.09 AA
亮黄color11#e7d74brgb(231 215 75)hsl(54 76% 60%)oklch(86.8% 0.156 102.7)8.37 AAA
亮蓝color12#33a5d9rgb(51 165 217)hsl(199 69% 53%)oklch(68.2% 0.125 233.0)4.43 AA 大字号
亮品红color13#ad6bdcrgb(173 107 220)hsl(275 62% 64%)oklch(64.6% 0.173 309.3)3.48 AA 大字号
亮青color14#41c3adrgb(65 195 173)hsl(170 52% 51%)oklch(74.1% 0.117 179.4)5.67 AA
亮白color15#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)8.34 AAA

关于 ToyChest

ToyChest 采用冷色调的深色背景(#23364a),默认前景色为 #30cf7b。正文的 WCAG 对比度为 6.09:1(AA),12 种 ANSI 彩色槽位平均对比度 4.14:1,最低 1.85:1。

色板整体色彩饱和度适中,其中红色为 #be2d26、绿色为 #199171、蓝色为 #325d96、品红为 #8a5ddb。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 ToyChest 相似的配色

数据来源:Kitty Themes (MIT)