跳到主要內容

Sagelight

Sagelight 是一套淺色終端機配色(柔和),背景色 #f8f8f8,文字色 #383838,對比度 11.0:1

取得設定檔
背景色
#f8f8f8
前景色
#383838
文字對比度
11.04:1AAA
強調色對比度
1.82:1最低 1.26
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
❯

Sagelight 的設定檔

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

Sagelight

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

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

palette = 0=#f8f8f8
palette = 1=#fa8480
palette = 2=#a0d2c8
palette = 3=#ffdc61
palette = 4=#a0a7d2
palette = 5=#c8a0d2
palette = 6=#a2d6f5
palette = 7=#383838
palette = 8=#b8b8b8
palette = 9=#fa8480
palette = 10=#a0d2c8
palette = 11=#ffdc61
palette = 12=#a0a7d2
palette = 13=#c8a0d2
palette = 14=#a2d6f5
palette = 15=#181818
background = #f8f8f8
foreground = #383838
cursor-color = #383838
cursor-text = #f8f8f8
selection-background = #c4c4c4
selection-foreground = #383838

Sagelight 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)—
前景色foreground#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
光標cursor#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
光標文字cursorText#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)1.00 低於 AA
選取範圍selection#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)1.64 低於 AA
選取文字selectionText#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
黑color0#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)1.00 低於 AA
紅color1#fa8480rgb(250 132 128)hsl(2 92% 74%)oklch(74.4% 0.145 23.2)2.28 低於 AA
綠color2#a0d2c8rgb(160 210 200)hsl(168 36% 73%)oklch(82.6% 0.054 181.3)1.58 低於 AA
黃color3#ffdc61rgb(255 220 97)hsl(47 100% 69%)oklch(90.1% 0.145 93.4)1.26 低於 AA
藍color4#a0a7d2rgb(160 167 210)hsl(232 36% 73%)oklch(73.8% 0.063 277.5)2.21 低於 AA
洋紅color5#c8a0d2rgb(200 160 210)hsl(288 36% 73%)oklch(75.9% 0.083 319.5)2.10 低於 AA
青color6#a2d6f5rgb(162 214 245)hsl(202 81% 80%)oklch(85.1% 0.069 234.8)1.47 低於 AA
白color7#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
亮黑color8#b8b8b8rgb(184 184 184)hsl(0 0% 72%)oklch(78.3% 0.000 0)1.87 低於 AA
亮紅color9#fa8480rgb(250 132 128)hsl(2 92% 74%)oklch(74.4% 0.145 23.2)2.28 低於 AA
亮綠color10#a0d2c8rgb(160 210 200)hsl(168 36% 73%)oklch(82.6% 0.054 181.3)1.58 低於 AA
亮黃color11#ffdc61rgb(255 220 97)hsl(47 100% 69%)oklch(90.1% 0.145 93.4)1.26 低於 AA
亮藍color12#a0a7d2rgb(160 167 210)hsl(232 36% 73%)oklch(73.8% 0.063 277.5)2.21 低於 AA
亮洋紅color13#c8a0d2rgb(200 160 210)hsl(288 36% 73%)oklch(75.9% 0.083 319.5)2.10 低於 AA
亮青color14#a2d6f5rgb(162 214 245)hsl(202 81% 80%)oklch(85.1% 0.069 234.8)1.47 低於 AA
亮白color15#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)16.72 AAA

關於 Sagelight

Sagelight 採用中性色調的淺色背景(#f8f8f8),預設前景色為 #383838。正文的 WCAG 對比度為 11.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 1.82:1,最低 1.26:1。

色板整體色彩飽和度適中,其中紅色為 #fa8480、綠色為 #a0d2c8、藍色為 #a0a7d2、洋紅為 #c8a0d2。

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

與 Sagelight 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)