跳到主要內容

Violet Light

Violet Light 是一套淺色終端機配色(柔和、暖色),背景色 #fcf4dc,文字色 #536870,對比度 5.3:1

取得設定檔
背景色
#fcf4dc
前景色
#536870
文字對比度
5.34:1AA
強調色對比度
3.80:1最低 2.86
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
❯

Violet Light 的設定檔

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

Violet Light

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

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

palette = 0=#56595c
palette = 1=#c94c22
palette = 2=#85981c
palette = 3=#b4881d
palette = 4=#2e8bce
palette = 5=#d13a82
palette = 6=#32a198
palette = 7=#d3d0c9
palette = 8=#45484b
palette = 9=#bd3613
palette = 10=#738a04
palette = 11=#a57705
palette = 12=#2176c7
palette = 13=#c61c6f
palette = 14=#259286
palette = 15=#c9c6bd
background = #fcf4dc
foreground = #536870
cursor-color = #536870
cursor-text = #fcf4dc
selection-background = #595ab7
selection-foreground = #fcf4dc

Violet Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fcf4dcrgb(252 244 220)hsl(45 84% 93%)oklch(96.7% 0.033 91.7)—
前景色foreground#536870rgb(83 104 112)hsl(197 15% 38%)oklch(50.3% 0.028 223.0)5.34 AA
光標cursor#536870rgb(83 104 112)hsl(197 15% 38%)oklch(50.3% 0.028 223.0)5.34 AA
光標文字cursorText#fcf4dcrgb(252 244 220)hsl(45 84% 93%)oklch(96.7% 0.033 91.7)1.00 低於 AA
選取範圍selection#595ab7rgb(89 90 183)hsl(239 39% 53%)oklch(51.5% 0.143 279.6)5.35 AA
選取文字selectionText#fcf4dcrgb(252 244 220)hsl(45 84% 93%)oklch(96.7% 0.033 91.7)1.00 低於 AA
黑color0#56595crgb(86 89 92)hsl(210 3% 35%)oklch(46.2% 0.006 248.0)6.42 AA
紅color1#c94c22rgb(201 76 34)hsl(15 71% 46%)oklch(58.0% 0.168 37.9)4.21 AA 大字體
綠color2#85981crgb(133 152 28)hsl(69 69% 35%)oklch(64.3% 0.142 118.6)2.94 低於 AA
黃color3#b4881drgb(180 136 29)hsl(43 72% 41%)oklch(65.2% 0.126 83.8)2.95 低於 AA
藍color4#2e8bcergb(46 139 206)hsl(205 63% 49%)oklch(61.4% 0.132 244.6)3.35 AA 大字體
洋紅color5#d13a82rgb(209 58 130)hsl(331 62% 52%)oklch(59.3% 0.197 355.9)4.12 AA 大字體
青color6#32a198rgb(50 161 152)hsl(175 53% 41%)oklch(64.5% 0.099 187.2)2.86 低於 AA
白color7#d3d0c9rgb(211 208 201)hsl(42 10% 81%)oklch(85.8% 0.010 87.5)1.40 低於 AA
亮黑color8#45484brgb(69 72 75)hsl(210 4% 28%)oklch(40.0% 0.006 248.0)8.38 AAA
亮紅color9#bd3613rgb(189 54 19)hsl(12 82% 41%)oklch(53.3% 0.177 34.6)5.16 AA
亮綠color10#738a04rgb(115 138 4)hsl(70 94% 28%)oklch(59.4% 0.141 120.7)3.56 AA 大字體
亮黃color11#a57705rgb(165 119 5)hsl(43 94% 33%)oklch(60.0% 0.123 81.2)3.65 AA 大字體
亮藍color12#2176c7rgb(33 118 199)hsl(209 72% 45%)oklch(55.9% 0.148 251.7)4.27 AA 大字體
亮洋紅color13#c61c6frgb(198 28 111)hsl(331 75% 44%)oklch(54.6% 0.208 358.4)5.03 AA
亮青color14#259286rgb(37 146 134)hsl(173 60% 36%)oklch(59.8% 0.096 184.0)3.45 AA 大字體
亮白color15#c9c6bdrgb(201 198 189)hsl(45 10% 76%)oklch(82.6% 0.013 91.5)1.55 低於 AA

關於 Violet Light

Violet Light 採用暖色調的淺色背景(#fcf4dc),預設前景色為 #536870。正文的 WCAG 對比度為 5.34:1(AA),12 種 ANSI 彩色槽位平均對比度 3.80:1,最低 2.86:1。

色板整體色彩飽和度適中,其中紅色為 #c94c22、綠色為 #85981c、藍色為 #2e8bce、洋紅為 #d13a82。

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

與 Violet Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)