跳到主要內容

Snazzy

Snazzy 是一套深色終端機配色(鮮豔、冷色),背景色 #1e1f29,文字色 #ebece6,對比度 13.8:1

取得設定檔
背景色
#1e1f29
前景色
#ebece6
文字對比度
13.77:1AAA
強調色對比度
9.37:1最低 4.70
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
❯

Snazzy 的設定檔

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

Snazzy

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

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

palette = 0=#000000
palette = 1=#fc4346
palette = 2=#50fb7c
palette = 3=#f0fb8c
palette = 4=#49baff
palette = 5=#fc4cb4
palette = 6=#8be9fe
palette = 7=#ededec
palette = 8=#555555
palette = 9=#fc4346
palette = 10=#50fb7c
palette = 11=#f0fb8c
palette = 12=#49baff
palette = 13=#fc4cb4
palette = 14=#8be9fe
palette = 15=#ededec
background = #1e1f29
foreground = #ebece6
cursor-color = #e4e4e4
cursor-text = #f6f6f6
selection-background = #81aec6
selection-foreground = #000000

Snazzy 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1f29rgb(30 31 41)hsl(235 15% 14%)oklch(24.3% 0.019 280.4)—
前景色foreground#ebece6rgb(235 236 230)hsl(70 14% 91%)oklch(94.1% 0.008 114.2)13.77 AAA
游標cursor#e4e4e4rgb(228 228 228)hsl(0 0% 89%)oklch(91.9% 0.000 0)12.87 AAA
游標文字cursorText#f6f6f6rgb(246 246 246)hsl(0 0% 96%)oklch(97.3% 0.000 0)15.14 AAA
選取範圍selection#81aec6rgb(129 174 198)hsl(201 38% 64%)oklch(72.7% 0.059 231.9)6.86 AA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.28 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.28 低於 AA
紅color1#fc4346rgb(252 67 70)hsl(359 97% 63%)oklch(65.8% 0.221 24.9)4.70 AA
綠color2#50fb7crgb(80 251 124)hsl(135 96% 65%)oklch(87.4% 0.220 148.1)12.03 AAA
黃color3#f0fb8crgb(240 251 140)hsl(66 93% 77%)oklch(95.7% 0.136 113.6)14.72 AAA
藍color4#49baffrgb(73 186 255)hsl(203 100% 64%)oklch(75.4% 0.141 239.6)7.60 AAA
洋紅color5#fc4cb4rgb(252 76 180)hsl(325 97% 64%)oklch(69.4% 0.232 348.5)5.32 AA
青color6#8be9fergb(139 233 254)hsl(191 98% 77%)oklch(88.3% 0.094 213.7)11.83 AAA
白color7#ededecrgb(237 237 236)hsl(60 3% 93%)oklch(94.6% 0.001 106.4)13.97 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.20 低於 AA
亮紅color9#fc4346rgb(252 67 70)hsl(359 97% 63%)oklch(65.8% 0.221 24.9)4.70 AA
亮綠color10#50fb7crgb(80 251 124)hsl(135 96% 65%)oklch(87.4% 0.220 148.1)12.03 AAA
亮黃color11#f0fb8crgb(240 251 140)hsl(66 93% 77%)oklch(95.7% 0.136 113.6)14.72 AAA
亮藍color12#49baffrgb(73 186 255)hsl(203 100% 64%)oklch(75.4% 0.141 239.6)7.60 AAA
亮洋紅color13#fc4cb4rgb(252 76 180)hsl(325 97% 64%)oklch(69.4% 0.232 348.5)5.32 AA
亮青color14#8be9fergb(139 233 254)hsl(191 98% 77%)oklch(88.3% 0.094 213.7)11.83 AAA
亮白color15#ededecrgb(237 237 236)hsl(60 3% 93%)oklch(94.6% 0.001 106.4)13.97 AAA

關於 Snazzy

Snazzy 採用冷色調的深色背景(#1e1f29),預設前景色為 #ebece6。內文的 WCAG 對比度為 13.77:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.37:1,最低 4.70:1。

色票整體色彩彩度較高,其中紅色為 #fc4346、綠色為 #50fb7c、藍色為 #49baff、洋紅為 #fc4cb4。

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

與 Snazzy 相似的配色

資料來源:iTerm2 Color Schemes (MIT)