跳到正文

Mono Theme

Mono Theme 是一套深色终端配色(纯黑、高对比度),背景色 #000000,文字色 #ffffff,对比度 21.0:1

获取配置
背景色
#000000
前景色
#ffffff
文字对比度
21.00:1AAA
强调色对比度
9.15:1最低 2.22
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
❯

Mono Theme 的配置文件

16 种格式,都从同一份色板生成

Mono Theme

存到 ~/.config/ghostty/themes/Mono Theme,再在 config 或 config.ghostty 里写 theme = Mono Theme

更多 Ghostty 配色
原始文件
# Theme: Mono Theme (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/mono-theme?format=ghostty

palette = 0=#000000
palette = 1=#6b6b6b
palette = 2=#c4c4c4
palette = 3=#b3b3b3
palette = 4=#999999
palette = 5=#717171
palette = 6=#8a8a8a
palette = 7=#b5cabb
palette = 8=#202020
palette = 9=#464646
palette = 10=#f8f8f8
palette = 11=#eeeeee
palette = 12=#7c7c7c
palette = 13=#adadad
palette = 14=#c0c0c0
palette = 15=#99ac9e
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Mono Theme 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
选区selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
红color1#6b6b6brgb(107 107 107)hsl(0 0% 42%)oklch(52.8% 0.000 0)3.94 AA 大字号
绿color2#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)12.04 AAA
黄color3#b3b3b3rgb(179 179 179)hsl(0 0% 70%)oklch(76.7% 0.000 0)10.02 AAA
蓝color4#999999rgb(153 153 153)hsl(0 0% 60%)oklch(68.3% 0.000 0)7.37 AAA
品红color5#717171rgb(113 113 113)hsl(0 0% 44%)oklch(54.9% 0.000 0)4.30 AA 大字号
青color6#8a8a8argb(138 138 138)hsl(0 0% 54%)oklch(63.3% 0.000 0)6.08 AA
白color7#b5cabbrgb(181 202 187)hsl(137 17% 75%)oklch(81.9% 0.031 154.6)12.13 AAA
亮黑color8#202020rgb(32 32 32)hsl(0 0% 13%)oklch(24.4% 0.000 0)1.29 低于 AA
亮红color9#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)2.22 低于 AA
亮绿color10#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)19.77 AAA
亮黄color11#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)18.10 AAA
亮蓝color12#7c7c7crgb(124 124 124)hsl(0 0% 49%)oklch(58.6% 0.000 0)5.03 AA
亮品红color13#adadadrgb(173 173 173)hsl(0 0% 68%)oklch(74.8% 0.000 0)9.36 AAA
亮青color14#c0c0c0rgb(192 192 192)hsl(0 0% 75%)oklch(80.8% 0.000 0)11.54 AAA
亮白color15#99ac9ergb(153 172 158)hsl(136 10% 64%)oklch(72.6% 0.029 153.7)8.75 AAA

关于 Mono Theme

Mono Theme 采用中性色调的深色背景(#000000),默认前景色为 #ffffff。正文的 WCAG 对比度为 21.00:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.15:1,最低 2.22:1。

色板整体色彩饱和度偏低,其中红色为 #6b6b6b、绿色为 #c4c4c4、蓝色为 #999999、品红为 #717171。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Mono Theme 相似的配色

数据来源:terminal.sexy (MIT)