跳到主要內容

Shokunin

Shokunin 是一套淺色終端機配色,背景色 #fcfaf2,文字色 #303841,對比度 11.4:1

取得設定檔
背景色
#fcfaf2
前景色
#303841
文字對比度
11.37:1AAA
強調色對比度
4.68:1最低 3.59
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
❯

Shokunin 的設定檔

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

Shokunin

存到 ~/.config/ghostty/themes/Shokunin,再在 config 或 config.ghostty 裡寫 theme = Shokunin

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

palette = 0=#303841
palette = 1=#c84053
palette = 2=#157a5b
palette = 3=#9a6000
palette = 4=#006fae
palette = 5=#8f4155
palette = 6=#006c7f
palette = 7=#f5f1e7
palette = 8=#777269
palette = 9=#d95a66
palette = 10=#1b8e6a
palette = 11=#b67608
palette = 12=#0084c7
palette = 13=#a75b73
palette = 14=#008396
palette = 15=#ffffff
background = #fcfaf2
foreground = #303841
cursor-color = #3a3e44
cursor-text = #fcfaf2
selection-background = #d7eaf2
selection-foreground = #303841

Shokunin 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fcfaf2rgb(252 250 242)hsl(48 63% 97%)oklch(98.4% 0.011 95.2)—
前景色foreground#303841rgb(48 56 65)hsl(212 15% 22%)oklch(33.7% 0.019 251.5)11.37 AAA
游標cursor#3a3e44rgb(58 62 68)hsl(216 8% 25%)oklch(36.2% 0.012 258.4)10.29 AAA
游標文字cursorText#fcfaf2rgb(252 250 242)hsl(48 63% 97%)oklch(98.4% 0.011 95.2)1.00 低於 AA
選取範圍selection#d7eaf2rgb(215 234 242)hsl(198 51% 90%)oklch(92.5% 0.023 224.9)1.19 低於 AA
選取文字selectionText#303841rgb(48 56 65)hsl(212 15% 22%)oklch(33.7% 0.019 251.5)11.37 AAA
黑color0#303841rgb(48 56 65)hsl(212 15% 22%)oklch(33.7% 0.019 251.5)11.37 AAA
紅color1#c84053rgb(200 64 83)hsl(352 55% 52%)oklch(57.1% 0.171 16.5)4.66 AA
綠color2#157a5brgb(21 122 91)hsl(162 71% 28%)oklch(51.7% 0.101 166.4)5.07 AA
黃color3#9a6000rgb(154 96 0)hsl(37 100% 30%)oklch(54.1% 0.118 69.2)4.97 AA
藍color4#006faergb(0 111 174)hsl(202 100% 34%)oklch(52.2% 0.129 244.2)5.17 AA
洋紅color5#8f4155rgb(143 65 85)hsl(345 38% 41%)oklch(48.2% 0.107 5.8)6.58 AA
青color6#006c7frgb(0 108 127)hsl(189 100% 25%)oklch(48.9% 0.087 215.4)5.82 AA
白color7#f5f1e7rgb(245 241 231)hsl(43 41% 93%)oklch(95.9% 0.014 88.7)1.08 低於 AA
亮黑color8#777269rgb(119 114 105)hsl(39 6% 44%)oklch(55.4% 0.015 82.4)4.57 AA
亮紅color9#d95a66rgb(217 90 102)hsl(354 63% 60%)oklch(63.3% 0.160 17.2)3.59 AA 大字級
亮綠color10#1b8e6argb(27 142 106)hsl(161 68% 33%)oklch(57.7% 0.112 166.1)3.92 AA 大字級
亮黃color11#b67608rgb(182 118 8)hsl(38 92% 37%)oklch(61.9% 0.131 71.2)3.60 AA 大字級
亮藍color12#0084c7rgb(0 132 199)hsl(200 100% 39%)oklch(58.7% 0.139 241.9)3.92 AA 大字級
亮洋紅color13#a75b73rgb(167 91 115)hsl(341 30% 51%)oklch(56.7% 0.103 0.7)4.58 AA
亮青color14#008396rgb(0 131 150)hsl(188 100% 29%)oklch(56.0% 0.098 212.4)4.29 AA 大字級
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.05 低於 AA

關於 Shokunin

Shokunin 採用中性色調的淺色背景(#fcfaf2),預設前景色為 #303841。內文的 WCAG 對比度為 11.37:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.68:1,最低 3.59:1。

色票整體色彩彩度適中,其中紅色為 #c84053、綠色為 #157a5b、藍色為 #006fae、洋紅為 #8f4155。

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

與 Shokunin 相似的配色

資料來源:iTerm2 Color Schemes (MIT)