跳到主要內容

Base2Tone Drawbridge

Base2Tone Drawbridge 是一套深色終端機配色(柔和、單色),背景色 #1b1f32,文字色 #9094a7,對比度 5.4:1

取得設定檔
背景色
#1b1f32
前景色
#9094a7
文字對比度
5.42:1AA
強調色對比度
6.57:1最低 1.15
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 Drawbridge 的設定檔

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

Base2Tone Drawbridge

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

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

palette = 0=#1b1f32
palette = 1=#627af4
palette = 2=#67c9e4
palette = 3=#99e9ff
palette = 4=#7289fd
palette = 5=#67c9e4
palette = 6=#8b9efd
palette = 7=#9094a7
palette = 8=#51587b
palette = 9=#75d5f0
palette = 10=#252a41
palette = 11=#444b6f
palette = 12=#5e6587
palette = 13=#c3cdfe
palette = 14=#5cbcd6
palette = 15=#e1e6ff
background = #1b1f32
foreground = #9094a7
cursor-color = #289dbd
cursor-text = #1b1f32
selection-background = #353a4d
selection-foreground = #9094a7

Base2Tone Drawbridge 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1b1f32rgb(27 31 50)hsl(230 30% 15%)oklch(24.5% 0.037 274.3)—
前景色foreground#9094a7rgb(144 148 167)hsl(230 12% 61%)oklch(67.0% 0.028 276.2)5.42 AA
游標cursor#289dbdrgb(40 157 189)hsl(193 65% 45%)oklch(64.8% 0.109 221.1)5.16 AA
游標文字cursorText#1b1f32rgb(27 31 50)hsl(230 30% 15%)oklch(24.5% 0.037 274.3)1.00 低於 AA
選取範圍selection#353a4drgb(53 58 77)hsl(228 18% 25%)oklch(35.2% 0.034 273.1)1.45 低於 AA
選取文字selectionText#9094a7rgb(144 148 167)hsl(230 12% 61%)oklch(67.0% 0.028 276.2)5.42 AA
黑color0#1b1f32rgb(27 31 50)hsl(230 30% 15%)oklch(24.5% 0.037 274.3)1.00 低於 AA
紅color1#627af4rgb(98 122 244)hsl(230 87% 67%)oklch(62.3% 0.183 271.7)4.35 AA 大字級
綠color2#67c9e4rgb(103 201 228)hsl(193 70% 65%)oklch(78.7% 0.099 218.2)8.58 AAA
黃color3#99e9ffrgb(153 233 255)hsl(193 100% 80%)oklch(89.0% 0.084 217.0)11.99 AAA
藍color4#7289fdrgb(114 137 253)hsl(230 97% 72%)oklch(66.8% 0.173 272.5)5.21 AA
洋紅color5#67c9e4rgb(103 201 228)hsl(193 70% 65%)oklch(78.7% 0.099 218.2)8.58 AAA
青color6#8b9efdrgb(139 158 253)hsl(230 97% 77%)oklch(72.5% 0.140 273.9)6.52 AA
白color7#9094a7rgb(144 148 167)hsl(230 12% 61%)oklch(67.0% 0.028 276.2)5.42 AA
亮黑color8#51587brgb(81 88 123)hsl(230 21% 40%)oklch(46.9% 0.058 275.2)2.35 低於 AA
亮紅color9#75d5f0rgb(117 213 240)hsl(193 80% 70%)oklch(82.4% 0.098 218.3)9.73 AAA
亮綠color10#252a41rgb(37 42 65)hsl(229 27% 20%)oklch(29.1% 0.043 274.1)1.15 低於 AA
亮黃color11#444b6frgb(68 75 111)hsl(230 24% 35%)oklch(42.3% 0.061 275.1)1.93 低於 AA
亮藍color12#5e6587rgb(94 101 135)hsl(230 18% 45%)oklch(51.4% 0.055 275.3)2.86 低於 AA
亮洋紅color13#c3cdfergb(195 205 254)hsl(230 97% 88%)oklch(85.7% 0.069 275.8)10.46 AAA
亮青color14#5cbcd6rgb(92 188 214)hsl(193 60% 60%)oklch(74.7% 0.097 218.0)7.46 AAA
亮白color15#e1e6ffrgb(225 230 255)hsl(230 100% 94%)oklch(92.9% 0.034 276.7)13.16 AAA

關於 Base2Tone Drawbridge

Base2Tone Drawbridge 採用冷色調的深色背景(#1b1f32),預設前景色為 #9094a7。內文的 WCAG 對比度為 5.42:1(AA),12 種 ANSI 彩色槽位平均對比度 6.57:1,最低 1.15:1。

色票整體色彩彩度適中,其中紅色為 #627af4、綠色為 #67c9e4、藍色為 #7289fd、洋紅為 #67c9e4。此配色歸屬 Base2Tone 主題系列。

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

與 Base2Tone Drawbridge 相似的配色

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