跳到主要內容

Sugarplum

Sugarplum 是一套深色終端機配色(柔和、冷色),背景色 #111147,文字色 #db7ddd,對比度 6.7:1

取得設定檔
背景色
#111147
前景色
#db7ddd
文字對比度
6.69:1AA
強調色對比度
9.59:1最低 5.05
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
❯

Sugarplum 的設定檔

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

Sugarplum

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

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

palette = 0=#111147
palette = 1=#5ca8dc
palette = 2=#53b397
palette = 3=#249a84
palette = 4=#db7ddd
palette = 5=#d0beee
palette = 6=#f9f3f9
palette = 7=#a175d4
palette = 8=#111147
palette = 9=#5cb5dc
palette = 10=#52deb5
palette = 11=#01f5c7
palette = 12=#fa5dfd
palette = 13=#c6a5fd
palette = 14=#ffffff
palette = 15=#b577fd
background = #111147
foreground = #db7ddd
cursor-color = #53b397
cursor-text = #53b397
selection-background = #5ca8dc
selection-foreground = #d0beee

Sugarplum 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#111147rgb(17 17 71)hsl(240 61% 17%)oklch(22.2% 0.098 275.0)—
前景色foreground#db7dddrgb(219 125 221)hsl(299 59% 68%)oklch(72.5% 0.167 326.4)6.69 AA
光標cursor#53b397rgb(83 179 151)hsl(163 39% 51%)oklch(70.1% 0.101 171.6)6.91 AA
光標文字cursorText#53b397rgb(83 179 151)hsl(163 39% 51%)oklch(70.1% 0.101 171.6)6.91 AA
選取範圍selection#5ca8dcrgb(92 168 220)hsl(204 65% 61%)oklch(70.4% 0.108 240.5)6.77 AA
選取文字selectionText#d0beeergb(208 190 238)hsl(263 59% 84%)oklch(83.2% 0.069 302.0)10.28 AAA
黑color0#111147rgb(17 17 71)hsl(240 61% 17%)oklch(22.2% 0.098 275.0)1.00 低於 AA
紅color1#5ca8dcrgb(92 168 220)hsl(204 65% 61%)oklch(70.4% 0.108 240.5)6.77 AA
綠color2#53b397rgb(83 179 151)hsl(163 39% 51%)oklch(70.1% 0.101 171.6)6.91 AA
黃color3#249a84rgb(36 154 132)hsl(169 62% 37%)oklch(61.8% 0.106 176.8)5.05 AA
藍color4#db7dddrgb(219 125 221)hsl(299 59% 68%)oklch(72.5% 0.167 326.4)6.69 AA
洋紅color5#d0beeergb(208 190 238)hsl(263 59% 84%)oklch(83.2% 0.069 302.0)10.28 AAA
青color6#f9f3f9rgb(249 243 249)hsl(300 33% 96%)oklch(97.0% 0.010 325.7)16.08 AAA
白color7#a175d4rgb(161 117 212)hsl(268 52% 65%)oklch(64.5% 0.144 304.0)5.03 AA
亮黑color8#111147rgb(17 17 71)hsl(240 61% 17%)oklch(22.2% 0.098 275.0)1.00 低於 AA
亮紅color9#5cb5dcrgb(92 181 220)hsl(198 65% 61%)oklch(73.3% 0.102 229.0)7.61 AAA
亮綠color10#52deb5rgb(82 222 181)hsl(162 68% 60%)oklch(81.4% 0.135 170.1)10.44 AAA
亮黃color11#01f5c7rgb(1 245 199)hsl(169 99% 48%)oklch(86.5% 0.167 172.5)12.46 AAA
亮藍color12#fa5dfdrgb(250 93 253)hsl(299 98% 68%)oklch(74.0% 0.258 327.0)6.74 AA
亮洋紅color13#c6a5fdrgb(198 165 253)hsl(263 96% 82%)oklch(78.4% 0.127 300.8)8.54 AAA
亮青color14#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.57 AAA
亮白color15#b577fdrgb(181 119 253)hsl(268 97% 73%)oklch(69.1% 0.195 303.0)5.88 AA

關於 Sugarplum

Sugarplum 採用冷色調的深色背景(#111147),預設前景色為 #db7ddd。正文的 WCAG 對比度為 6.69:1(AA),12 種 ANSI 彩色槽位平均對比度 9.59:1,最低 5.05:1。

色板整體色彩飽和度適中,其中紅色為 #5ca8dc、綠色為 #53b397、藍色為 #db7ddd、洋紅為 #d0beee。

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

與 Sugarplum 相似的配色

資料來源:iTerm2 Color Schemes (MIT)