跳到主要內容

Material Palenight

Material Palenight 是一套深色終端機配色(柔和、冷色),背景色 #292d3e,文字色 #a6accd,對比度 6.1:1

取得設定檔
背景色
#292d3e
前景色
#a6accd
文字對比度
6.11:1AA
強調色對比度
6.90:1最低 4.37
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 Palenight 的設定檔

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

Material Palenight

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

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

palette = 0=#2e3436
palette = 1=#ff5370
palette = 2=#c3e88d
palette = 3=#ffcb6b
palette = 4=#82aaff
palette = 5=#c792ea
palette = 6=#89ddff
palette = 7=#d3d7cf
palette = 8=#555753
palette = 9=#f07178
palette = 10=#c3e88d
palette = 11=#f78c6c
palette = 12=#729fcf
palette = 13=#bb80b3
palette = 14=#89ddff
palette = 15=#eeeeec
background = #292d3e
foreground = #a6accd
cursor-color = #a6accd
cursor-text = #292d3e
selection-background = #454a5f
selection-foreground = #a6accd

Material Palenight 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#292d3ergb(41 45 62)hsl(229 20% 20%)oklch(30.1% 0.031 274.1)—
前景色foreground#a6accdrgb(166 172 205)hsl(231 28% 73%)oklch(75.1% 0.048 277.1)6.11 AA
光標cursor#a6accdrgb(166 172 205)hsl(231 28% 73%)oklch(75.1% 0.048 277.1)6.11 AA
光標文字cursorText#292d3ergb(41 45 62)hsl(229 20% 20%)oklch(30.1% 0.031 274.1)1.00 低於 AA
選取範圍selection#454a5frgb(69 74 95)hsl(228 16% 32%)oklch(41.3% 0.036 274.3)1.56 低於 AA
選取文字selectionText#a6accdrgb(166 172 205)hsl(231 28% 73%)oklch(75.1% 0.048 277.1)6.11 AA
黑color0#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)1.08 低於 AA
紅color1#ff5370rgb(255 83 112)hsl(350 100% 66%)oklch(68.5% 0.207 14.8)4.37 AA 大字體
綠color2#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)9.91 AAA
黃color3#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)9.10 AAA
藍color4#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)5.94 AA
洋紅color5#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)5.67 AA
青color6#89ddffrgb(137 221 255)hsl(197 100% 77%)oklch(85.6% 0.094 225.9)9.00 AAA
白color7#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)9.35 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)1.87 低於 AA
亮紅color9#f07178rgb(240 113 120)hsl(357 81% 69%)oklch(70.1% 0.157 18.6)4.77 AA
亮綠color10#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)9.91 AAA
亮黃color11#f78c6crgb(247 140 108)hsl(14 90% 70%)oklch(74.9% 0.138 37.5)5.80 AA
亮藍color12#729fcfrgb(114 159 207)hsl(211 49% 63%)oklch(68.9% 0.086 250.7)4.92 AA
亮洋紅color13#bb80b3rgb(187 128 179)hsl(308 30% 62%)oklch(67.6% 0.100 331.5)4.45 AA 大字體
亮青color14#89ddffrgb(137 221 255)hsl(197 100% 77%)oklch(85.6% 0.094 225.9)9.00 AAA
亮白color15#eeeeecrgb(238 238 236)hsl(60 6% 93%)oklch(94.9% 0.003 106.5)11.74 AAA

關於 Material Palenight

Material Palenight 採用冷色調的深色背景(#292d3e),預設前景色為 #a6accd。正文的 WCAG 對比度為 6.11:1(AA),12 種 ANSI 彩色槽位平均對比度 6.90:1,最低 4.37:1。

色板整體色彩飽和度適中,其中紅色為 #ff5370、綠色為 #c3e88d、藍色為 #82aaff、洋紅為 #c792ea。該配色歸屬 Material 主題系列。

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

與 Material Palenight 相似的配色

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