跳到主要內容

Spacedust

Spacedust 是一套深色終端機配色(冷色),背景色 #0a1e24,文字色 #ecf0c1,對比度 14.5:1

取得設定檔
背景色
#0a1e24
前景色
#ecf0c1
文字對比度
14.54:1AAA
強調色對比度
6.97:1最低 2.17
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
❯

Spacedust 的設定檔

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

Spacedust

存到 ~/.config/ghostty/themes/Spacedust,再在 config 或 config.ghostty 裏寫 theme = Spacedust

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

palette = 0=#6e5346
palette = 1=#e35b00
palette = 2=#5cab96
palette = 3=#e3cd7b
palette = 4=#0f548b
palette = 5=#e35b00
palette = 6=#06afc7
palette = 7=#f0f1ce
palette = 8=#684c31
palette = 9=#ff8a3a
palette = 10=#aecab8
palette = 11=#ffc878
palette = 12=#67a0ce
palette = 13=#ff8a3a
palette = 14=#83a7b4
palette = 15=#fefff1
background = #0a1e24
foreground = #ecf0c1
cursor-color = #708284
cursor-text = #002831
selection-background = #0a385c
selection-foreground = #ffffff

Spacedust 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0a1e24rgb(10 30 36)hsl(194 57% 9%)oklch(22.1% 0.028 219.9)—
前景色foreground#ecf0c1rgb(236 240 193)hsl(65 61% 85%)oklch(94.0% 0.061 111.5)14.54 AAA
光標cursor#708284rgb(112 130 132)hsl(186 8% 48%)oklch(59.3% 0.021 204.8)4.26 AA 大字體
光標文字cursorText#002831rgb(0 40 49)hsl(191 100% 10%)oklch(25.5% 0.046 216.8)1.10 低於 AA
選取範圍selection#0a385crgb(10 56 92)hsl(206 80% 20%)oklch(33.1% 0.079 247.5)1.42 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.16 AAA
黑color0#6e5346rgb(110 83 70)hsl(19 22% 35%)oklch(46.7% 0.042 46.9)2.44 低於 AA
紅color1#e35b00rgb(227 91 0)hsl(24 100% 45%)oklch(63.9% 0.186 43.9)4.71 AA
綠color2#5cab96rgb(92 171 150)hsl(164 32% 52%)oklch(68.4% 0.085 174.4)6.31 AA
黃color3#e3cd7brgb(227 205 123)hsl(47 65% 69%)oklch(84.9% 0.105 94.8)10.85 AAA
藍color4#0f548brgb(15 84 139)hsl(207 81% 30%)oklch(43.6% 0.111 248.7)2.17 低於 AA
洋紅color5#e35b00rgb(227 91 0)hsl(24 100% 45%)oklch(63.9% 0.186 43.9)4.71 AA
青color6#06afc7rgb(6 175 199)hsl(187 94% 40%)oklch(69.2% 0.120 212.0)6.51 AA
白color7#f0f1cergb(240 241 206)hsl(62 56% 88%)oklch(94.8% 0.046 108.6)14.85 AAA
亮黑color8#684c31rgb(104 76 49)hsl(29 36% 30%)oklch(44.0% 0.055 64.5)2.18 低於 AA
亮紅color9#ff8a3argb(255 138 58)hsl(24 100% 61%)oklch(75.0% 0.168 51.2)7.31 AAA
亮綠color10#aecab8rgb(174 202 184)hsl(141 21% 74%)oklch(81.3% 0.039 157.2)9.75 AAA
亮黃color11#ffc878rgb(255 200 120)hsl(36 100% 74%)oklch(86.5% 0.116 75.6)11.26 AAA
亮藍color12#67a0cergb(103 160 206)hsl(207 51% 61%)oklch(68.5% 0.091 244.0)6.12 AA
亮洋紅color13#ff8a3argb(255 138 58)hsl(24 100% 61%)oklch(75.0% 0.168 51.2)7.31 AAA
亮青color14#83a7b4rgb(131 167 180)hsl(196 25% 61%)oklch(70.6% 0.044 221.9)6.66 AA
亮白color15#fefff1rgb(254 255 241)hsl(64 100% 97%)oklch(99.5% 0.018 110.0)16.98 AAA

關於 Spacedust

Spacedust 採用冷色調的深色背景(#0a1e24),預設前景色為 #ecf0c1。正文的 WCAG 對比度為 14.54:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.97:1,最低 2.17:1。

色板整體色彩飽和度適中,其中紅色為 #e35b00、綠色為 #5cab96、藍色為 #0f548b、洋紅為 #e35b00。

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

與 Spacedust 相似的配色

資料來源:iTerm2 Color Schemes (MIT)