跳到主要內容

Tonic Light

Tonic Light 是一套淺色終端機配色(柔和),背景色 #eeeeee,文字色 #2a2f31,對比度 11.7:1

取得設定檔
背景色
#eeeeee
前景色
#2a2f31
文字對比度
11.68:1AAA
強調色對比度
2.16:1最低 1.14
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
❯

Tonic Light 的設定檔

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

Tonic Light

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

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

palette = 0=#fbfbfb
palette = 1=#ba0e2e
palette = 2=#75a1a4
palette = 3=#b8cd44
palette = 4=#fd9f59
palette = 5=#ef6e44
palette = 6=#b8cd44
palette = 7=#363c3f
palette = 8=#ffffff
palette = 9=#e61f44
palette = 10=#b2cbcd
palette = 11=#d7e394
palette = 12=#fed9be
palette = 13=#f7b7a2
palette = 14=#d7e394
palette = 15=#4d575a
background = #eeeeee
foreground = #2a2f31
cursor-color = #222222
cursor-text = #2a2f31
selection-background = #ef6e44
selection-foreground = #ffffff

Tonic Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)—
前景色foreground#2a2f31rgb(42 47 49)hsl(197 8% 18%)oklch(30.1% 0.008 223.7)11.68 AAA
游標cursor#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)13.71 AAA
游標文字cursorText#2a2f31rgb(42 47 49)hsl(197 8% 18%)oklch(30.1% 0.008 223.7)11.68 AAA
選取範圍selection#ef6e44rgb(239 110 68)hsl(15 84% 60%)oklch(68.7% 0.169 38.3)2.59 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.16 低於 AA
黑color0#fbfbfbrgb(251 251 251)hsl(0 0% 98%)oklch(98.8% 0.000 0)1.12 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)5.67 AA
綠color2#75a1a4rgb(117 161 164)hsl(184 21% 55%)oklch(67.8% 0.048 201.4)2.45 低於 AA
黃color3#b8cd44rgb(184 205 68)hsl(69 58% 54%)oklch(80.7% 0.160 117.6)1.53 低於 AA
藍color4#fd9f59rgb(253 159 89)hsl(26 98% 67%)oklch(78.5% 0.141 55.6)1.76 低於 AA
洋紅color5#ef6e44rgb(239 110 68)hsl(15 84% 60%)oklch(68.7% 0.169 38.3)2.59 低於 AA
青color6#b8cd44rgb(184 205 68)hsl(69 58% 54%)oklch(80.7% 0.160 117.6)1.53 低於 AA
白color7#363c3frgb(54 60 63)hsl(200 8% 23%)oklch(35.2% 0.010 229.1)9.65 AAA
亮黑color8#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.16 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.90 AA 大字級
亮綠color10#b2cbcdrgb(178 203 205)hsl(184 21% 75%)oklch(82.4% 0.027 202.5)1.47 低於 AA
亮黃color11#d7e394rgb(215 227 148)hsl(69 59% 74%)oklch(88.9% 0.102 115.6)1.18 低於 AA
亮藍color12#fed9bergb(254 217 190)hsl(25 97% 87%)oklch(91.0% 0.055 58.1)1.14 低於 AA
亮洋紅color13#f7b7a2rgb(247 183 162)hsl(15 84% 80%)oklch(83.3% 0.080 38.9)1.48 低於 AA
亮青color14#d7e394rgb(215 227 148)hsl(69 59% 74%)oklch(88.9% 0.102 115.6)1.18 低於 AA
亮白color15#4d575argb(77 87 90)hsl(194 8% 33%)oklch(44.9% 0.014 217.7)6.40 AA

關於 Tonic Light

Tonic Light 採用中性色調的淺色背景(#eeeeee),預設前景色為 #2a2f31。內文的 WCAG 對比度為 11.68:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.16:1,最低 1.14:1。

色票整體色彩彩度適中,其中紅色為 #ba0e2e、綠色為 #75a1a4、藍色為 #fd9f59、洋紅為 #ef6e44。

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

與 Tonic Light 相似的配色

資料來源:Rainglow (MIT)