跳到主要內容

Sumi Linen

Sumi Linen 是一套淺色終端機配色(柔和、暖色),背景色 #e6dfd0,文字色 #1c1814,對比度 13.3:1

取得設定檔
背景色
#e6dfd0
前景色
#1c1814
文字對比度
13.30:1AAA
強調色對比度
3.58:1最低 2.18
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
❯

Sumi Linen 的設定檔

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

Sumi Linen

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

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

palette = 0=#3a342c
palette = 1=#b83830
palette = 2=#2e8050
palette = 3=#a87820
palette = 4=#3060a0
palette = 5=#704890
palette = 6=#18786c
palette = 7=#5a5448
palette = 8=#6a6458
palette = 9=#c84840
palette = 10=#3a9868
palette = 11=#c09030
palette = 12=#4080c0
palette = 13=#8858a8
palette = 14=#28a090
palette = 15=#14100c
background = #e6dfd0
foreground = #1c1814
cursor-color = #18786c
cursor-text = #e6dfd0
selection-background = #9ec4ba
selection-foreground = #14100c

Sumi Linen 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#e6dfd0rgb(230 223 208)hsl(41 31% 86%)oklch(90.5% 0.022 85.9)—
前景色foreground#1c1814rgb(28 24 20)hsl(30 17% 9%)oklch(21.2% 0.010 67.2)13.30 AAA
光標cursor#18786crgb(24 120 108)hsl(173 67% 28%)oklch(51.7% 0.086 182.2)4.02 AA 大字體
光標文字cursorText#e6dfd0rgb(230 223 208)hsl(41 31% 86%)oklch(90.5% 0.022 85.9)1.00 低於 AA
選取範圍selection#9ec4bargb(158 196 186)hsl(164 24% 69%)oklch(79.0% 0.043 177.3)1.43 低於 AA
選取文字selectionText#14100crgb(20 16 12)hsl(30 25% 6%)oklch(17.7% 0.010 67.1)14.27 AAA
黑color0#3a342crgb(58 52 44)hsl(34 14% 20%)oklch(32.9% 0.016 75.1)9.27 AAA
紅color1#b83830rgb(184 56 48)hsl(4 59% 45%)oklch(52.9% 0.166 27.8)4.34 AA 大字體
綠color2#2e8050rgb(46 128 80)hsl(145 47% 34%)oklch(53.7% 0.110 154.3)3.66 AA 大字體
黃color3#a87820rgb(168 120 32)hsl(39 68% 39%)oklch(60.6% 0.115 77.5)2.95 低於 AA
藍color4#3060a0rgb(48 96 160)hsl(214 54% 41%)oklch(48.8% 0.116 256.4)4.79 AA
洋紅color5#704890rgb(112 72 144)hsl(273 33% 42%)oklch(47.9% 0.119 308.2)5.24 AA
青color6#18786crgb(24 120 108)hsl(173 67% 28%)oklch(51.7% 0.086 182.2)4.02 AA 大字體
白color7#5a5448rgb(90 84 72)hsl(40 11% 32%)oklch(44.8% 0.021 84.6)5.66 AA
亮黑color8#6a6458rgb(106 100 88)hsl(40 9% 38%)oklch(50.5% 0.020 84.6)4.43 AA 大字體
亮紅color9#c84840rgb(200 72 64)hsl(4 55% 52%)oklch(57.6% 0.165 27.1)3.55 AA 大字體
亮綠color10#3a9868rgb(58 152 104)hsl(149 45% 41%)oklch(61.1% 0.116 157.8)2.70 低於 AA
亮黃color11#c09030rgb(192 144 48)hsl(40 60% 47%)oklch(68.3% 0.123 80.8)2.18 低於 AA
亮藍color12#4080c0rgb(64 128 192)hsl(210 50% 50%)oklch(58.7% 0.119 250.5)3.12 AA 大字體
亮洋紅color13#8858a8rgb(136 88 168)hsl(276 31% 50%)oklch(54.6% 0.130 310.4)3.95 AA 大字體
亮青color14#28a090rgb(40 160 144)hsl(172 60% 39%)oklch(63.8% 0.105 181.8)2.43 低於 AA
亮白color15#14100crgb(20 16 12)hsl(30 25% 6%)oklch(17.7% 0.010 67.1)14.27 AAA

關於 Sumi Linen

Sumi Linen 採用暖色調的淺色背景(#e6dfd0),預設前景色為 #1c1814。正文的 WCAG 對比度為 13.30:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.58:1,最低 2.18:1。

色板整體色彩飽和度適中,其中紅色為 #b83830、綠色為 #2e8050、藍色為 #3060a0、洋紅為 #704890。

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

與 Sumi Linen 相似的配色

資料來源:iTerm2 Color Schemes (MIT)