跳到主要內容

Smoke on the Terminal

Smoke on the Terminal 是一套深色終端機配色(低彩度、冷色),背景色 #30243a,文字色 #f5e8f4,對比度 12.3:1

取得設定檔
背景色
#30243a
前景色
#f5e8f4
文字對比度
12.32:1AAA
強調色對比度
7.64:1最低 5.74
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
❯

Smoke on the Terminal 的設定檔

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

Smoke on the Terminal

存到 ~/.config/ghostty/themes/Smoke on the Terminal,再在 config 或 config.ghostty 裡寫 theme = Smoke on the Terminal

更多 Ghostty 配色
原始檔
# Theme: Smoke on the Terminal (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/smoke-on-the-terminal?format=ghostty

palette = 0=#a8b2b8
palette = 1=#df8d80
palette = 2=#a7c996
palette = 3=#e4be83
palette = 4=#a4b5e2
palette = 5=#cf9be2
palette = 6=#8fcbd2
palette = 7=#f5e8f4
palette = 8=#b9c1c6
palette = 9=#e39b8f
palette = 10=#b2cfa3
palette = 11=#e7c692
palette = 12=#afbee5
palette = 13=#d5a7e5
palette = 14=#9cd1d7
palette = 15=#f7edf6
background = #30243a
foreground = #f5e8f4
cursor-color = #e7c692
cursor-text = #30243a
selection-background = #553f55
selection-foreground = #f5e8f4

Smoke on the Terminal 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#30243argb(48 36 58)hsl(273 23% 18%)oklch(28.4% 0.043 308.8)—
前景色foreground#f5e8f4rgb(245 232 244)hsl(305 39% 94%)oklch(94.5% 0.021 328.1)12.32 AAA
游標cursor#e7c692rgb(231 198 146)hsl(37 64% 74%)oklch(84.3% 0.077 78.7)8.96 AAA
游標文字cursorText#30243argb(48 36 58)hsl(273 23% 18%)oklch(28.4% 0.043 308.8)1.00 低於 AA
選取範圍selection#553f55rgb(85 63 85)hsl(300 15% 29%)oklch(40.0% 0.046 326.4)1.55 低於 AA
選取文字selectionText#f5e8f4rgb(245 232 244)hsl(305 39% 94%)oklch(94.5% 0.021 328.1)12.32 AAA
黑color0#a8b2b8rgb(168 178 184)hsl(203 10% 69%)oklch(75.8% 0.014 233.8)6.76 AA
紅color1#df8d80rgb(223 141 128)hsl(8 60% 69%)oklch(72.5% 0.103 29.6)5.74 AA
綠color2#a7c996rgb(167 201 150)hsl(100 32% 69%)oklch(79.8% 0.079 135.4)7.95 AAA
黃color3#e4be83rgb(228 190 131)hsl(36 64% 70%)oklch(82.1% 0.088 78.1)8.33 AAA
藍color4#a4b5e2rgb(164 181 226)hsl(224 52% 76%)oklch(77.6% 0.067 268.7)7.15 AAA
洋紅color5#cf9be2rgb(207 155 226)hsl(284 55% 75%)oklch(76.3% 0.114 316.8)6.56 AA
青color6#8fcbd2rgb(143 203 210)hsl(186 43% 69%)oklch(80.4% 0.062 205.1)8.09 AAA
白color7#f5e8f4rgb(245 232 244)hsl(305 39% 94%)oklch(94.5% 0.021 328.1)12.32 AAA
亮黑color8#b9c1c6rgb(185 193 198)hsl(203 10% 75%)oklch(80.6% 0.011 234.9)8.00 AAA
亮紅color9#e39b8frgb(227 155 143)hsl(9 60% 73%)oklch(75.7% 0.089 29.7)6.50 AA
亮綠color10#b2cfa3rgb(178 207 163)hsl(100 31% 73%)oklch(82.1% 0.068 135.0)8.58 AAA
亮黃color11#e7c692rgb(231 198 146)hsl(37 64% 74%)oklch(84.3% 0.077 78.7)8.96 AAA
亮藍color12#afbee5rgb(175 190 229)hsl(223 51% 79%)oklch(80.3% 0.058 268.6)7.87 AAA
亮洋紅color13#d5a7e5rgb(213 167 229)hsl(285 54% 78%)oklch(79.1% 0.099 317.2)7.29 AAA
亮青color14#9cd1d7rgb(156 209 215)hsl(186 42% 73%)oklch(82.6% 0.055 204.8)8.70 AAA
亮白color15#f7edf6rgb(247 237 246)hsl(306 38% 95%)oklch(95.6% 0.016 328.8)12.79 AAA

關於 Smoke on the Terminal

Smoke on the Terminal 採用冷色調的深色背景(#30243a),預設前景色為 #f5e8f4。內文的 WCAG 對比度為 12.32:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.64:1,最低 5.74:1。

色票整體色彩彩度偏低,其中紅色為 #df8d80、綠色為 #a7c996、藍色為 #a4b5e2、洋紅為 #cf9be2。

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

與 Smoke on the Terminal 相似的配色

資料來源:iTerm2 Color Schemes (MIT)