跳到主要內容

Monokai Soda

Monokai Soda 是一套深色終端機配色(鮮豔),背景色 #1a1a1a,文字色 #c4c5b5,對比度 9.9:1

取得設定檔
背景色
#1a1a1a
前景色
#c4c5b5
文字對比度
9.95:1AAA
強調色對比度
7.13:1最低 4.15
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
❯

Monokai Soda 的設定檔

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

Monokai Soda

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

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

palette = 0=#1a1a1a
palette = 1=#f4005f
palette = 2=#98e024
palette = 3=#fa8419
palette = 4=#9d65ff
palette = 5=#f4005f
palette = 6=#58d1eb
palette = 7=#c4c5b5
palette = 8=#625e4c
palette = 9=#f4005f
palette = 10=#98e024
palette = 11=#e0d561
palette = 12=#9d65ff
palette = 13=#f4005f
palette = 14=#58d1eb
palette = 15=#f6f6ef
background = #1a1a1a
foreground = #c4c5b5
cursor-color = #f6f7ec
cursor-text = #c4c5b5
selection-background = #343434
selection-foreground = #c4c5b5

Monokai Soda 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#c4c5b5rgb(196 197 181)hsl(64 12% 74%)oklch(81.8% 0.022 109.8)9.95 AAA
游標cursor#f6f7ecrgb(246 247 236)hsl(65 41% 95%)oklch(97.2% 0.015 110.9)16.11 AAA
游標文字cursorText#c4c5b5rgb(196 197 181)hsl(64 12% 74%)oklch(81.8% 0.022 109.8)9.95 AAA
選取範圍selection#343434rgb(52 52 52)hsl(0 0% 20%)oklch(32.5% 0.000 0)1.40 低於 AA
選取文字selectionText#c4c5b5rgb(196 197 181)hsl(64 12% 74%)oklch(81.8% 0.022 109.8)9.95 AAA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
紅color1#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)4.15 AA 大字級
綠color2#98e024rgb(152 224 36)hsl(83 75% 51%)oklch(82.8% 0.213 129.8)10.79 AAA
黃color3#fa8419rgb(250 132 25)hsl(29 96% 54%)oklch(73.2% 0.176 54.4)6.94 AA
藍color4#9d65ffrgb(157 101 255)hsl(262 100% 70%)oklch(64.2% 0.219 296.5)4.76 AA
洋紅color5#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)4.15 AA 大字級
青color6#58d1ebrgb(88 209 235)hsl(191 79% 63%)oklch(80.2% 0.113 214.3)9.73 AAA
白color7#c4c5b5rgb(196 197 181)hsl(64 12% 74%)oklch(81.8% 0.022 109.8)9.95 AAA
亮黑color8#625e4crgb(98 94 76)hsl(49 13% 34%)oklch(48.0% 0.028 96.9)2.67 低於 AA
亮紅color9#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)4.15 AA 大字級
亮綠color10#98e024rgb(152 224 36)hsl(83 75% 51%)oklch(82.8% 0.213 129.8)10.79 AAA
亮黃color11#e0d561rgb(224 213 97)hsl(55 67% 63%)oklch(85.9% 0.137 103.9)11.49 AAA
亮藍color12#9d65ffrgb(157 101 255)hsl(262 100% 70%)oklch(64.2% 0.219 296.5)4.76 AA
亮洋紅color13#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)4.15 AA 大字級
亮青color14#58d1ebrgb(88 209 235)hsl(191 79% 63%)oklch(80.2% 0.113 214.3)9.73 AAA
亮白color15#f6f6efrgb(246 246 239)hsl(60 28% 95%)oklch(97.1% 0.009 106.6)16.03 AAA

關於 Monokai Soda

Monokai Soda 採用中性色調的深色背景(#1a1a1a),預設前景色為 #c4c5b5。內文的 WCAG 對比度為 9.95:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.13:1,最低 4.15:1。

色票整體色彩彩度較高,其中紅色為 #f4005f、綠色為 #98e024、藍色為 #9d65ff、洋紅為 #f4005f。此配色歸屬 Monokai 主題系列。

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

與 Monokai Soda 相似的配色

資料來源:iTerm2 Color Schemes (MIT)