跳到主要內容

Ys Dark

Ys Dark 是一套深色終端機配色(粉彩、冷色),背景色 #1b1e35,文字色 #bbc5ff,對比度 9.8:1

取得設定檔
背景色
#1b1e35
前景色
#bbc5ff
文字對比度
9.77:1AAA
強調色對比度
10.00:1最低 5.72
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
❯

Ys Dark 的設定檔

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

Ys Dark

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

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

palette = 0=#101010
palette = 1=#f07178
palette = 2=#c3e88d
palette = 3=#ffcb6b
palette = 4=#82aaff
palette = 5=#e1acff
palette = 6=#89ddff
palette = 7=#d0d0d0
palette = 8=#434758
palette = 9=#ff8b92
palette = 10=#ddffa7
palette = 11=#ffe585
palette = 12=#9cc4ff
palette = 13=#c792ea
palette = 14=#a3f7ff
palette = 15=#ffffff
background = #1b1e35
foreground = #bbc5ff
cursor-color = #bbc5ff
cursor-text = #1b1e35
selection-background = #3e4362
selection-foreground = #bbc5ff

Ys Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1b1e35rgb(27 30 53)hsl(233 33% 16%)oklch(24.4% 0.044 277.0)—
前景色foreground#bbc5ffrgb(187 197 255)hsl(231 100% 87%)oklch(83.6% 0.082 276.9)9.77 AAA
游標cursor#bbc5ffrgb(187 197 255)hsl(231 100% 87%)oklch(83.6% 0.082 276.9)9.77 AAA
游標文字cursorText#1b1e35rgb(27 30 53)hsl(233 33% 16%)oklch(24.4% 0.044 277.0)1.00 低於 AA
選取範圍selection#3e4362rgb(62 67 98)hsl(232 23% 31%)oklch(39.2% 0.053 276.6)1.70 低於 AA
選取文字selectionText#bbc5ffrgb(187 197 255)hsl(231 100% 87%)oklch(83.6% 0.082 276.9)9.77 AAA
黑color0#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.16 低於 AA
紅color1#f07178rgb(240 113 120)hsl(357 81% 69%)oklch(70.1% 0.157 18.6)5.72 AA
綠color2#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)11.88 AAA
黃color3#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)10.91 AAA
藍color4#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)7.12 AAA
洋紅color5#e1acffrgb(225 172 255)hsl(278 100% 84%)oklch(82.1% 0.126 312.9)8.99 AAA
青color6#89ddffrgb(137 221 255)hsl(197 100% 77%)oklch(85.6% 0.094 225.9)10.79 AAA
白color7#d0d0d0rgb(208 208 208)hsl(0 0% 82%)oklch(85.8% 0.000 0)10.61 AAA
亮黑color8#434758rgb(67 71 88)hsl(229 14% 30%)oklch(40.1% 0.029 274.6)1.78 低於 AA
亮紅color9#ff8b92rgb(255 139 146)hsl(356 100% 77%)oklch(76.5% 0.140 17.1)7.29 AAA
亮綠color10#ddffa7rgb(221 255 167)hsl(83 100% 83%)oklch(95.5% 0.118 125.7)14.75 AAA
亮黃color11#ffe585rgb(255 229 133)hsl(47 100% 76%)oklch(92.3% 0.120 94.7)13.09 AAA
亮藍color12#9cc4ffrgb(156 196 255)hsl(216 100% 81%)oklch(81.3% 0.094 258.0)9.16 AAA
亮洋紅color13#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)6.80 AA
亮青color14#a3f7ffrgb(163 247 255)hsl(185 100% 82%)oklch(92.5% 0.082 203.5)13.48 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.36 AAA

關於 Ys Dark

Ys Dark 採用冷色調的深色背景(#1b1e35),預設前景色為 #bbc5ff。內文的 WCAG 對比度為 9.77:1(AAA),12 種 ANSI 彩色槽位平均對比度 10.00:1,最低 5.72:1。

色票整體色彩彩度適中,其中紅色為 #f07178、綠色為 #c3e88d、藍色為 #82aaff、洋紅為 #e1acff。

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

與 Ys Dark 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)