跳到主要內容

Material

Material 是一套淺色終端機配色(柔和),背景色 #eaeaea,文字色 #232322,對比度 13.1:1

取得設定檔
背景色
#eaeaea
前景色
#232322
文字對比度
13.08:1AAA
強調色對比度
3.92:1最低 1.02
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 的設定檔

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

Material

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

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

palette = 0=#212121
palette = 1=#b7141f
palette = 2=#457b24
palette = 3=#f6981e
palette = 4=#134eb2
palette = 5=#560088
palette = 6=#0e717c
palette = 7=#efefef
palette = 8=#424242
palette = 9=#e83b3f
palette = 10=#7aba3a
palette = 11=#ffea2e
palette = 12=#54a4f3
palette = 13=#aa4dbc
palette = 14=#26bbd1
palette = 15=#d9d9d9
background = #eaeaea
foreground = #232322
cursor-color = #16afca
cursor-text = #2e2e2d
selection-background = #c2c2c2
selection-foreground = #4e4e4e

Material 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#eaeaeargb(234 234 234)hsl(0 0% 92%)oklch(93.7% 0.000 0)—
前景色foreground#232322rgb(35 35 34)hsl(60 1% 14%)oklch(25.6% 0.002 106.5)13.08 AAA
游標cursor#16afcargb(22 175 202)hsl(189 80% 44%)oklch(69.5% 0.119 214.3)2.18 低於 AA
游標文字cursorText#2e2e2drgb(46 46 45)hsl(60 1% 18%)oklch(30.1% 0.002 106.5)11.30 AAA
選取範圍selection#c2c2c2rgb(194 194 194)hsl(0 0% 76%)oklch(81.4% 0.000 0)1.48 低於 AA
選取文字selectionText#4e4e4ergb(78 78 78)hsl(0 0% 31%)oklch(42.4% 0.000 0)6.92 AA
黑color0#212121rgb(33 33 33)hsl(0 0% 13%)oklch(24.8% 0.000 0)13.38 AAA
紅color1#b7141frgb(183 20 31)hsl(356 80% 40%)oklch(49.8% 0.192 25.8)5.57 AA
綠color2#457b24rgb(69 123 36)hsl(97 55% 31%)oklch(52.6% 0.132 135.9)4.25 AA 大字級
黃color3#f6981ergb(246 152 30)hsl(34 92% 54%)oklch(76.0% 0.163 65.2)1.85 低於 AA
藍color4#134eb2rgb(19 78 178)hsl(218 81% 39%)oklch(45.2% 0.170 260.7)6.32 AA
洋紅color5#560088rgb(86 0 136)hsl(278 100% 27%)oklch(36.1% 0.187 305.7)9.97 AAA
青color6#0e717crgb(14 113 124)hsl(186 80% 27%)oklch(50.3% 0.083 207.1)4.75 AA
白color7#efefefrgb(239 239 239)hsl(0 0% 94%)oklch(95.2% 0.000 0)1.05 低於 AA
亮黑color8#424242rgb(66 66 66)hsl(0 0% 26%)oklch(37.9% 0.000 0)8.35 AAA
亮紅color9#e83b3frgb(232 59 63)hsl(359 79% 57%)oklch(61.6% 0.209 24.8)3.40 AA 大字級
亮綠color10#7aba3argb(122 186 58)hsl(90 52% 48%)oklch(72.0% 0.171 132.3)1.96 低於 AA
亮黃color11#ffea2ergb(255 234 46)hsl(54 100% 59%)oklch(92.6% 0.185 102.4)1.02 低於 AA
亮藍color12#54a4f3rgb(84 164 243)hsl(210 87% 64%)oklch(70.3% 0.141 250.2)2.19 低於 AA
亮洋紅color13#aa4dbcrgb(170 77 188)hsl(290 45% 52%)oklch(58.2% 0.185 320.9)3.88 AA 大字級
亮青color14#26bbd1rgb(38 187 209)hsl(188 69% 48%)oklch(72.9% 0.119 210.4)1.92 低於 AA
亮白color15#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)1.17 低於 AA

關於 Material

Material 採用中性色調的淺色背景(#eaeaea),預設前景色為 #232322。內文的 WCAG 對比度為 13.08:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.92:1,最低 1.02:1。

色票整體色彩彩度適中,其中紅色為 #b7141f、綠色為 #457b24、藍色為 #134eb2、洋紅為 #560088。此配色歸屬 Material 主題系列。

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

與 Material 相似的配色

資料來源:iTerm2 Color Schemes (MIT)