跳到主要內容

Silk Light

Silk Light 是一套淺色終端機配色(柔和),背景色 #e9f1ef,文字色 #385156,對比度 7.4:1

取得設定檔
背景色
#e9f1ef
前景色
#385156
文字對比度
7.38:1AAA
強調色對比度
3.07:1最低 1.89
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
❯

Silk Light 的設定檔

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

Silk Light

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

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

palette = 0=#e9f1ef
palette = 1=#cf432e
palette = 2=#6ca38c
palette = 3=#cfad25
palette = 4=#39aac9
palette = 5=#6e6582
palette = 6=#329ca2
palette = 7=#385156
palette = 8=#5c787b
palette = 9=#cf432e
palette = 10=#6ca38c
palette = 11=#cfad25
palette = 12=#39aac9
palette = 13=#6e6582
palette = 14=#329ca2
palette = 15=#d2faff
background = #e9f1ef
foreground = #385156
cursor-color = #385156
cursor-text = #e9f1ef
selection-background = #bac6c6
selection-foreground = #385156

Silk Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#e9f1efrgb(233 241 239)hsl(165 22% 93%)oklch(95.2% 0.009 179.6)—
前景色foreground#385156rgb(56 81 86)hsl(190 21% 28%)oklch(41.7% 0.031 211.4)7.38 AAA
光標cursor#385156rgb(56 81 86)hsl(190 21% 28%)oklch(41.7% 0.031 211.4)7.38 AAA
光標文字cursorText#e9f1efrgb(233 241 239)hsl(165 22% 93%)oklch(95.2% 0.009 179.6)1.00 低於 AA
選取範圍selection#bac6c6rgb(186 198 198)hsl(180 10% 75%)oklch(81.7% 0.013 196.9)1.53 低於 AA
選取文字selectionText#385156rgb(56 81 86)hsl(190 21% 28%)oklch(41.7% 0.031 211.4)7.38 AAA
黑color0#e9f1efrgb(233 241 239)hsl(165 22% 93%)oklch(95.2% 0.009 179.6)1.00 低於 AA
紅color1#cf432ergb(207 67 46)hsl(8 64% 50%)oklch(58.0% 0.180 31.4)4.07 AA 大字體
綠color2#6ca38crgb(108 163 140)hsl(155 23% 53%)oklch(67.0% 0.068 166.3)2.52 低於 AA
黃color3#cfad25rgb(207 173 37)hsl(48 70% 48%)oklch(75.6% 0.146 93.6)1.89 低於 AA
藍color4#39aac9rgb(57 170 201)hsl(193 57% 51%)oklch(68.8% 0.108 220.1)2.36 低於 AA
洋紅color5#6e6582rgb(110 101 130)hsl(259 13% 45%)oklch(52.6% 0.046 299.0)4.76 AA
青color6#329ca2rgb(50 156 162)hsl(183 53% 42%)oklch(63.6% 0.094 200.6)2.85 低於 AA
白color7#385156rgb(56 81 86)hsl(190 21% 28%)oklch(41.7% 0.031 211.4)7.38 AAA
亮黑color8#5c787brgb(92 120 123)hsl(186 14% 42%)oklch(55.2% 0.033 204.4)4.13 AA 大字體
亮紅color9#cf432ergb(207 67 46)hsl(8 64% 50%)oklch(58.0% 0.180 31.4)4.07 AA 大字體
亮綠color10#6ca38crgb(108 163 140)hsl(155 23% 53%)oklch(67.0% 0.068 166.3)2.52 低於 AA
亮黃color11#cfad25rgb(207 173 37)hsl(48 70% 48%)oklch(75.6% 0.146 93.6)1.89 低於 AA
亮藍color12#39aac9rgb(57 170 201)hsl(193 57% 51%)oklch(68.8% 0.108 220.1)2.36 低於 AA
亮洋紅color13#6e6582rgb(110 101 130)hsl(259 13% 45%)oklch(52.6% 0.046 299.0)4.76 AA
亮青color14#329ca2rgb(50 156 162)hsl(183 53% 42%)oklch(63.6% 0.094 200.6)2.85 低於 AA
亮白color15#d2faffrgb(210 250 255)hsl(187 100% 91%)oklch(95.8% 0.042 205.7)1.03 低於 AA

關於 Silk Light

Silk Light 採用中性色調的淺色背景(#e9f1ef),預設前景色為 #385156。正文的 WCAG 對比度為 7.38:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.07:1,最低 1.89:1。

色板整體色彩飽和度適中,其中紅色為 #cf432e、綠色為 #6ca38c、藍色為 #39aac9、洋紅為 #6e6582。

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

與 Silk Light 相似的配色

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