跳到主要內容

Kasugano

Kasugano 是一套深色終端機配色,背景色 #1b1b1b,文字色 #ffffff,對比度 17.2:1

取得設定檔
背景色
#1b1b1b
前景色
#ffffff
文字對比度
17.22:1AAA
強調色對比度
5.96:1最低 2.76
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
❯

Kasugano 的設定檔

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

Kasugano

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

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

palette = 0=#3d3d3d
palette = 1=#6673bf
palette = 2=#3ea290
palette = 3=#b0ead9
palette = 4=#31658c
palette = 5=#596196
palette = 6=#8292b2
palette = 7=#c8cacc
palette = 8=#4d4d4d
palette = 9=#899aff
palette = 10=#52ad91
palette = 11=#98c9bb
palette = 12=#477ab3
palette = 13=#7882bf
palette = 14=#95a7cc
palette = 15=#edeff2
background = #1b1b1b
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #1b1b1b
selection-background = #4c4c4c
selection-foreground = #ffffff

Kasugano 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1b1b1brgb(27 27 27)hsl(0 0% 11%)oklch(22.2% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.22 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.22 AAA
光標文字cursorText#1b1b1brgb(27 27 27)hsl(0 0% 11%)oklch(22.2% 0.000 0)1.00 低於 AA
選取範圍selection#4c4c4crgb(76 76 76)hsl(0 0% 30%)oklch(41.7% 0.000 0)2.01 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.22 AAA
黑color0#3d3d3drgb(61 61 61)hsl(0 0% 24%)oklch(36.0% 0.000 0)1.59 低於 AA
紅color1#6673bfrgb(102 115 191)hsl(231 41% 57%)oklch(57.9% 0.118 274.8)3.91 AA 大字體
綠color2#3ea290rgb(62 162 144)hsl(169 45% 44%)oklch(64.9% 0.097 179.1)5.56 AA
黃color3#b0ead9rgb(176 234 217)hsl(162 58% 80%)oklch(89.3% 0.063 174.8)12.81 AAA
藍color4#31658crgb(49 101 140)hsl(206 48% 37%)oklch(48.9% 0.084 243.4)2.76 低於 AA
洋紅color5#596196rgb(89 97 150)hsl(232 26% 47%)oklch(50.9% 0.085 276.4)2.93 低於 AA
青color6#8292b2rgb(130 146 178)hsl(220 24% 60%)oklch(65.9% 0.051 264.1)5.50 AA
白color7#c8caccrgb(200 202 204)hsl(210 4% 79%)oklch(83.8% 0.004 247.9)10.48 AAA
亮黑color8#4d4d4drgb(77 77 77)hsl(0 0% 30%)oklch(42.0% 0.000 0)2.04 低於 AA
亮紅color9#899affrgb(137 154 255)hsl(231 100% 77%)oklch(71.6% 0.148 274.8)6.67 AA
亮綠color10#52ad91rgb(82 173 145)hsl(162 36% 50%)oklch(68.4% 0.097 170.7)6.35 AA
亮黃color11#98c9bbrgb(152 201 187)hsl(163 31% 69%)oklch(79.7% 0.055 175.4)9.36 AAA
亮藍color12#477ab3rgb(71 122 179)hsl(212 43% 49%)oklch(56.9% 0.104 252.5)3.86 AA 大字體
亮洋紅color13#7882bfrgb(120 130 191)hsl(232 36% 61%)oklch(62.3% 0.093 276.2)4.71 AA
亮青color14#95a7ccrgb(149 167 204)hsl(220 35% 69%)oklch(72.7% 0.058 264.6)7.12 AAA
亮白color15#edeff2rgb(237 239 242)hsl(216 16% 94%)oklch(95.1% 0.005 258.3)14.95 AAA

關於 Kasugano

Kasugano 採用中性色調的深色背景(#1b1b1b),預設前景色為 #ffffff。正文的 WCAG 對比度為 17.22:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.96:1,最低 2.76:1。

色板整體色彩飽和度適中,其中紅色為 #6673bf、綠色為 #3ea290、藍色為 #31658c、洋紅為 #596196。

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

與 Kasugano 相似的配色

資料來源:terminal.sexy (MIT)