跳到主要內容

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