跳到主要內容

Sangdoist

Sangdoist 是一套深色終端機配色,背景色 #131417,文字色 #cececc,對比度 11.7:1

取得設定檔
背景色
#131417
前景色
#cececc
文字對比度
11.69:1AAA
強調色對比度
7.16:1最低 2.47
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
❯

Sangdoist 的設定檔

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

Sangdoist

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

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

palette = 0=#131417
palette = 1=#ec6029
palette = 2=#a1c246
palette = 3=#e5bd2b
palette = 4=#2d7aec
palette = 5=#b95485
palette = 6=#a3cbc2
palette = 7=#e0e0dc
palette = 8=#62627a
palette = 9=#e43e1d
palette = 10=#75bf52
palette = 11=#e4c92e
palette = 12=#3641cf
palette = 13=#d3579d
palette = 14=#bfc9e1
palette = 15=#e7e7e4
background = #131417
foreground = #cececc
cursor-color = #cececc
cursor-text = #131417
selection-background = #3b3c3e
selection-foreground = #cececc

Sangdoist 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#131417rgb(19 20 23)hsl(225 10% 8%)oklch(19.1% 0.006 271.1)—
前景色foreground#cececcrgb(206 206 204)hsl(60 2% 80%)oklch(85.1% 0.003 106.5)11.69 AAA
游標cursor#cececcrgb(206 206 204)hsl(60 2% 80%)oklch(85.1% 0.003 106.5)11.69 AAA
游標文字cursorText#131417rgb(19 20 23)hsl(225 10% 8%)oklch(19.1% 0.006 271.1)1.00 低於 AA
選取範圍selection#3b3c3ergb(59 60 62)hsl(220 2% 24%)oklch(35.6% 0.004 264.5)1.67 低於 AA
選取文字selectionText#cececcrgb(206 206 204)hsl(60 2% 80%)oklch(85.1% 0.003 106.5)11.69 AAA
黑color0#131417rgb(19 20 23)hsl(225 10% 8%)oklch(19.1% 0.006 271.1)1.00 低於 AA
紅color1#ec6029rgb(236 96 41)hsl(17 84% 54%)oklch(66.1% 0.185 39.8)5.50 AA
綠color2#a1c246rgb(161 194 70)hsl(76 50% 52%)oklch(76.5% 0.154 122.8)9.05 AAA
黃color3#e5bd2brgb(229 189 43)hsl(47 78% 53%)oklch(81.1% 0.156 92.2)10.21 AAA
藍color4#2d7aecrgb(45 122 236)hsl(216 83% 55%)oklch(59.5% 0.188 258.7)4.48 AA 大字級
洋紅color5#b95485rgb(185 84 133)hsl(331 42% 53%)oklch(58.7% 0.141 352.0)4.10 AA 大字級
青color6#a3cbc2rgb(163 203 194)hsl(167 28% 72%)oklch(81.1% 0.044 179.9)10.42 AAA
白color7#e0e0dcrgb(224 224 220)hsl(60 6% 87%)oklch(90.6% 0.005 106.5)13.92 AAA
亮黑color8#62627argb(98 98 122)hsl(240 11% 43%)oklch(50.5% 0.038 285.0)3.11 AA 大字級
亮紅color9#e43e1drgb(228 62 29)hsl(10 79% 50%)oklch(60.9% 0.207 32.9)4.39 AA 大字級
亮綠color10#75bf52rgb(117 191 82)hsl(101 46% 54%)oklch(73.2% 0.162 136.8)8.18 AAA
亮黃color11#e4c92ergb(228 201 46)hsl(51 77% 54%)oklch(83.4% 0.162 98.5)11.13 AAA
亮藍color12#3641cfrgb(54 65 207)hsl(236 61% 51%)oklch(46.7% 0.214 271.4)2.47 低於 AA
亮洋紅color13#d3579drgb(211 87 157)hsl(326 58% 58%)oklch(63.6% 0.173 348.2)4.93 AA
亮青color14#bfc9e1rgb(191 201 225)hsl(222 36% 82%)oklch(83.6% 0.035 267.6)11.10 AAA
亮白color15#e7e7e4rgb(231 231 228)hsl(60 6% 90%)oklch(92.7% 0.004 106.5)14.87 AAA

關於 Sangdoist

Sangdoist 採用中性色調的深色背景(#131417),預設前景色為 #cececc。內文的 WCAG 對比度為 11.69:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.16:1,最低 2.47:1。

色票整體色彩彩度適中,其中紅色為 #ec6029、綠色為 #a1c246、藍色為 #2d7aec、洋紅為 #b95485。

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

與 Sangdoist 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)