跳到主要內容

Material Theme Mod

Material Theme Mod 是一套深色終端機配色(冷色),背景色 #1e282d,文字色 #c4c7d1,對比度 8.9:1

取得設定檔
背景色
#1e282d
前景色
#c4c7d1
文字對比度
8.91:1AAA
強調色對比度
7.60:1最低 1.48
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
❯

Material Theme Mod 的設定檔

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

Material Theme Mod

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

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

palette = 0=#666666
palette = 1=#eb606b
palette = 2=#c3e88d
palette = 3=#f7eb95
palette = 4=#80cbc4
palette = 5=#ff2f90
palette = 6=#aeddff
palette = 7=#ffffff
palette = 8=#a1a1a1
palette = 9=#eb606b
palette = 10=#c3e88d
palette = 11=#f7eb95
palette = 12=#7dc6bf
palette = 13=#6c71c4
palette = 14=#35434d
palette = 15=#ffffff
background = #1e282d
foreground = #c4c7d1
cursor-color = #c4c7d1
cursor-text = #1e282d
selection-background = #434c52
selection-foreground = #c4c7d1

Material Theme Mod 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e282drgb(30 40 45)hsl(200 20% 15%)oklch(27.0% 0.017 229.8)—
前景色foreground#c4c7d1rgb(196 199 209)hsl(226 12% 79%)oklch(83.0% 0.014 272.7)8.91 AAA
游標cursor#c4c7d1rgb(196 199 209)hsl(226 12% 79%)oklch(83.0% 0.014 272.7)8.91 AAA
游標文字cursorText#1e282drgb(30 40 45)hsl(200 20% 15%)oklch(27.0% 0.017 229.8)1.00 低於 AA
選取範圍selection#434c52rgb(67 76 82)hsl(204 10% 29%)oklch(41.1% 0.015 237.0)1.71 低於 AA
選取文字selectionText#c4c7d1rgb(196 199 209)hsl(226 12% 79%)oklch(83.0% 0.014 272.7)8.91 AAA
黑color0#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.62 低於 AA
紅color1#eb606brgb(235 96 107)hsl(355 78% 65%)oklch(66.8% 0.172 18.3)4.60 AA
綠color2#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)10.92 AAA
黃color3#f7eb95rgb(247 235 149)hsl(53 86% 78%)oklch(93.1% 0.107 101.3)12.37 AAA
藍color4#80cbc4rgb(128 203 196)hsl(174 42% 65%)oklch(79.1% 0.075 188.2)8.06 AAA
洋紅color5#ff2f90rgb(255 47 144)hsl(332 100% 59%)oklch(66.5% 0.246 359.1)4.34 AA 大字級
青color6#aeddffrgb(174 221 255)hsl(205 100% 84%)oklch(87.6% 0.068 240.0)10.44 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.04 AAA
亮黑color8#a1a1a1rgb(161 161 161)hsl(0 0% 63%)oklch(70.9% 0.000 0)5.82 AA
亮紅color9#eb606brgb(235 96 107)hsl(355 78% 65%)oklch(66.8% 0.172 18.3)4.60 AA
亮綠color10#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)10.92 AAA
亮黃color11#f7eb95rgb(247 235 149)hsl(53 86% 78%)oklch(93.1% 0.107 101.3)12.37 AAA
亮藍color12#7dc6bfrgb(125 198 191)hsl(174 39% 63%)oklch(77.7% 0.074 188.0)7.66 AAA
亮洋紅color13#6c71c4rgb(108 113 196)hsl(237 43% 60%)oklch(58.2% 0.126 279.1)3.43 AA 大字級
亮青color14#35434drgb(53 67 77)hsl(205 18% 25%)oklch(37.5% 0.025 239.4)1.48 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.04 AAA

關於 Material Theme Mod

Material Theme Mod 採用冷色調的深色背景(#1e282d),預設前景色為 #c4c7d1。內文的 WCAG 對比度為 8.91:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.60:1,最低 1.48:1。

色票整體色彩彩度適中,其中紅色為 #eb606b、綠色為 #c3e88d、藍色為 #80cbc4、洋紅為 #ff2f90。此配色歸屬 Material 主題系列。

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

與 Material Theme Mod 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)