跳到主要內容

Whimsy

Whimsy 是一套深色終端機配色(柔和、冷色),背景色 #29283b,文字色 #b3b0d6,對比度 6.9:1

取得設定檔
背景色
#29283b
前景色
#b3b0d6
文字對比度
6.91:1AA
強調色對比度
6.61:1最低 4.68
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
❯

Whimsy 的設定檔

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

Whimsy

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

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

palette = 0=#535178
palette = 1=#ef6487
palette = 2=#5eca89
palette = 3=#fdd877
palette = 4=#65aef7
palette = 5=#aa7ff0
palette = 6=#43c1be
palette = 7=#ffffff
palette = 8=#535178
palette = 9=#ef6487
palette = 10=#5eca89
palette = 11=#fdd877
palette = 12=#65aef7
palette = 13=#aa7ff0
palette = 14=#43c1be
palette = 15=#ffffff
background = #29283b
foreground = #b3b0d6
cursor-color = #b3b0d6
cursor-text = #535178
selection-background = #3d3c58
selection-foreground = #ffffff

Whimsy 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#29283brgb(41 40 59)hsl(243 19% 19%)oklch(28.7% 0.035 286.4)—
前景色foreground#b3b0d6rgb(179 176 214)hsl(245 32% 76%)oklch(77.2% 0.054 288.7)6.91 AA
游標cursor#b3b0d6rgb(179 176 214)hsl(245 32% 76%)oklch(77.2% 0.054 288.7)6.91 AA
游標文字cursorText#535178rgb(83 81 120)hsl(243 19% 39%)oklch(45.3% 0.063 285.9)1.93 低於 AA
選取範圍selection#3d3c58rgb(61 60 88)hsl(242 19% 29%)oklch(37.0% 0.048 285.4)1.36 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.37 AAA
黑color0#535178rgb(83 81 120)hsl(243 19% 39%)oklch(45.3% 0.063 285.9)1.93 低於 AA
紅color1#ef6487rgb(239 100 135)hsl(345 81% 66%)oklch(68.6% 0.173 7.2)4.68 AA
綠color2#5eca89rgb(94 202 137)hsl(144 50% 58%)oklch(75.8% 0.138 154.8)7.04 AAA
黃color3#fdd877rgb(253 216 119)hsl(43 97% 73%)oklch(89.4% 0.123 88.9)10.45 AAA
藍color4#65aef7rgb(101 174 247)hsl(210 90% 68%)oklch(73.4% 0.129 250.0)6.13 AA
洋紅color5#aa7ff0rgb(170 127 240)hsl(263 79% 72%)oklch(68.6% 0.165 299.6)4.79 AA
青color6#43c1bergb(67 193 190)hsl(179 50% 51%)oklch(74.2% 0.109 192.8)6.58 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.37 AAA
亮黑color8#535178rgb(83 81 120)hsl(243 19% 39%)oklch(45.3% 0.063 285.9)1.93 低於 AA
亮紅color9#ef6487rgb(239 100 135)hsl(345 81% 66%)oklch(68.6% 0.173 7.2)4.68 AA
亮綠color10#5eca89rgb(94 202 137)hsl(144 50% 58%)oklch(75.8% 0.138 154.8)7.04 AAA
亮黃color11#fdd877rgb(253 216 119)hsl(43 97% 73%)oklch(89.4% 0.123 88.9)10.45 AAA
亮藍color12#65aef7rgb(101 174 247)hsl(210 90% 68%)oklch(73.4% 0.129 250.0)6.13 AA
亮洋紅color13#aa7ff0rgb(170 127 240)hsl(263 79% 72%)oklch(68.6% 0.165 299.6)4.79 AA
亮青color14#43c1bergb(67 193 190)hsl(179 50% 51%)oklch(74.2% 0.109 192.8)6.58 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.37 AAA

關於 Whimsy

Whimsy 採用冷色調的深色背景(#29283b),預設前景色為 #b3b0d6。內文的 WCAG 對比度為 6.91:1(AA),12 種 ANSI 彩色槽位平均對比度 6.61:1,最低 4.68:1。

色票整體色彩彩度適中,其中紅色為 #ef6487、綠色為 #5eca89、藍色為 #65aef7、洋紅為 #aa7ff0。

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

與 Whimsy 相似的配色

資料來源:iTerm2 Color Schemes (MIT)