跳到主要內容

DimmedMonokai

DimmedMonokai 是一套深色終端機配色,背景色 #1e1e1e,文字色 #b8bcb9,對比度 8.7:1

取得設定檔
背景色
#1e1e1e
前景色
#b8bcb9
文字對比度
8.68:1AAA
強調色對比度
4.03:1最低 2.72
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
❯

DimmedMonokai 的設定檔

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

DimmedMonokai

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

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

palette = 0=#3a3c43
palette = 1=#be3e48
palette = 2=#869a3a
palette = 3=#c4a535
palette = 4=#4e76a1
palette = 5=#855b8d
palette = 6=#568ea3
palette = 7=#b8bcb9
palette = 8=#888987
palette = 9=#fb001e
palette = 10=#0e712e
palette = 11=#c37033
palette = 12=#176ce3
palette = 13=#fb0067
palette = 14=#2d6f6c
palette = 15=#fcffb8
background = #1e1e1e
foreground = #b8bcb9
cursor-color = #f83d19
cursor-text = #1e1e1e
selection-background = #292c31
selection-foreground = #1e1e1e

DimmedMonokai 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#b8bcb9rgb(184 188 185)hsl(135 3% 73%)oklch(79.1% 0.006 153.7)8.68 AAA
游標cursor#f83d19rgb(248 61 25)hsl(10 94% 54%)oklch(64.2% 0.227 32.5)4.50 AA
游標文字cursorText#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.00 低於 AA
選取範圍selection#292c31rgb(41 44 49)hsl(218 9% 18%)oklch(29.2% 0.010 260.7)1.19 低於 AA
選取文字selectionText#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.00 低於 AA
黑color0#3a3c43rgb(58 60 67)hsl(227 7% 25%)oklch(35.7% 0.012 273.1)1.51 低於 AA
紅color1#be3e48rgb(190 62 72)hsl(355 51% 49%)oklch(55.0% 0.163 20.0)3.15 AA 大字級
綠color2#869a3argb(134 154 58)hsl(72 45% 42%)oklch(65.1% 0.124 119.9)5.32 AA
黃color3#c4a535rgb(196 165 53)hsl(47 57% 49%)oklch(73.0% 0.131 93.0)6.97 AA
藍color4#4e76a1rgb(78 118 161)hsl(211 35% 47%)oklch(55.5% 0.081 251.1)3.52 AA 大字級
洋紅color5#855b8drgb(133 91 141)hsl(290 22% 45%)oklch(53.5% 0.091 321.0)3.08 AA 大字級
青color6#568ea3rgb(86 142 163)hsl(196 31% 49%)oklch(61.6% 0.067 224.0)4.60 AA
白color7#b8bcb9rgb(184 188 185)hsl(135 3% 73%)oklch(79.1% 0.006 153.7)8.68 AAA
亮黑color8#888987rgb(136 137 135)hsl(90 1% 53%)oklch(62.9% 0.003 128.5)4.74 AA
亮紅color9#fb001ergb(251 0 30)hsl(353 100% 49%)oklch(62.2% 0.253 26.9)4.07 AA 大字級
亮綠color10#0e712ergb(14 113 46)hsl(139 78% 25%)oklch(48.1% 0.133 148.1)2.72 低於 AA
亮黃color11#c37033rgb(195 112 51)hsl(25 59% 48%)oklch(62.7% 0.129 53.9)4.51 AA
亮藍color12#176ce3rgb(23 108 227)hsl(215 82% 49%)oklch(55.5% 0.197 258.8)3.41 AA 大字級
亮洋紅color13#fb0067rgb(251 0 103)hsl(335 100% 49%)oklch(63.2% 0.253 9.7)4.21 AA 大字級
亮青color14#2d6f6crgb(45 111 108)hsl(177 42% 31%)oklch(49.9% 0.067 191.1)2.86 低於 AA
亮白color15#fcffb8rgb(252 255 184)hsl(63 100% 86%)oklch(98.1% 0.090 110.0)15.98 AAA

關於 DimmedMonokai

DimmedMonokai 採用中性色調的深色背景(#1e1e1e),預設前景色為 #b8bcb9。內文的 WCAG 對比度為 8.68:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.03:1,最低 2.72:1。

色票整體色彩彩度適中,其中紅色為 #be3e48、綠色為 #869a3a、藍色為 #4e76a1、洋紅為 #855b8d。此配色歸屬 Monokai 主題系列。

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

與 DimmedMonokai 相似的配色

資料來源:Kitty Themes (MIT)