跳到正文

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/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)