跳到主要內容

Pumpkin Patch

Pumpkin Patch 是一套深色終端機配色,背景色 #243416,文字色 #f5efd1,對比度 11.5:1

取得設定檔
背景色
#243416
前景色
#f5efd1
文字對比度
11.50:1AAA
強調色對比度
7.03:1最低 5.54
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
❯

Pumpkin Patch 的設定檔

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

Pumpkin Patch

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

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

palette = 0=#c3c8af
palette = 1=#f09870
palette = 2=#95ce77
palette = 3=#e8c95a
palette = 4=#87bfcf
palette = 5=#c79ab7
palette = 6=#79c9bb
palette = 7=#f5efd1
palette = 8=#cacfb9
palette = 9=#f2a481
palette = 10=#a2d487
palette = 11=#ebcf6e
palette = 12=#95c7d5
palette = 13=#cea6c0
palette = 14=#89cfc3
palette = 15=#f6f1d7
background = #243416
foreground = #f5efd1
cursor-color = #f2a481
cursor-text = #243416
selection-background = #cacfb9
selection-foreground = #9d987e

Pumpkin Patch 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#243416rgb(36 52 22)hsl(92 41% 15%)oklch(30.2% 0.054 132.0)—
前景色foreground#f5efd1rgb(245 239 209)hsl(50 64% 89%)oklch(94.9% 0.040 97.8)11.50 AAA
游標cursor#f2a481rgb(242 164 129)hsl(19 81% 73%)oklch(78.7% 0.105 44.9)6.59 AA
游標文字cursorText#243416rgb(36 52 22)hsl(92 41% 15%)oklch(30.2% 0.054 132.0)1.00 低於 AA
選取範圍selection#cacfb9rgb(202 207 185)hsl(74 19% 77%)oklch(84.5% 0.030 117.5)8.33 AAA
選取文字selectionText#9d987ergb(157 152 126)hsl(50 14% 55%)oklch(67.7% 0.037 98.3)4.58 AA
黑color0#c3c8afrgb(195 200 175)hsl(72 19% 74%)oklch(82.2% 0.035 116.3)7.73 AAA
紅color1#f09870rgb(240 152 112)hsl(19 81% 69%)oklch(76.1% 0.119 45.0)5.98 AA
綠color2#95ce77rgb(149 206 119)hsl(99 47% 64%)oklch(79.2% 0.131 135.5)7.21 AAA
黃color3#e8c95argb(232 201 90)hsl(47 76% 63%)oklch(84.1% 0.134 93.7)8.20 AAA
藍color4#87bfcfrgb(135 191 207)hsl(193 43% 67%)oklch(77.2% 0.062 217.5)6.58 AA
洋紅color5#c79ab7rgb(199 154 183)hsl(321 29% 69%)oklch(73.7% 0.066 340.0)5.54 AA
青color6#79c9bbrgb(121 201 187)hsl(170 43% 63%)oklch(78.0% 0.082 181.7)6.90 AA
白color7#f5efd1rgb(245 239 209)hsl(50 64% 89%)oklch(94.9% 0.040 97.8)11.50 AAA
亮黑color8#cacfb9rgb(202 207 185)hsl(74 19% 77%)oklch(84.5% 0.030 117.5)8.33 AAA
亮紅color9#f2a481rgb(242 164 129)hsl(19 81% 73%)oklch(78.7% 0.105 44.9)6.59 AA
亮綠color10#a2d487rgb(162 212 135)hsl(99 47% 68%)oklch(81.6% 0.116 135.1)7.80 AAA
亮黃color11#ebcf6ergb(235 207 110)hsl(47 76% 68%)oklch(85.8% 0.121 93.6)8.67 AAA
亮藍color12#95c7d5rgb(149 199 213)hsl(193 43% 71%)oklch(79.9% 0.056 216.9)7.23 AAA
亮洋紅color13#cea6c0rgb(206 166 192)hsl(321 29% 73%)oklch(76.9% 0.058 339.5)6.24 AA
亮青color14#89cfc3rgb(137 207 195)hsl(170 42% 67%)oklch(80.5% 0.073 182.5)7.46 AAA
亮白color15#f6f1d7rgb(246 241 215)hsl(50 63% 90%)oklch(95.5% 0.035 98.1)11.71 AAA

關於 Pumpkin Patch

Pumpkin Patch 採用中性色調的深色背景(#243416),預設前景色為 #f5efd1。內文的 WCAG 對比度為 11.50:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.03:1,最低 5.54:1。

色票整體色彩彩度適中,其中紅色為 #f09870、綠色為 #95ce77、藍色為 #87bfcf、洋紅為 #c79ab7。

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

與 Pumpkin Patch 相似的配色

資料來源:iTerm2 Color Schemes (MIT)