跳到正文

Shadotheme

Shadotheme 是一套深色终端配色(冷色),背景色 #191724,文字色 #e3c7fc,对比度 11.6:1

获取配置
背景色
#191724
前景色
#e3c7fc
文字对比度
11.64:1AAA
强调色对比度
6.03:1最低 2.90
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
❯

Shadotheme 的配置文件

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

Shadotheme

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

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

palette = 0=#140a1d
palette = 1=#b52a5b
palette = 2=#ff4971
palette = 3=#8897f4
palette = 4=#bd93f9
palette = 5=#e9729d
palette = 6=#f18fb0
palette = 7=#f1c4e0
palette = 8=#a8899c
palette = 9=#b52a5b
palette = 10=#ff4971
palette = 11=#8897f4
palette = 12=#bd93f9
palette = 13=#e9729d
palette = 14=#f18fb0
palette = 15=#f1c4e0
background = #191724
foreground = #e3c7fc
cursor-color = #e3c7fc
cursor-text = #191724
selection-background = #453d53
selection-foreground = #e3c7fc

Shadotheme 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#191724rgb(25 23 36)hsl(249 22% 12%)oklch(21.3% 0.025 291.1)—
前景色foreground#e3c7fcrgb(227 199 252)hsl(272 90% 88%)oklch(87.0% 0.078 308.7)11.64 AAA
光标cursor#e3c7fcrgb(227 199 252)hsl(272 90% 88%)oklch(87.0% 0.078 308.7)11.64 AAA
光标文字cursorText#191724rgb(25 23 36)hsl(249 22% 12%)oklch(21.3% 0.025 291.1)1.00 低于 AA
选区selection#453d53rgb(69 61 83)hsl(262 15% 28%)oklch(37.7% 0.038 301.2)1.72 低于 AA
选区文字selectionText#e3c7fcrgb(227 199 252)hsl(272 90% 88%)oklch(87.0% 0.078 308.7)11.64 AAA
黑color0#140a1drgb(20 10 29)hsl(272 49% 8%)oklch(17.0% 0.040 306.9)1.09 低于 AA
红color1#b52a5brgb(181 42 91)hsl(339 62% 44%)oklch(51.9% 0.177 5.0)2.90 低于 AA
绿color2#ff4971rgb(255 73 113)hsl(347 100% 64%)oklch(67.6% 0.217 12.6)5.42 AA
黄color3#8897f4rgb(136 151 244)hsl(232 83% 75%)oklch(70.4% 0.137 275.4)6.54 AA
蓝color4#bd93f9rgb(189 147 249)hsl(265 89% 78%)oklch(74.2% 0.149 301.9)7.32 AAA
品红color5#e9729drgb(233 114 157)hsl(338 73% 68%)oklch(70.2% 0.153 359.0)6.19 AA
青color6#f18fb0rgb(241 143 176)hsl(340 78% 75%)oklch(76.2% 0.124 358.8)7.82 AAA
白color7#f1c4e0rgb(241 196 224)hsl(323 62% 86%)oklch(86.8% 0.063 340.7)11.53 AAA
亮黑color8#a8899crgb(168 137 156)hsl(323 15% 60%)oklch(66.5% 0.046 341.1)5.65 AA
亮红color9#b52a5brgb(181 42 91)hsl(339 62% 44%)oklch(51.9% 0.177 5.0)2.90 低于 AA
亮绿color10#ff4971rgb(255 73 113)hsl(347 100% 64%)oklch(67.6% 0.217 12.6)5.42 AA
亮黄color11#8897f4rgb(136 151 244)hsl(232 83% 75%)oklch(70.4% 0.137 275.4)6.54 AA
亮蓝color12#bd93f9rgb(189 147 249)hsl(265 89% 78%)oklch(74.2% 0.149 301.9)7.32 AAA
亮品红color13#e9729drgb(233 114 157)hsl(338 73% 68%)oklch(70.2% 0.153 359.0)6.19 AA
亮青color14#f18fb0rgb(241 143 176)hsl(340 78% 75%)oklch(76.2% 0.124 358.8)7.82 AAA
亮白color15#f1c4e0rgb(241 196 224)hsl(323 62% 86%)oklch(86.8% 0.063 340.7)11.53 AAA

关于 Shadotheme

Shadotheme 采用冷色调的深色背景(#191724),默认前景色为 #e3c7fc。正文的 WCAG 对比度为 11.64:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.03:1,最低 2.90:1。

色板整体色彩饱和度适中,其中红色为 #b52a5b、绿色为 #ff4971、蓝色为 #bd93f9、品红为 #e9729d。

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

与 Shadotheme 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)