跳到主要內容

Linux Vt

Linux Vt 是一套深色終端機配色(純黑、鮮艷),背景色 #000000,文字色 #aaaaaa,對比度 9.0:1

取得設定檔
背景色
#000000
前景色
#aaaaaa
文字對比度
9.04:1AAA
強調色對比度
8.10:1最低 2.71
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
❯

Linux Vt 的設定檔

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

Linux Vt

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

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

palette = 0=#000000
palette = 1=#aa0000
palette = 2=#00aa00
palette = 3=#ffff55
palette = 4=#5555ff
palette = 5=#ff55ff
palette = 6=#00aaaa
palette = 7=#aaaaaa
palette = 8=#555555
palette = 9=#aa0000
palette = 10=#00aa00
palette = 11=#ffff55
palette = 12=#5555ff
palette = 13=#ff55ff
palette = 14=#00aaaa
palette = 15=#ffffff
background = #000000
foreground = #aaaaaa
cursor-color = #aaaaaa
cursor-text = #000000
selection-background = #131313
selection-foreground = #aaaaaa

Linux Vt 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
光標cursor#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#131313rgb(19 19 19)hsl(0 0% 7%)oklch(18.7% 0.000 0)1.13 低於 AA
選取文字selectionText#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#aa0000rgb(170 0 0)hsl(0 100% 33%)oklch(46.3% 0.190 29.2)2.71 低於 AA
綠color2#00aa00rgb(0 170 0)hsl(120 100% 33%)oklch(63.9% 0.218 142.5)6.75 AA
黃color3#ffff55rgb(255 255 85)hsl(60 100% 67%)oklch(97.1% 0.183 109.4)19.69 AAA
藍color4#5555ffrgb(85 85 255)hsl(240 100% 67%)oklch(56.0% 0.244 275.1)4.13 AA 大字體
洋紅color5#ff55ffrgb(255 85 255)hsl(300 100% 67%)oklch(74.0% 0.272 327.9)8.00 AAA
青color6#00aaaargb(0 170 170)hsl(180 100% 33%)oklch(66.8% 0.114 194.8)7.33 AAA
白color7#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)9.04 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.82 低於 AA
亮紅color9#aa0000rgb(170 0 0)hsl(0 100% 33%)oklch(46.3% 0.190 29.2)2.71 低於 AA
亮綠color10#00aa00rgb(0 170 0)hsl(120 100% 33%)oklch(63.9% 0.218 142.5)6.75 AA
亮黃color11#ffff55rgb(255 255 85)hsl(60 100% 67%)oklch(97.1% 0.183 109.4)19.69 AAA
亮藍color12#5555ffrgb(85 85 255)hsl(240 100% 67%)oklch(56.0% 0.244 275.1)4.13 AA 大字體
亮洋紅color13#ff55ffrgb(255 85 255)hsl(300 100% 67%)oklch(74.0% 0.272 327.9)8.00 AAA
亮青color14#00aaaargb(0 170 170)hsl(180 100% 33%)oklch(66.8% 0.114 194.8)7.33 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 Linux Vt

Linux Vt 採用中性色調的深色背景(#000000),預設前景色為 #aaaaaa。正文的 WCAG 對比度為 9.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.10:1,最低 2.71:1。

色板整體色彩飽和度較高,其中紅色為 #aa0000、綠色為 #00aa00、藍色為 #5555ff、洋紅為 #ff55ff。

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

與 Linux Vt 相似的配色

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