跳到主要內容

Tailwind Light

Tailwind Light 是一套淺色終端機配色,背景色 #fafafa,文字色 #0a0a0a,對比度 19.0:1

取得設定檔
背景色
#fafafa
前景色
#0a0a0a
文字對比度
18.97:1AAA
強調色對比度
4.61:1最低 2.81
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
❯

Tailwind Light 的設定檔

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

Tailwind Light

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

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

palette = 0=#262626
palette = 1=#b91c1c
palette = 2=#15803d
palette = 3=#a16207
palette = 4=#0369a1
palette = 5=#a21caf
palette = 6=#0f766e
palette = 7=#bababa
palette = 8=#737373
palette = 9=#dc2626
palette = 10=#16a34a
palette = 11=#ca8a04
palette = 12=#0284c7
palette = 13=#c026d3
palette = 14=#0d9488
palette = 15=#e5e5e5
background = #fafafa
foreground = #0a0a0a
cursor-color = #0a0a0a
cursor-text = #fafafa
selection-background = #e2e8f0
selection-foreground = #0a0a0a

Tailwind Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)—
前景色foreground#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)18.97 AAA
游標cursor#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)18.97 AAA
游標文字cursorText#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)1.00 低於 AA
選取範圍selection#e2e8f0rgb(226 232 240)hsl(214 32% 91%)oklch(92.9% 0.013 255.5)1.18 低於 AA
選取文字selectionText#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)18.97 AAA
黑color0#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)14.50 AAA
紅color1#b91c1crgb(185 28 28)hsl(0 74% 42%)oklch(50.5% 0.190 27.5)6.20 AA
綠color2#15803drgb(21 128 61)hsl(142 72% 29%)oklch(52.7% 0.137 150.1)4.81 AA
黃color3#a16207rgb(161 98 7)hsl(35 92% 33%)oklch(55.4% 0.121 66.4)4.72 AA
藍color4#0369a1rgb(3 105 161)hsl(201 96% 32%)oklch(50.0% 0.119 242.7)5.68 AA
洋紅color5#a21cafrgb(162 28 175)hsl(295 72% 40%)oklch(51.8% 0.226 323.9)6.06 AA
青color6#0f766ergb(15 118 110)hsl(175 77% 26%)oklch(51.1% 0.086 186.4)5.24 AA
白color7#bababargb(186 186 186)hsl(0 0% 73%)oklch(78.9% 0.000 0)1.86 低於 AA
亮黑color8#737373rgb(115 115 115)hsl(0 0% 45%)oklch(55.6% 0.000 0)4.54 AA
亮紅color9#dc2626rgb(220 38 38)hsl(0 72% 51%)oklch(57.7% 0.215 27.3)4.63 AA
亮綠color10#16a34argb(22 163 74)hsl(142 76% 36%)oklch(62.7% 0.170 149.2)3.16 AA 大字級
亮黃color11#ca8a04rgb(202 138 4)hsl(41 96% 40%)oklch(68.1% 0.142 75.8)2.81 低於 AA
亮藍color12#0284c7rgb(2 132 199)hsl(200 98% 39%)oklch(58.8% 0.139 242.0)3.92 AA 大字級
亮洋紅color13#c026d3rgb(192 38 211)hsl(293 69% 49%)oklch(59.1% 0.257 322.9)4.51 AA
亮青color14#0d9488rgb(13 148 136)hsl(175 84% 32%)oklch(60.0% 0.104 184.7)3.59 AA 大字級
亮白color15#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)1.21 低於 AA

關於 Tailwind Light

Tailwind Light 採用中性色調的淺色背景(#fafafa),預設前景色為 #0a0a0a。內文的 WCAG 對比度為 18.97:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.61:1,最低 2.81:1。

色票整體色彩彩度適中,其中紅色為 #b91c1c、綠色為 #15803d、藍色為 #0369a1、洋紅為 #a21caf。

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

與 Tailwind Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)