跳到主要內容

Asteroid City

Asteroid City 是一套淺色終端機配色(柔和、冷色),背景色 #c4f4f1,文字色 #22211a,對比度 13.5:1

取得設定檔
背景色
#c4f4f1
前景色
#22211a
文字對比度
13.50:1AAA
強調色對比度
2.90:1最低 1.03
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
❯

Asteroid City 的設定檔

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

Asteroid City

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

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

palette = 0=#22211a
palette = 1=#d0392b
palette = 2=#076706
palette = 3=#d88900
palette = 4=#0088db
palette = 5=#c5218e
palette = 6=#1f4e45
palette = 7=#f1f1f1
palette = 8=#8e8e8e
palette = 9=#ffc4bd
palette = 10=#d6fcb9
palette = 11=#fefdd5
palette = 12=#c1e3fe
palette = 13=#ffb1fe
palette = 14=#e5e6fe
palette = 15=#feffff
background = #c4f4f1
foreground = #22211a
cursor-color = #d83e1c
cursor-text = #c4f4f1
selection-background = #98bab5
selection-foreground = #22211a

Asteroid City 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#c4f4f1rgb(196 244 241)hsl(176 69% 86%)oklch(93.3% 0.049 191.6)—
前景色foreground#22211argb(34 33 26)hsl(53 13% 12%)oklch(24.6% 0.013 100.6)13.50 AAA
光標cursor#d83e1crgb(216 62 28)hsl(11 77% 48%)oklch(58.8% 0.196 33.6)3.80 AA 大字體
光標文字cursorText#c4f4f1rgb(196 244 241)hsl(176 69% 86%)oklch(93.3% 0.049 191.6)1.00 低於 AA
選取範圍selection#98bab5rgb(152 186 181)hsl(171 20% 66%)oklch(76.2% 0.037 185.5)1.75 低於 AA
選取文字selectionText#22211argb(34 33 26)hsl(53 13% 12%)oklch(24.6% 0.013 100.6)13.50 AAA
黑color0#22211argb(34 33 26)hsl(53 13% 12%)oklch(24.6% 0.013 100.6)13.50 AAA
紅color1#d0392brgb(208 57 43)hsl(5 66% 49%)oklch(57.1% 0.190 29.5)4.08 AA 大字體
綠color2#076706rgb(7 103 6)hsl(119 89% 21%)oklch(44.6% 0.148 142.5)5.95 AA
黃color3#d88900rgb(216 137 0)hsl(38 100% 42%)oklch(69.6% 0.151 69.4)2.34 低於 AA
藍color4#0088dbrgb(0 136 219)hsl(203 100% 43%)oklch(60.9% 0.158 246.5)3.17 AA 大字體
洋紅color5#c5218ergb(197 33 142)hsl(320 71% 45%)oklch(55.9% 0.218 346.2)4.41 AA 大字體
青color6#1f4e45rgb(31 78 69)hsl(169 43% 21%)oklch(38.8% 0.054 178.9)7.86 AAA
白color7#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)1.06 低於 AA
亮黑color8#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)2.74 低於 AA
亮紅color9#ffc4bdrgb(255 196 189)hsl(6 100% 87%)oklch(87.1% 0.069 26.3)1.26 低於 AA
亮綠color10#d6fcb9rgb(214 252 185)hsl(94 92% 86%)oklch(94.8% 0.096 132.1)1.05 低於 AA
亮黃color11#fefdd5rgb(254 253 213)hsl(59 95% 92%)oklch(98.5% 0.052 106.1)1.15 低於 AA
亮藍color12#c1e3fergb(193 227 254)hsl(207 97% 88%)oklch(90.0% 0.052 242.2)1.12 低於 AA
亮洋紅color13#ffb1fergb(255 177 254)hsl(301 100% 85%)oklch(85.9% 0.133 327.1)1.35 低於 AA
亮青color14#e5e6fergb(229 230 254)hsl(238 93% 95%)oklch(93.1% 0.032 283.8)1.03 低於 AA
亮白color15#feffffrgb(254 255 255)hsl(180 100% 100%)oklch(99.9% 0.001 197.1)1.19 低於 AA

關於 Asteroid City

Asteroid City 採用冷色調的淺色背景(#c4f4f1),預設前景色為 #22211a。正文的 WCAG 對比度為 13.50:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.90:1,最低 1.03:1。

色板整體色彩飽和度適中,其中紅色為 #d0392b、綠色為 #076706、藍色為 #0088db、洋紅為 #c5218e。

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

與 Asteroid City 相似的配色

資料來源:Warp Themes (Apache-2.0)