跳到主要內容

Toy Chest

Toy Chest 是一套深色終端機配色(柔和、冷色),背景色 #24364b,文字色 #31d07b,對比度 6.1:1

取得設定檔
背景色
#24364b
前景色
#31d07b
文字對比度
6.13:1AA
強調色對比度
4.15:1最低 1.84
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
❯

Toy Chest 的設定檔

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

Toy Chest

存到 ~/.config/ghostty/themes/Toy Chest,再在 config 或 config.ghostty 裡寫 theme = Toy Chest

更多 Ghostty 配色
原始檔
# Theme: Toy Chest (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/toy-chest?format=ghostty

palette = 0=#2c3f58
palette = 1=#be2d26
palette = 2=#1a9172
palette = 3=#db8e27
palette = 4=#325d96
palette = 5=#8a5edc
palette = 6=#35a08f
palette = 7=#23d183
palette = 8=#336889
palette = 9=#dd5944
palette = 10=#31d07b
palette = 11=#e7d84b
palette = 12=#34a6da
palette = 13=#ae6bdc
palette = 14=#42c3ae
palette = 15=#d5d5d5
background = #24364b
foreground = #31d07b
cursor-color = #d5d5d5
cursor-text = #141c25
selection-background = #5f217a
selection-foreground = #d5d5d5

Toy Chest 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#24364brgb(36 54 75)hsl(212 35% 22%)oklch(32.7% 0.044 252.9)—
前景色foreground#31d07brgb(49 208 123)hsl(148 63% 50%)oklch(75.8% 0.177 154.1)6.13 AA
游標cursor#d5d5d5rgb(213 213 213)hsl(0 0% 84%)oklch(87.3% 0.000 0)8.40 AAA
游標文字cursorText#141c25rgb(20 28 37)hsl(212 30% 11%)oklch(22.3% 0.021 251.7)1.39 低於 AA
選取範圍selection#5f217argb(95 33 122)hsl(282 57% 30%)oklch(38.5% 0.149 313.6)1.16 低於 AA
選取文字selectionText#d5d5d5rgb(213 213 213)hsl(0 0% 84%)oklch(87.3% 0.000 0)8.40 AAA
黑color0#2c3f58rgb(44 63 88)hsl(214 33% 26%)oklch(36.3% 0.050 255.6)1.15 低於 AA
紅color1#be2d26rgb(190 45 38)hsl(3 67% 45%)oklch(52.8% 0.183 28.1)2.11 低於 AA
綠color2#1a9172rgb(26 145 114)hsl(164 70% 34%)oklch(58.7% 0.110 169.8)3.13 AA 大字級
黃color3#db8e27rgb(219 142 39)hsl(34 71% 51%)oklch(71.0% 0.143 68.1)4.64 AA
藍color4#325d96rgb(50 93 150)hsl(214 50% 39%)oklch(47.6% 0.104 256.1)1.84 低於 AA
洋紅color5#8a5edcrgb(138 94 220)hsl(261 64% 62%)oklch(59.0% 0.185 296.4)2.77 低於 AA
青color6#35a08frgb(53 160 143)hsl(170 50% 42%)oklch(64.1% 0.099 180.3)3.86 AA 大字級
白color7#23d183rgb(35 209 131)hsl(153 71% 48%)oklch(76.0% 0.174 157.0)6.17 AA
亮黑color8#336889rgb(51 104 137)hsl(203 46% 37%)oklch(49.6% 0.077 238.4)2.04 低於 AA
亮紅color9#dd5944rgb(221 89 68)hsl(8 69% 57%)oklch(63.1% 0.170 31.3)3.28 AA 大字級
亮綠color10#31d07brgb(49 208 123)hsl(148 63% 50%)oklch(75.8% 0.177 154.1)6.13 AA
亮黃color11#e7d84brgb(231 216 75)hsl(54 76% 60%)oklch(87.0% 0.157 103.2)8.40 AAA
亮藍color12#34a6dargb(52 166 218)hsl(199 69% 53%)oklch(68.5% 0.125 233.0)4.47 AA 大字級
亮洋紅color13#ae6bdcrgb(174 107 220)hsl(276 62% 64%)oklch(64.7% 0.173 309.8)3.48 AA 大字級
亮青color14#42c3aergb(66 195 174)hsl(170 52% 51%)oklch(74.2% 0.116 180.0)5.66 AA
亮白color15#d5d5d5rgb(213 213 213)hsl(0 0% 84%)oklch(87.3% 0.000 0)8.40 AAA

關於 Toy Chest

Toy Chest 採用冷色調的深色背景(#24364b),預設前景色為 #31d07b。內文的 WCAG 對比度為 6.13:1(AA),12 種 ANSI 彩色槽位平均對比度 4.15:1,最低 1.84:1。

色票整體色彩彩度適中,其中紅色為 #be2d26、綠色為 #1a9172、藍色為 #325d96、洋紅為 #8a5edc。

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

與 Toy Chest 相似的配色

資料來源:iTerm2 Color Schemes (MIT)