跳到主要內容

Userscape

Userscape 是一套深色終端機配色(冷色),背景色 #323a42,文字色 #dce2e8,對比度 8.8:1

取得設定檔
背景色
#323a42
前景色
#dce2e8
文字對比度
8.84:1AAA
強調色對比度
5.70:1最低 1.75
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
❯

Userscape 的設定檔

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

Userscape

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

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

palette = 0=#3d4750
palette = 1=#ba0e2e
palette = 2=#a8c0e0
palette = 3=#507db7
palette = 4=#e3bd14
palette = 5=#b3becc
palette = 6=#de4d3a
palette = 7=#ebeff2
palette = 8=#53606e
palette = 9=#e61f44
palette = 10=#f3f6fb
palette = 11=#98b3d5
palette = 12=#f2d96b
palette = 13=#f0f2f5
palette = 14=#ed9c91
palette = 15=#ffffff
background = #323a42
foreground = #dce2e8
cursor-color = #ffffff
cursor-text = #dce2e8
selection-background = #355b8c
selection-foreground = #ffffff

Userscape 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#323a42rgb(50 58 66)hsl(210 14% 23%)oklch(34.4% 0.018 248.3)—
前景色foreground#dce2e8rgb(220 226 232)hsl(210 21% 89%)oklch(91.0% 0.010 247.9)8.84 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.54 AAA
光標文字cursorText#dce2e8rgb(220 226 232)hsl(210 21% 89%)oklch(91.0% 0.010 247.9)8.84 AAA
選取範圍selection#355b8crgb(53 91 140)hsl(214 45% 38%)oklch(46.7% 0.091 255.5)1.66 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.54 AAA
黑color0#3d4750rgb(61 71 80)hsl(208 13% 28%)oklch(39.2% 0.020 245.5)1.22 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)1.75 低於 AA
綠color2#a8c0e0rgb(168 192 224)hsl(214 47% 77%)oklch(80.0% 0.053 255.7)6.20 AA
黃color3#507db7rgb(80 125 183)hsl(214 42% 52%)oklch(58.3% 0.103 255.3)2.73 低於 AA
藍color4#e3bd14rgb(227 189 20)hsl(49 84% 48%)oklch(80.8% 0.163 93.9)6.35 AA
洋紅color5#b3beccrgb(179 190 204)hsl(214 20% 75%)oklch(79.7% 0.023 254.4)6.13 AA
青color6#de4d3argb(222 77 58)hsl(7 71% 55%)oklch(61.7% 0.184 30.5)2.87 低於 AA
白color7#ebeff2rgb(235 239 242)hsl(206 21% 94%)oklch(95.0% 0.006 239.8)9.98 AAA
亮黑color8#53606ergb(83 96 110)hsl(211 14% 38%)oklch(48.3% 0.028 250.3)1.80 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)2.55 低於 AA
亮綠color10#f3f6fbrgb(243 246 251)hsl(217 50% 97%)oklch(97.2% 0.007 260.7)10.65 AAA
亮黃color11#98b3d5rgb(152 179 213)hsl(213 42% 72%)oklch(75.8% 0.057 254.4)5.36 AA
亮藍color12#f2d96brgb(242 217 107)hsl(49 84% 68%)oklch(88.5% 0.133 96.7)8.20 AAA
亮洋紅color13#f0f2f5rgb(240 242 245)hsl(216 20% 95%)oklch(96.0% 0.005 258.3)10.29 AAA
亮青color14#ed9c91rgb(237 156 145)hsl(7 72% 75%)oklch(77.1% 0.099 28.0)5.37 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.54 AAA

關於 Userscape

Userscape 採用冷色調的深色背景(#323a42),預設前景色為 #dce2e8。正文的 WCAG 對比度為 8.84:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.70:1,最低 1.75:1。

色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #a8c0e0、藍色為 #e3bd14、洋紅為 #b3becc。

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

與 Userscape 相似的配色

資料來源:Rainglow (MIT)