跳到主要內容

Stasis

Stasis 是一套深色終端機配色(柔和、低飽和),背景色 #2f2c33,文字色 #bbb1c9,對比度 6.7:1

取得設定檔
背景色
#2f2c33
前景色
#bbb1c9
文字對比度
6.70:1AA
強調色對比度
6.79:1最低 2.09
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
❯

Stasis 的設定檔

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

Stasis

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

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

palette = 0=#3c3841
palette = 1=#ba0e2e
palette = 2=#fc814a
palette = 3=#7c617c
palette = 4=#bfbfbf
palette = 5=#fc814a
palette = 6=#bfbfbf
palette = 7=#c8c0d3
palette = 8=#554f5c
palette = 9=#e61f44
palette = 10=#fec7ae
palette = 11=#ad96ad
palette = 12=#f2f2f2
palette = 13=#fec7ae
palette = 14=#f2f2f2
palette = 15=#e2dee8
background = #2f2c33
foreground = #bbb1c9
cursor-color = #f8f8f0
cursor-text = #bbb1c9
selection-background = #fc814a
selection-foreground = #ffffff

Stasis 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2f2c33rgb(47 44 51)hsl(266 7% 19%)oklch(29.9% 0.013 305.0)—
前景色foreground#bbb1c9rgb(187 177 201)hsl(265 18% 74%)oklch(77.6% 0.035 304.4)6.70 AA
光標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)12.87 AAA
光標文字cursorText#bbb1c9rgb(187 177 201)hsl(265 18% 74%)oklch(77.6% 0.035 304.4)6.70 AA
選取範圍selection#fc814argb(252 129 74)hsl(19 97% 64%)oklch(73.3% 0.165 43.4)5.48 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.73 AAA
黑color0#3c3841rgb(60 56 65)hsl(267 7% 24%)oklch(34.8% 0.016 305.6)1.20 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.09 低於 AA
綠color2#fc814argb(252 129 74)hsl(19 97% 64%)oklch(73.3% 0.165 43.4)5.48 AA
黃color3#7c617crgb(124 97 124)hsl(300 12% 43%)oklch(52.9% 0.053 326.3)2.52 低於 AA
藍color4#bfbfbfrgb(191 191 191)hsl(0 0% 75%)oklch(80.5% 0.000 0)7.47 AAA
洋紅color5#fc814argb(252 129 74)hsl(19 97% 64%)oklch(73.3% 0.165 43.4)5.48 AA
青color6#bfbfbfrgb(191 191 191)hsl(0 0% 75%)oklch(80.5% 0.000 0)7.47 AAA
白color7#c8c0d3rgb(200 192 211)hsl(265 18% 79%)oklch(82.0% 0.028 304.8)7.81 AAA
亮黑color8#554f5crgb(85 79 92)hsl(268 8% 34%)oklch(43.8% 0.022 306.3)1.74 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.04 AA 大字體
亮綠color10#fec7aergb(254 199 174)hsl(19 98% 84%)oklch(87.2% 0.072 45.6)9.15 AAA
亮黃color11#ad96adrgb(173 150 173)hsl(300 12% 63%)oklch(70.1% 0.042 326.0)5.06 AA
亮藍color12#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)12.27 AAA
亮洋紅color13#fec7aergb(254 199 174)hsl(19 98% 84%)oklch(87.2% 0.072 45.6)9.15 AAA
亮青color14#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)12.27 AAA
亮白color15#e2dee8rgb(226 222 232)hsl(264 18% 89%)oklch(90.7% 0.014 304.1)10.36 AAA

關於 Stasis

Stasis 採用冷色調的深色背景(#2f2c33),預設前景色為 #bbb1c9。正文的 WCAG 對比度為 6.70:1(AA),12 種 ANSI 彩色槽位平均對比度 6.79:1,最低 2.09:1。

色板整體色彩飽和度偏低,其中紅色為 #ba0e2e、綠色為 #fc814a、藍色為 #bfbfbf、洋紅為 #fc814a。

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

與 Stasis 相似的配色

資料來源:Rainglow (MIT)