跳到主要內容

Violite

Violite 是一套深色終端機配色(粉彩、冷色),背景色 #241c36,文字色 #eef4f6,對比度 14.6:1

取得設定檔
背景色
#241c36
前景色
#eef4f6
文字對比度
14.61:1AAA
強調色對比度
9.19:1最低 5.12
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
❯

Violite 的設定檔

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

Violite

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

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

palette = 0=#241c36
palette = 1=#ec7979
palette = 2=#79ecb3
palette = 3=#ece279
palette = 4=#a979ec
palette = 5=#ec79ec
palette = 6=#79ecec
palette = 7=#eef4f6
palette = 8=#56447a
palette = 9=#ef8f8f
palette = 10=#9fefbf
palette = 11=#efe78f
palette = 12=#b78fef
palette = 13=#ef8fcf
palette = 14=#9fefef
palette = 15=#f8fafc
background = #241c36
foreground = #eef4f6
cursor-color = #eef4f6
cursor-text = #241c36
selection-background = #49376d
selection-foreground = #eef4f6

Violite 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#241c36rgb(36 28 54)hsl(258 32% 16%)oklch(24.9% 0.049 296.9)—
前景色foreground#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
游標cursor#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
游標文字cursorText#241c36rgb(36 28 54)hsl(258 32% 16%)oklch(24.9% 0.049 296.9)1.00 低於 AA
選取範圍selection#49376drgb(73 55 109)hsl(260 33% 32%)oklch(38.3% 0.091 297.3)1.58 低於 AA
選取文字selectionText#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
黑color0#241c36rgb(36 28 54)hsl(258 32% 16%)oklch(24.9% 0.049 296.9)1.00 低於 AA
紅color1#ec7979rgb(236 121 121)hsl(0 75% 70%)oklch(70.7% 0.142 21.3)5.85 AA
綠color2#79ecb3rgb(121 236 179)hsl(150 75% 70%)oklch(86.0% 0.134 160.1)11.17 AAA
黃color3#ece279rgb(236 226 121)hsl(55 75% 70%)oklch(89.9% 0.127 103.8)12.15 AAA
藍color4#a979ecrgb(169 121 236)hsl(265 75% 70%)oklch(67.3% 0.169 301.3)5.12 AA
洋紅color5#ec79ecrgb(236 121 236)hsl(300 75% 70%)oklch(74.6% 0.197 327.3)6.58 AA
青color6#79ececrgb(121 236 236)hsl(180 75% 70%)oklch(87.6% 0.105 195.4)11.61 AAA
白color7#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
亮黑color8#56447argb(86 68 122)hsl(260 28% 37%)oklch(43.0% 0.089 297.9)1.93 低於 AA
亮紅color9#ef8f8frgb(239 143 143)hsl(0 75% 75%)oklch(75.1% 0.117 20.2)6.95 AA
亮綠color10#9fefbfrgb(159 239 191)hsl(144 71% 78%)oklch(88.8% 0.103 157.2)12.03 AAA
亮黃color11#efe78frgb(239 231 143)hsl(55 75% 75%)oklch(91.5% 0.110 103.8)12.75 AAA
亮藍color12#b78fefrgb(183 143 239)hsl(265 75% 75%)oklch(72.5% 0.141 302.2)6.33 AA
亮洋紅color13#ef8fcfrgb(239 143 207)hsl(320 75% 75%)oklch(77.0% 0.139 340.6)7.34 AAA
亮青color14#9fefefrgb(159 239 239)hsl(180 71% 78%)oklch(90.1% 0.078 195.9)12.41 AAA
亮白color15#f8fafcrgb(248 250 252)hsl(210 40% 98%)oklch(98.4% 0.003 247.9)15.51 AAA

關於 Violite

Violite 採用冷色調的深色背景(#241c36),預設前景色為 #eef4f6。內文的 WCAG 對比度為 14.61:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.19:1,最低 5.12:1。

色票整體色彩彩度適中,其中紅色為 #ec7979、綠色為 #79ecb3、藍色為 #a979ec、洋紅為 #ec79ec。

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

與 Violite 相似的配色

資料來源:iTerm2 Color Schemes (MIT)