跳到主要內容

SoftServer

SoftServer 是一套深色終端機配色(柔和),背景色 #242626,文字色 #99a3a2,對比度 5.9:1

取得設定檔
背景色
#242626
前景色
#99a3a2
文字對比度
5.88:1AA
強調色對比度
5.68:1最低 3.25
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
❯

SoftServer 的設定檔

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

SoftServer

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

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

palette = 0=#000000
palette = 1=#a16869
palette = 2=#99a569
palette = 3=#a29069
palette = 4=#6a8fa3
palette = 5=#6971a3
palette = 6=#6ba48f
palette = 7=#99a3a2
palette = 8=#666c6b
palette = 9=#dc5b5f
palette = 10=#bfde54
palette = 11=#deb35f
palette = 12=#62b1df
palette = 13=#5f6ede
palette = 14=#64e39c
palette = 15=#d1dfde
background = #242626
foreground = #99a3a2
cursor-color = #d1dfde
cursor-text = #242626
selection-background = #7f8786
selection-foreground = #242626

SoftServer 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#242626rgb(36 38 38)hsl(180 3% 15%)oklch(26.7% 0.003 197.0)—
前景色foreground#99a3a2rgb(153 163 162)hsl(174 5% 62%)oklch(70.7% 0.011 189.7)5.88 AA
光標cursor#d1dfdergb(209 223 222)hsl(176 18% 85%)oklch(89.3% 0.015 191.7)11.10 AAA
光標文字cursorText#242626rgb(36 38 38)hsl(180 3% 15%)oklch(26.7% 0.003 197.0)1.00 低於 AA
選取範圍selection#7f8786rgb(127 135 134)hsl(173 3% 51%)oklch(61.6% 0.010 188.0)4.14 AA 大字體
選取文字selectionText#242626rgb(36 38 38)hsl(180 3% 15%)oklch(26.7% 0.003 197.0)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.38 低於 AA
紅color1#a16869rgb(161 104 105)hsl(359 23% 52%)oklch(57.9% 0.074 18.4)3.40 AA 大字體
綠color2#99a569rgb(153 165 105)hsl(72 25% 53%)oklch(69.8% 0.083 117.8)5.75 AA
黃color3#a29069rgb(162 144 105)hsl(41 23% 52%)oklch(66.0% 0.058 86.0)4.88 AA
藍color4#6a8fa3rgb(106 143 163)hsl(201 24% 53%)oklch(63.0% 0.051 232.2)4.40 AA 大字體
洋紅color5#6971a3rgb(105 113 163)hsl(232 24% 53%)oklch(56.2% 0.078 276.6)3.25 AA 大字體
青color6#6ba48frgb(107 164 143)hsl(158 24% 53%)oklch(67.3% 0.068 169.1)5.31 AA
白color7#99a3a2rgb(153 163 162)hsl(174 5% 62%)oklch(70.7% 0.011 189.7)5.88 AA
亮黑color8#666c6brgb(102 108 107)hsl(170 3% 41%)oklch(52.6% 0.008 185.1)2.84 低於 AA
亮紅color9#dc5b5frgb(220 91 95)hsl(358 65% 61%)oklch(63.7% 0.162 21.1)4.13 AA 大字體
亮綠color10#bfde54rgb(191 222 84)hsl(73 68% 60%)oklch(85.2% 0.166 120.8)9.99 AAA
亮黃color11#deb35frgb(222 179 95)hsl(40 66% 62%)oklch(78.8% 0.114 82.5)7.77 AAA
亮藍color12#62b1dfrgb(98 177 223)hsl(202 66% 63%)oklch(72.8% 0.103 236.1)6.43 AA
亮洋紅color13#5f6edergb(95 110 222)hsl(233 66% 62%)oklch(58.4% 0.170 274.2)3.46 AA 大字體
亮青color14#64e39crgb(100 227 156)hsl(146 69% 64%)oklch(82.6% 0.152 156.2)9.43 AAA
亮白color15#d1dfdergb(209 223 222)hsl(176 18% 85%)oklch(89.3% 0.015 191.7)11.10 AAA

關於 SoftServer

SoftServer 採用中性色調的深色背景(#242626),預設前景色為 #99a3a2。正文的 WCAG 對比度為 5.88:1(AA),12 種 ANSI 彩色槽位平均對比度 5.68:1,最低 3.25:1。

色板整體色彩飽和度適中,其中紅色為 #a16869、綠色為 #99a569、藍色為 #6a8fa3、洋紅為 #6971a3。

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

與 SoftServer 相似的配色

資料來源:Kitty Themes (MIT)