跳到主要內容

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/zh-tw/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)