跳到主要內容

thwump

thwump 是一套深色終端機配色(純黑),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
7.53:1最低 4.51
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
❯

thwump 的設定檔

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

thwump

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

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

palette = 0=#202020
palette = 1=#a07070
palette = 2=#70a070
palette = 3=#a0a070
palette = 4=#7070a0
palette = 5=#a070a0
palette = 6=#70a0a0
palette = 7=#a0a0a0
palette = 8=#505050
palette = 9=#d07070
palette = 10=#70d070
palette = 11=#d0d070
palette = 12=#7070d0
palette = 13=#d070d0
palette = 14=#70d0d0
palette = 15=#f0f0f0
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

thwump 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#202020rgb(32 32 32)hsl(0 0% 13%)oklch(24.4% 0.000 0)1.29 低於 AA
紅color1#a07070rgb(160 112 112)hsl(0 20% 53%)oklch(59.4% 0.061 19.0)5.05 AA
綠color2#70a070rgb(112 160 112)hsl(120 20% 53%)oklch(65.8% 0.087 144.5)6.95 AA
黃color3#a0a070rgb(160 160 112)hsl(60 20% 53%)oklch(69.4% 0.066 108.0)7.76 AAA
藍color4#7070a0rgb(112 112 160)hsl(240 20% 53%)oklch(56.4% 0.074 283.8)4.51 AA
洋紅color5#a070a0rgb(160 112 160)hsl(300 20% 53%)oklch(61.1% 0.090 326.6)5.32 AA
青color6#70a0a0rgb(112 160 160)hsl(180 20% 53%)oklch(67.2% 0.051 196.0)7.22 AAA
白color7#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)8.03 AAA
亮黑color8#505050rgb(80 80 80)hsl(0 0% 31%)oklch(43.1% 0.000 0)2.60 低於 AA
亮紅color9#d07070rgb(208 112 112)hsl(0 51% 63%)oklch(65.4% 0.121 20.9)6.23 AA
亮綠color10#70d070rgb(112 208 112)hsl(120 51% 63%)oklch(77.6% 0.161 143.8)10.95 AAA
亮黃color11#d0d070rgb(208 208 112)hsl(60 51% 63%)oklch(83.7% 0.119 108.7)12.94 AAA
亮藍color12#7070d0rgb(112 112 208)hsl(240 51% 63%)oklch(59.1% 0.144 281.1)4.92 AA
亮洋紅color13#d070d0rgb(208 112 208)hsl(300 51% 63%)oklch(68.7% 0.170 327.2)6.91 AA
亮青color14#70d0d0rgb(112 208 208)hsl(180 51% 63%)oklch(79.9% 0.091 195.5)11.62 AAA
亮白color15#f0f0f0rgb(240 240 240)hsl(0 0% 94%)oklch(95.5% 0.000 0)18.43 AAA

關於 thwump

thwump 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.53:1,最低 4.51:1。

色板整體色彩飽和度適中,其中紅色為 #a07070、綠色為 #70a070、藍色為 #7070a0、洋紅為 #a070a0。

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

與 thwump 相似的配色

資料來源:terminal.sexy (MIT)