跳到主要內容

Gleam Classic

Gleam Classic 是一套深色終端機配色(高對比、粉彩),背景色 #1e1e1e,文字色 #ffffff,對比度 16.7:1

取得設定檔
背景色
#1e1e1e
前景色
#ffffff
文字對比度
16.67:1AAA
強調色對比度
9.43:1最低 4.64
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 Classic 的設定檔

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

Gleam Classic

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

更多 Ghostty 配色
原始檔
# Theme: Gleam Classic (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/gleam-classic?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 = #1e1e1e
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #2f2f2f
selection-background = #777777
selection-foreground = #ffffff

Gleam Classic 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
游標文字cursorText#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.25 低於 AA
選取範圍selection#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)3.72 AA 大字級
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.26 低於 AA
紅color1#f44747rgb(244 71 71)hsl(0 89% 62%)oklch(64.8% 0.210 25.2)4.64 AA
綠color2#aadd8brgb(170 221 139)hsl(97 55% 71%)oklch(84.2% 0.121 134.3)10.66 AAA
黃color3#ffd596rgb(255 213 150)hsl(36 100% 79%)oklch(89.5% 0.093 77.3)12.07 AAA
藍color4#6796e6rgb(103 150 230)hsl(218 72% 65%)oklch(67.5% 0.130 260.5)5.62 AA
洋紅color5#fe7ab2rgb(254 122 178)hsl(335 99% 74%)oklch(74.8% 0.171 355.3)6.86 AA
青color6#b181ecrgb(177 129 236)hsl(267 74% 72%)oklch(69.4% 0.158 303.2)5.73 AA
白color7#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)15.56 AAA
亮黑color8#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)4.22 AA 大字級
亮紅color9#ff4a4argb(255 74 74)hsl(0 100% 65%)oklch(67.0% 0.218 25.3)5.03 AA
亮綠color10#c8ffa7rgb(200 255 167)hsl(98 100% 83%)oklch(94.2% 0.127 134.3)14.54 AAA
亮黃color11#fdffabrgb(253 255 171)hsl(61 100% 84%)oklch(98.0% 0.105 109.3)15.93 AAA
亮藍color12#9ce7ffrgb(156 231 255)hsl(195 100% 81%)oklch(88.7% 0.081 220.0)12.14 AAA
亮洋紅color13#ffaff3rgb(255 175 243)hsl(309 100% 84%)oklch(85.1% 0.127 332.0)10.06 AAA
亮青color14#d9baffrgb(217 186 255)hsl(267 100% 86%)oklch(83.9% 0.100 304.9)9.86 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA

關於 Gleam Classic

Gleam Classic 採用中性色調的深色背景(#1e1e1e),預設前景色為 #ffffff。內文的 WCAG 對比度為 16.67:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.43:1,最低 4.64: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 Classic 相似的配色

資料來源:iTerm2 Color Schemes (MIT)