跳到正文

Sourcerer

Sourcerer 是一套深色终端配色,背景色 #222222,文字色 #c2c2b0,对比度 8.8:1

获取配置
背景色
#222222
前景色
#c2c2b0
文字对比度
8.82:1AAA
强调色对比度
5.56:1最低 2.77
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
❯

Sourcerer 的配置文件

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

Sourcerer

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

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

palette = 0=#111111
palette = 1=#aa4450
palette = 2=#719611
palette = 3=#ff9800
palette = 4=#6688aa
palette = 5=#8f6f8f
palette = 6=#528b8b
palette = 7=#d3d3d3
palette = 8=#181818
palette = 9=#ff6a6a
palette = 10=#b1d631
palette = 11=#87875f
palette = 12=#90b0d1
palette = 13=#8181a6
palette = 14=#87ceeb
palette = 15=#c1cdc1
background = #222222
foreground = #c2c2b0
cursor-color = #c2c2b0
cursor-text = #222222
selection-background = #464642
selection-foreground = #c2c2b0

Sourcerer 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)—
前景色foreground#c2c2b0rgb(194 194 176)hsl(60 13% 73%)oklch(80.9% 0.025 106.9)8.82 AAA
光标cursor#c2c2b0rgb(194 194 176)hsl(60 13% 73%)oklch(80.9% 0.025 106.9)8.82 AAA
光标文字cursorText#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.00 低于 AA
选区selection#464642rgb(70 70 66)hsl(60 3% 27%)oklch(39.3% 0.007 106.7)1.68 低于 AA
选区文字selectionText#c2c2b0rgb(194 194 176)hsl(60 13% 73%)oklch(80.9% 0.025 106.9)8.82 AAA
黑color0#111111rgb(17 17 17)hsl(0 0% 7%)oklch(17.8% 0.000 0)1.19 低于 AA
红color1#aa4450rgb(170 68 80)hsl(353 43% 47%)oklch(52.7% 0.134 15.9)2.77 低于 AA
绿color2#719611rgb(113 150 17)hsl(77 80% 33%)oklch(62.3% 0.153 125.5)4.60 AA
黄color3#ff9800rgb(255 152 0)hsl(36 100% 50%)oklch(77.0% 0.174 64.1)7.38 AAA
蓝color4#6688aargb(102 136 170)hsl(210 29% 53%)oklch(61.4% 0.065 248.9)4.29 AA 大字号
品红color5#8f6f8frgb(143 111 143)hsl(300 13% 50%)oklch(58.4% 0.061 326.3)3.67 AA 大字号
青color6#528b8brgb(82 139 139)hsl(180 26% 43%)oklch(59.8% 0.060 195.7)4.11 AA 大字号
白color7#d3d3d3rgb(211 211 211)hsl(0 0% 83%)oklch(86.7% 0.000 0)10.63 AAA
亮黑color8#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.12 低于 AA
亮红color9#ff6a6argb(255 106 106)hsl(0 100% 71%)oklch(71.0% 0.182 22.9)5.70 AA
亮绿color10#b1d631rgb(177 214 49)hsl(73 67% 52%)oklch(82.1% 0.184 122.0)9.49 AAA
亮黄color11#87875frgb(135 135 95)hsl(60 17% 45%)oklch(61.3% 0.057 108.0)4.29 AA 大字号
亮蓝color12#90b0d1rgb(144 176 209)hsl(210 41% 69%)oklch(74.5% 0.059 249.4)7.06 AAA
亮品红color13#8181a6rgb(129 129 166)hsl(240 17% 58%)oklch(61.7% 0.056 284.7)4.26 AA 大字号
亮青color14#87ceebrgb(135 206 235)hsl(197 71% 73%)oklch(81.5% 0.082 225.8)9.14 AAA
亮白color15#c1cdc1rgb(193 205 193)hsl(120 11% 78%)oklch(83.6% 0.021 145.4)9.67 AAA

关于 Sourcerer

Sourcerer 采用中性色调的深色背景(#222222),默认前景色为 #c2c2b0。正文的 WCAG 对比度为 8.82:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.56:1,最低 2.77:1。

色板整体色彩饱和度适中,其中红色为 #aa4450、绿色为 #719611、蓝色为 #6688aa、品红为 #8f6f8f。

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

与 Sourcerer 相似的配色

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