跳到主要內容

Yousai

Yousai 是一套淺色終端機配色(暖色),背景色 #f5e7de,文字色 #34302d,對比度 10.8:1

取得設定檔
背景色
#f5e7de
前景色
#34302d
文字對比度
10.81:1AAA
強調色對比度
4.12:1最低 1.66
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
❯

Yousai 的設定檔

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

Yousai

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

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

palette = 0=#666661
palette = 1=#992e2e
palette = 2=#4c3226
palette = 3=#a67c53
palette = 4=#4c7399
palette = 5=#bf9986
palette = 6=#d97742
palette = 7=#34302d
palette = 8=#7f7f7a
palette = 9=#b23636
palette = 10=#664233
palette = 11=#bf8f60
palette = 12=#5986b2
palette = 13=#d9ae98
palette = 14=#f2854a
palette = 15=#4c4742
background = #f5e7de
foreground = #34302d
cursor-color = #34302d
cursor-text = #f5e7de
selection-background = #c0b5ae
selection-foreground = #34302d

Yousai 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f5e7dergb(245 231 222)hsl(23 53% 92%)oklch(93.7% 0.020 55.1)—
前景色foreground#34302drgb(52 48 45)hsl(26 7% 19%)oklch(31.2% 0.008 59.4)10.81 AAA
光標cursor#34302drgb(52 48 45)hsl(26 7% 19%)oklch(31.2% 0.008 59.4)10.81 AAA
光標文字cursorText#f5e7dergb(245 231 222)hsl(23 53% 92%)oklch(93.7% 0.020 55.1)1.00 低於 AA
選取範圍selection#c0b5aergb(192 181 174)hsl(23 12% 72%)oklch(78.0% 0.016 54.9)1.66 低於 AA
選取文字selectionText#34302drgb(52 48 45)hsl(26 7% 19%)oklch(31.2% 0.008 59.4)10.81 AAA
黑color0#666661rgb(102 102 97)hsl(60 3% 39%)oklch(50.9% 0.008 106.7)4.77 AA
紅color1#992e2ergb(153 46 46)hsl(0 54% 39%)oklch(46.4% 0.143 24.6)6.24 AA
綠color2#4c3226rgb(76 50 38)hsl(19 33% 22%)oklch(34.5% 0.043 45.6)9.69 AAA
黃color3#a67c53rgb(166 124 83)hsl(30 33% 49%)oklch(61.8% 0.077 64.9)3.09 AA 大字體
藍color4#4c7399rgb(76 115 153)hsl(210 34% 45%)oklch(54.3% 0.074 248.7)4.12 AA 大字體
洋紅color5#bf9986rgb(191 153 134)hsl(20 31% 64%)oklch(71.3% 0.053 48.0)2.14 低於 AA
青color6#d97742rgb(217 119 66)hsl(21 67% 55%)oklch(67.0% 0.140 47.4)2.60 低於 AA
白color7#34302drgb(52 48 45)hsl(26 7% 19%)oklch(31.2% 0.008 59.4)10.81 AAA
亮黑color8#7f7f7argb(127 127 122)hsl(60 2% 49%)oklch(59.5% 0.007 106.6)3.33 AA 大字體
亮紅color9#b23636rgb(178 54 54)hsl(0 53% 45%)oklch(51.8% 0.161 24.7)5.00 AA
亮綠color10#664233rgb(102 66 51)hsl(18 33% 30%)oklch(41.6% 0.056 43.4)7.26 AAA
亮黃color11#bf8f60rgb(191 143 96)hsl(30 43% 56%)oklch(68.6% 0.086 65.0)2.37 低於 AA
亮藍color12#5986b2rgb(89 134 178)hsl(210 37% 52%)oklch(60.6% 0.084 248.8)3.17 AA 大字體
亮洋紅color13#d9ae98rgb(217 174 152)hsl(20 46% 72%)oklch(78.4% 0.059 48.5)1.66 低於 AA
亮青color14#f2854argb(242 133 74)hsl(21 87% 62%)oklch(72.6% 0.152 47.3)2.11 低於 AA
亮白color15#4c4742rgb(76 71 66)hsl(30 7% 28%)oklch(40.1% 0.011 67.5)7.59 AAA

關於 Yousai

Yousai 採用暖色調的淺色背景(#f5e7de),預設前景色為 #34302d。正文的 WCAG 對比度為 10.81:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.12:1,最低 1.66:1。

色板整體色彩飽和度適中,其中紅色為 #992e2e、綠色為 #4c3226、藍色為 #4c7399、洋紅為 #bf9986。

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

與 Yousai 相似的配色

資料來源:terminal.sexy (MIT)