跳到主要內容

Glacier

Glacier 是一套深色終端機配色,背景色 #0c1115,文字色 #ffffff,對比度 19.0:1

取得設定檔
背景色
#0c1115
前景色
#ffffff
文字對比度
18.98:1AAA
強調色對比度
6.40:1最低 2.44
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
❯

Glacier 的設定檔

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

Glacier

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

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

palette = 0=#2e343c
palette = 1=#bd0f2f
palette = 2=#35a770
palette = 3=#fb9435
palette = 4=#1f5872
palette = 5=#bd2523
palette = 6=#778397
palette = 7=#ffffff
palette = 8=#404a55
palette = 9=#bd0f2f
palette = 10=#49e998
palette = 11=#fddf6e
palette = 12=#2a8bc1
palette = 13=#ea4727
palette = 14=#a0b6d3
palette = 15=#ffffff
background = #0c1115
foreground = #ffffff
cursor-color = #6c6c6c
cursor-text = #6c6c6c
selection-background = #bd2523
selection-foreground = #ffffff

Glacier 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0c1115rgb(12 17 21)hsl(207 27% 6%)oklch(17.4% 0.011 242.5)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.98 AAA
光標cursor#6c6c6crgb(108 108 108)hsl(0 0% 42%)oklch(53.1% 0.000 0)3.61 AA 大字體
光標文字cursorText#6c6c6crgb(108 108 108)hsl(0 0% 42%)oklch(53.1% 0.000 0)3.61 AA 大字體
選取範圍selection#bd2523rgb(189 37 35)hsl(1 69% 44%)oklch(51.9% 0.188 27.3)3.12 AA 大字體
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.98 AAA
黑color0#2e343crgb(46 52 60)hsl(214 13% 21%)oklch(32.3% 0.016 255.6)1.51 低於 AA
紅color1#bd0f2frgb(189 15 47)hsl(349 85% 40%)oklch(50.9% 0.198 21.1)2.96 低於 AA
綠color2#35a770rgb(53 167 112)hsl(151 52% 43%)oklch(65.1% 0.131 158.1)6.25 AA
黃color3#fb9435rgb(251 148 53)hsl(29 96% 60%)oklch(76.0% 0.161 58.4)8.48 AAA
藍color4#1f5872rgb(31 88 114)hsl(199 57% 28%)oklch(43.5% 0.072 231.6)2.44 低於 AA
洋紅color5#bd2523rgb(189 37 35)hsl(1 69% 44%)oklch(51.9% 0.188 27.3)3.12 AA 大字體
青color6#778397rgb(119 131 151)hsl(218 13% 53%)oklch(60.7% 0.034 260.7)4.95 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.98 AAA
亮黑color8#404a55rgb(64 74 85)hsl(211 14% 29%)oklch(40.4% 0.023 250.9)2.10 低於 AA
亮紅color9#bd0f2frgb(189 15 47)hsl(349 85% 40%)oklch(50.9% 0.198 21.1)2.96 低於 AA
亮綠color10#49e998rgb(73 233 152)hsl(150 78% 60%)oklch(83.2% 0.175 156.6)12.10 AAA
亮黃color11#fddf6ergb(253 223 110)hsl(47 97% 71%)oklch(90.7% 0.136 94.7)14.42 AAA
亮藍color12#2a8bc1rgb(42 139 193)hsl(201 64% 46%)oklch(60.7% 0.119 238.4)5.03 AA
亮洋紅color13#ea4727rgb(234 71 39)hsl(10 82% 54%)oklch(62.8% 0.205 33.0)4.91 AA
亮青color14#a0b6d3rgb(160 182 211)hsl(214 37% 73%)oklch(76.9% 0.048 255.4)9.15 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.98 AAA

關於 Glacier

Glacier 採用中性色調的深色背景(#0c1115),預設前景色為 #ffffff。正文的 WCAG 對比度為 18.98:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.40:1,最低 2.44:1。

色板整體色彩飽和度適中,其中紅色為 #bd0f2f、綠色為 #35a770、藍色為 #1f5872、洋紅為 #bd2523。

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

與 Glacier 相似的配色

資料來源:iTerm2 Color Schemes (WTFPL)