跳到正文

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/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)