跳到主要內容

Linh

Linh 是一套深色終端機配色,背景色 #232323,文字色 #6ebefe,對比度 7.8:1

取得設定檔
背景色
#232323
前景色
#6ebefe
文字對比度
7.83:1AAA
強調色對比度
5.79:1最低 3.80
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
❯

Linh 的設定檔

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

Linh

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

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

palette = 0=#555555
palette = 1=#c56360
palette = 2=#599b5c
palette = 3=#b2b05b
palette = 4=#b26cb7
palette = 5=#7d7eb3
palette = 6=#50bbbc
palette = 7=#d6d6d6
palette = 8=#717171
palette = 9=#e95752
palette = 10=#49ae4d
palette = 11=#d8d54f
palette = 12=#ce70d4
palette = 13=#7374ca
palette = 14=#57dcdd
palette = 15=#f3f4f4
background = #232323
foreground = #6ebefe
cursor-color = #6ebefe
cursor-text = #232323
selection-background = #364653
selection-foreground = #6ebefe

Linh 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#232323rgb(35 35 35)hsl(0 0% 14%)oklch(25.6% 0.000 0)—
前景色foreground#6ebefergb(110 190 254)hsl(207 99% 71%)oklch(77.6% 0.121 244.4)7.83 AAA
光標cursor#6ebefergb(110 190 254)hsl(207 99% 71%)oklch(77.6% 0.121 244.4)7.83 AAA
光標文字cursorText#232323rgb(35 35 35)hsl(0 0% 14%)oklch(25.6% 0.000 0)1.00 低於 AA
選取範圍selection#364653rgb(54 70 83)hsl(207 21% 27%)oklch(38.6% 0.030 243.1)1.61 低於 AA
選取文字selectionText#6ebefergb(110 190 254)hsl(207 99% 71%)oklch(77.6% 0.121 244.4)7.83 AAA
黑color0#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.11 低於 AA
紅color1#c56360rgb(197 99 96)hsl(2 47% 57%)oklch(61.5% 0.126 23.2)3.99 AA 大字體
綠color2#599b5crgb(89 155 92)hsl(123 27% 48%)oklch(62.9% 0.115 145.0)4.69 AA
黃color3#b2b05brgb(178 176 91)hsl(59 36% 53%)oklch(74.1% 0.108 107.6)6.93 AA
藍color4#b26cb7rgb(178 108 183)hsl(296 34% 57%)oklch(63.4% 0.133 324.6)4.28 AA 大字體
洋紅color5#7d7eb3rgb(125 126 179)hsl(239 26% 60%)oklch(61.3% 0.080 282.9)4.12 AA 大字體
青color6#50bbbcrgb(80 187 188)hsl(181 45% 53%)oklch(73.1% 0.098 196.1)6.87 AA
白color7#d6d6d6rgb(214 214 214)hsl(0 0% 84%)oklch(87.6% 0.000 0)10.81 AAA
亮黑color8#717171rgb(113 113 113)hsl(0 0% 44%)oklch(54.9% 0.000 0)3.22 AA 大字體
亮紅color9#e95752rgb(233 87 82)hsl(2 77% 62%)oklch(64.9% 0.182 25.5)4.45 AA 大字體
亮綠color10#49ae4drgb(73 174 77)hsl(122 41% 48%)oklch(66.9% 0.165 144.1)5.57 AA
亮黃color11#d8d54frgb(216 213 79)hsl(59 64% 58%)oklch(85.1% 0.153 108.0)10.14 AAA
亮藍color12#ce70d4rgb(206 112 212)hsl(296 54% 64%)oklch(68.7% 0.172 325.0)5.16 AA
亮洋紅color13#7374cargb(115 116 202)hsl(239 45% 62%)oklch(59.7% 0.129 281.2)3.80 AA 大字體
亮青color14#57dcddrgb(87 220 221)hsl(180 66% 60%)oklch(82.3% 0.115 195.9)9.49 AAA
亮白color15#f3f4f4rgb(243 244 244)hsl(180 4% 95%)oklch(96.6% 0.001 197.1)14.26 AAA

關於 Linh

Linh 採用中性色調的深色背景(#232323),預設前景色為 #6ebefe。正文的 WCAG 對比度為 7.83:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.79:1,最低 3.80:1。

色板整體色彩飽和度適中,其中紅色為 #c56360、綠色為 #599b5c、藍色為 #b26cb7、洋紅為 #7d7eb3。

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

與 Linh 相似的配色

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