跳到主要內容

Gleam

Gleam 是一套深色終端機配色(粉彩、冷色),背景色 #292d3e,文字色 #ffffff,對比度 13.6:1

取得設定檔
背景色
#292d3e
前景色
#ffffff
文字對比度
13.64:1AAA
強調色對比度
7.72:1最低 3.79
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
❯

Gleam 的設定檔

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

Gleam

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

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

palette = 0=#000000
palette = 1=#f44747
palette = 2=#aadd8b
palette = 3=#ffd596
palette = 4=#6796e6
palette = 5=#fe7ab2
palette = 6=#b181ec
palette = 7=#f7f7f7
palette = 8=#808080
palette = 9=#ff4a4a
palette = 10=#c8ffa7
palette = 11=#fdffab
palette = 12=#9ce7ff
palette = 13=#ffaff3
palette = 14=#d9baff
palette = 15=#ffffff
background = #292d3e
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #2f2f2f
selection-background = #393f57
selection-foreground = #ffffff

Gleam 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#292d3ergb(41 45 62)hsl(229 20% 20%)oklch(30.1% 0.031 274.1)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.64 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.64 AAA
游標文字cursorText#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.02 低於 AA
選取範圍selection#393f57rgb(57 63 87)hsl(228 21% 28%)oklch(37.3% 0.042 273.4)1.31 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.64 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.54 低於 AA
紅color1#f44747rgb(244 71 71)hsl(0 89% 62%)oklch(64.8% 0.210 25.2)3.79 AA 大字級
綠color2#aadd8brgb(170 221 139)hsl(97 55% 71%)oklch(84.2% 0.121 134.3)8.72 AAA
黃color3#ffd596rgb(255 213 150)hsl(36 100% 79%)oklch(89.5% 0.093 77.3)9.88 AAA
藍color4#6796e6rgb(103 150 230)hsl(218 72% 65%)oklch(67.5% 0.130 260.5)4.60 AA
洋紅color5#fe7ab2rgb(254 122 178)hsl(335 99% 74%)oklch(74.8% 0.171 355.3)5.61 AA
青color6#b181ecrgb(177 129 236)hsl(267 74% 72%)oklch(69.4% 0.158 303.2)4.69 AA
白color7#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)12.74 AAA
亮黑color8#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)3.45 AA 大字級
亮紅color9#ff4a4argb(255 74 74)hsl(0 100% 65%)oklch(67.0% 0.218 25.3)4.11 AA 大字級
亮綠color10#c8ffa7rgb(200 255 167)hsl(98 100% 83%)oklch(94.2% 0.127 134.3)11.90 AAA
亮黃color11#fdffabrgb(253 255 171)hsl(61 100% 84%)oklch(98.0% 0.105 109.3)13.04 AAA
亮藍color12#9ce7ffrgb(156 231 255)hsl(195 100% 81%)oklch(88.7% 0.081 220.0)9.93 AAA
亮洋紅color13#ffaff3rgb(255 175 243)hsl(309 100% 84%)oklch(85.1% 0.127 332.0)8.24 AAA
亮青color14#d9baffrgb(217 186 255)hsl(267 100% 86%)oklch(83.9% 0.100 304.9)8.07 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.64 AAA

關於 Gleam

Gleam 採用冷色調的深色背景(#292d3e),預設前景色為 #ffffff。內文的 WCAG 對比度為 13.64:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.72:1,最低 3.79:1。

色票整體色彩彩度適中,其中紅色為 #f44747、綠色為 #aadd8b、藍色為 #6796e6、洋紅為 #fe7ab2。

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

與 Gleam 相似的配色

資料來源:iTerm2 Color Schemes (MIT)