跳到主要內容

Vice

Vice 是一套深色終端機配色(柔和、鮮艷),背景色 #17191e,文字色 #8b9cbe,對比度 6.4:1

取得設定檔
背景色
#17191e
前景色
#8b9cbe
文字對比度
6.36:1AA
強調色對比度
9.60:1最低 4.40
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
❯

Vice 的設定檔

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

Vice

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

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

palette = 0=#17191e
palette = 1=#ff29a8
palette = 2=#0badff
palette = 3=#f0ffaa
palette = 4=#00eaff
palette = 5=#00f6d9
palette = 6=#8265ff
palette = 7=#8b9cbe
palette = 8=#383a47
palette = 9=#ff29a8
palette = 10=#0badff
palette = 11=#f0ffaa
palette = 12=#00eaff
palette = 13=#00f6d9
palette = 14=#8265ff
palette = 15=#f4f4f7
background = #17191e
foreground = #8b9cbe
cursor-color = #8b9cbe
cursor-text = #17191e
selection-background = #313641
selection-foreground = #8b9cbe

Vice 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#17191ergb(23 25 30)hsl(223 13% 10%)oklch(21.4% 0.010 268.2)—
前景色foreground#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
光標cursor#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
光標文字cursorText#17191ergb(23 25 30)hsl(223 13% 10%)oklch(21.4% 0.010 268.2)1.00 低於 AA
選取範圍selection#313641rgb(49 54 65)hsl(221 14% 22%)oklch(33.3% 0.021 266.0)1.45 低於 AA
選取文字selectionText#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
黑color0#17191ergb(23 25 30)hsl(223 13% 10%)oklch(21.4% 0.010 268.2)1.00 低於 AA
紅color1#ff29a8rgb(255 41 168)hsl(324 100% 58%)oklch(67.0% 0.259 351.1)5.14 AA
綠color2#0badffrgb(11 173 255)hsl(200 100% 52%)oklch(71.5% 0.165 241.0)7.06 AAA
黃color3#f0ffaargb(240 255 170)hsl(71 100% 83%)oklch(97.0% 0.108 116.6)16.40 AAA
藍color4#00eaffrgb(0 234 255)hsl(185 100% 50%)oklch(85.6% 0.147 206.3)11.90 AAA
洋紅color5#00f6d9rgb(0 246 217)hsl(173 100% 48%)oklch(87.2% 0.158 180.1)12.71 AAA
青color6#8265ffrgb(130 101 255)hsl(251 100% 70%)oklch(61.8% 0.219 286.8)4.40 AA 大字體
白color7#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
亮黑color8#383a47rgb(56 58 71)hsl(232 12% 25%)oklch(35.2% 0.023 278.3)1.56 低於 AA
亮紅color9#ff29a8rgb(255 41 168)hsl(324 100% 58%)oklch(67.0% 0.259 351.1)5.14 AA
亮綠color10#0badffrgb(11 173 255)hsl(200 100% 52%)oklch(71.5% 0.165 241.0)7.06 AAA
亮黃color11#f0ffaargb(240 255 170)hsl(71 100% 83%)oklch(97.0% 0.108 116.6)16.40 AAA
亮藍color12#00eaffrgb(0 234 255)hsl(185 100% 50%)oklch(85.6% 0.147 206.3)11.90 AAA
亮洋紅color13#00f6d9rgb(0 246 217)hsl(173 100% 48%)oklch(87.2% 0.158 180.1)12.71 AAA
亮青color14#8265ffrgb(130 101 255)hsl(251 100% 70%)oklch(61.8% 0.219 286.8)4.40 AA 大字體
亮白color15#f4f4f7rgb(244 244 247)hsl(240 16% 96%)oklch(96.8% 0.004 286.3)16.02 AAA

關於 Vice

Vice 採用中性色調的深色背景(#17191e),預設前景色為 #8b9cbe。正文的 WCAG 對比度為 6.36:1(AA),12 種 ANSI 彩色槽位平均對比度 9.60:1,最低 4.40:1。

色板整體色彩飽和度較高,其中紅色為 #ff29a8、綠色為 #0badff、藍色為 #00eaff、洋紅為 #00f6d9。

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

與 Vice 相似的配色

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