跳到主要內容

Base2Tone Mall

Base2Tone Mall 是一套深色終端機配色(柔和、單色),背景色 #1e1e1f,文字色 #97959d,對比度 5.6:1

取得設定檔
背景色
#1e1e1f
前景色
#97959d
文字對比度
5.63:1AA
強調色對比度
7.09:1最低 1.18
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
❯

Base2Tone Mall 的設定檔

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

Base2Tone Mall

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

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

palette = 0=#1e1e1f
palette = 1=#a17efc
palette = 2=#75bfff
palette = 3=#b3dbff
palette = 4=#b294ff
palette = 5=#75bfff
palette = 6=#c5adff
palette = 7=#97959d
palette = 8=#5e5c60
palette = 9=#8ac8ff
palette = 10=#2b2b2c
palette = 11=#515053
palette = 12=#6a686e
palette = 13=#e5dbff
palette = 14=#69b5f7
palette = 15=#f4f0ff
background = #1e1e1f
foreground = #97959d
cursor-color = #3692e2
cursor-text = #1e1e1f
selection-background = #39393b
selection-foreground = #97959d

Base2Tone Mall 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1frgb(30 30 31)hsl(240 2% 12%)oklch(23.5% 0.002 286.3)—
前景色foreground#97959drgb(151 149 157)hsl(255 4% 60%)oklch(67.4% 0.012 297.5)5.63 AA
游標cursor#3692e2rgb(54 146 226)hsl(208 75% 55%)oklch(64.4% 0.147 248.7)5.05 AA
游標文字cursorText#1e1e1frgb(30 30 31)hsl(240 2% 12%)oklch(23.5% 0.002 286.3)1.00 低於 AA
選取範圍selection#39393brgb(57 57 59)hsl(240 2% 23%)oklch(34.5% 0.003 286.2)1.45 低於 AA
選取文字selectionText#97959drgb(151 149 157)hsl(255 4% 60%)oklch(67.4% 0.012 297.5)5.63 AA
黑color0#1e1e1frgb(30 30 31)hsl(240 2% 12%)oklch(23.5% 0.002 286.3)1.00 低於 AA
紅color1#a17efcrgb(161 126 252)hsl(257 95% 74%)oklch(68.3% 0.181 293.9)5.48 AA
綠color2#75bfffrgb(117 191 255)hsl(208 100% 73%)oklch(78.2% 0.118 246.1)8.45 AAA
黃color3#b3dbffrgb(179 219 255)hsl(208 100% 85%)oklch(87.5% 0.065 245.8)11.50 AAA
藍color4#b294ffrgb(178 148 255)hsl(257 100% 79%)oklch(73.7% 0.153 295.3)6.80 AA
洋紅color5#75bfffrgb(117 191 255)hsl(208 100% 73%)oklch(78.2% 0.118 246.1)8.45 AAA
青color6#c5adffrgb(197 173 255)hsl(258 100% 84%)oklch(79.8% 0.116 297.1)8.56 AAA
白color7#97959drgb(151 149 157)hsl(255 4% 60%)oklch(67.4% 0.012 297.5)5.63 AA
亮黑color8#5e5c60rgb(94 92 96)hsl(270 2% 37%)oklch(47.8% 0.007 308.3)2.52 低於 AA
亮紅color9#8ac8ffrgb(138 200 255)hsl(208 100% 77%)oklch(81.1% 0.101 246.2)9.35 AAA
亮綠color10#2b2b2crgb(43 43 44)hsl(240 1% 17%)oklch(28.9% 0.002 286.3)1.18 低於 AA
亮黃color11#515053rgb(81 80 83)hsl(260 2% 32%)oklch(43.3% 0.005 301.3)2.08 低於 AA
亮藍color12#6a686ergb(106 104 110)hsl(260 3% 42%)oklch(52.1% 0.010 301.2)3.03 AA 大字級
亮洋紅color13#e5dbffrgb(229 219 255)hsl(257 100% 93%)oklch(91.0% 0.050 298.1)12.62 AAA
亮青color14#69b5f7rgb(105 181 247)hsl(208 90% 69%)oklch(75.1% 0.122 246.5)7.58 AAA
亮白color15#f4f0ffrgb(244 240 255)hsl(256 100% 97%)oklch(96.3% 0.020 298.2)14.88 AAA

關於 Base2Tone Mall

Base2Tone Mall 採用中性色調的深色背景(#1e1e1f),預設前景色為 #97959d。內文的 WCAG 對比度為 5.63:1(AA),12 種 ANSI 彩色槽位平均對比度 7.09:1,最低 1.18:1。

色票整體色彩彩度適中,其中紅色為 #a17efc、綠色為 #75bfff、藍色為 #b294ff、洋紅為 #75bfff。此配色歸屬 Base2Tone 主題系列。

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

與 Base2Tone Mall 相似的配色

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