跳到主要內容

Mathias

Mathias 是一套深色終端機配色(純黑、鮮豔),背景色 #000000,文字色 #bbbbbb,對比度 10.9:1

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

Mathias 的設定檔

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

Mathias

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

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

palette = 0=#000000
palette = 1=#e52222
palette = 2=#a6e32d
palette = 3=#fc951e
palette = 4=#c48dff
palette = 5=#fa2573
palette = 6=#67d9f0
palette = 7=#f2f2f2
palette = 8=#555555
palette = 9=#ff5555
palette = 10=#55ff55
palette = 11=#ffff55
palette = 12=#5555ff
palette = 13=#ff55ff
palette = 14=#55ffff
palette = 15=#ffffff
background = #000000
foreground = #bbbbbb
cursor-color = #bbbbbb
cursor-text = #ffffff
selection-background = #555555
selection-foreground = #f2f2f2

Mathias 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
游標cursor#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
選取範圍selection#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.82 低於 AA
選取文字selectionText#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)18.76 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#e52222rgb(229 34 34)hsl(0 79% 52%)oklch(59.1% 0.225 27.7)4.58 AA
綠color2#a6e32drgb(166 227 45)hsl(80 76% 53%)oklch(84.4% 0.206 127.4)13.65 AAA
黃color3#fc951ergb(252 149 30)hsl(32 97% 55%)oklch(76.2% 0.168 61.7)9.46 AAA
藍color4#c48dffrgb(196 141 255)hsl(269 100% 78%)oklch(74.2% 0.167 304.9)8.60 AAA
洋紅color5#fa2573rgb(250 37 115)hsl(338 96% 56%)oklch(64.3% 0.242 7.2)5.58 AA
青color6#67d9f0rgb(103 217 240)hsl(190 82% 67%)oklch(82.8% 0.108 212.8)12.76 AAA
白color7#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)18.76 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.82 低於 AA
亮紅color9#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)6.68 AA
亮綠color10#55ff55rgb(85 255 85)hsl(120 100% 67%)oklch(88.0% 0.252 143.1)15.82 AAA
亮黃color11#ffff55rgb(255 255 85)hsl(60 100% 67%)oklch(97.1% 0.183 109.4)19.69 AAA
亮藍color12#5555ffrgb(85 85 255)hsl(240 100% 67%)oklch(56.0% 0.244 275.1)4.13 AA 大字級
亮洋紅color13#ff55ffrgb(255 85 255)hsl(300 100% 67%)oklch(74.0% 0.272 327.9)8.00 AAA
亮青color14#55ffffrgb(85 255 255)hsl(180 100% 67%)oklch(91.5% 0.136 195.0)17.13 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 Mathias

Mathias 採用中性色調的深色背景(#000000),預設前景色為 #bbbbbb。內文的 WCAG 對比度為 10.94:1(AAA),12 種 ANSI 彩色槽位平均對比度 10.51:1,最低 4.13:1。

色票整體色彩彩度較高,其中紅色為 #e52222、綠色為 #a6e32d、藍色為 #c48dff、洋紅為 #fa2573。

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

與 Mathias 相似的配色

資料來源:iTerm2 Color Schemes (MIT)