跳到主要內容

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/zh-hk/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)