跳到主要內容

Bim

Bim 是一套深色終端機配色(冷色),背景色 #012849,文字色 #a9bed8,對比度 7.9:1

取得設定檔
背景色
#012849
前景色
#a9bed8
文字對比度
7.88:1AAA
強調色對比度
7.51:1最低 3.76
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
❯

Bim 的設定檔

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

Bim

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

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

palette = 0=#2c2423
palette = 1=#f557a0
palette = 2=#a9ee55
palette = 3=#f5a255
palette = 4=#5ea2ec
palette = 5=#a957ec
palette = 6=#5eeea0
palette = 7=#918988
palette = 8=#918988
palette = 9=#f579b2
palette = 10=#bbee78
palette = 11=#f5b378
palette = 12=#81b3ec
palette = 13=#bb79ec
palette = 14=#81eeb2
palette = 15=#f5eeec
background = #012849
foreground = #a9bed8
cursor-color = #a9bed8
cursor-text = #012849
selection-background = #2b4b6b
selection-foreground = #a9bed8

Bim 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#012849rgb(1 40 73)hsl(207 97% 15%)oklch(27.2% 0.074 249.3)—
前景色foreground#a9bed8rgb(169 190 216)hsl(213 38% 75%)oklch(79.4% 0.044 253.9)7.88 AAA
光標cursor#a9bed8rgb(169 190 216)hsl(213 38% 75%)oklch(79.4% 0.044 253.9)7.88 AAA
光標文字cursorText#012849rgb(1 40 73)hsl(207 97% 15%)oklch(27.2% 0.074 249.3)1.00 低於 AA
選取範圍selection#2b4b6brgb(43 75 107)hsl(210 43% 29%)oklch(40.3% 0.066 249.8)1.66 低於 AA
選取文字selectionText#a9bed8rgb(169 190 216)hsl(213 38% 75%)oklch(79.4% 0.044 253.9)7.88 AAA
黑color0#2c2423rgb(44 36 35)hsl(7 11% 15%)oklch(26.9% 0.012 26.3)1.01 低於 AA
紅color1#f557a0rgb(245 87 160)hsl(332 89% 65%)oklch(68.7% 0.204 355.3)4.82 AA
綠color2#a9ee55rgb(169 238 85)hsl(87 82% 63%)oklch(87.4% 0.195 130.3)10.74 AAA
黃color3#f5a255rgb(245 162 85)hsl(29 89% 65%)oklch(78.0% 0.135 61.4)7.27 AAA
藍color4#5ea2ecrgb(94 162 236)hsl(211 79% 65%)oklch(69.9% 0.130 251.9)5.61 AA
洋紅color5#a957ecrgb(169 87 236)hsl(273 80% 63%)oklch(62.3% 0.219 306.4)3.76 AA 大字體
青color6#5eeea0rgb(94 238 160)hsl(147 81% 65%)oklch(85.2% 0.166 156.3)10.15 AAA
白color7#918988rgb(145 137 136)hsl(7 4% 55%)oklch(63.7% 0.010 26.1)4.38 AA 大字體
亮黑color8#918988rgb(145 137 136)hsl(7 4% 55%)oklch(63.7% 0.010 26.1)4.38 AA 大字體
亮紅color9#f579b2rgb(245 121 178)hsl(332 86% 72%)oklch(73.5% 0.163 353.0)5.90 AA
亮綠color10#bbee78rgb(187 238 120)hsl(86 78% 70%)oklch(88.9% 0.157 128.5)11.14 AAA
亮黃color11#f5b378rgb(245 179 120)hsl(28 86% 72%)oklch(81.6% 0.108 62.2)8.28 AAA
亮藍color12#81b3ecrgb(129 179 236)hsl(212 74% 72%)oklch(75.3% 0.098 252.3)6.85 AA
亮洋紅color13#bb79ecrgb(187 121 236)hsl(274 75% 70%)oklch(69.1% 0.174 309.0)5.04 AA
亮青color14#81eeb2rgb(129 238 178)hsl(147 76% 72%)oklch(86.8% 0.132 157.9)10.57 AAA
亮白color15#f5eeecrgb(245 238 236)hsl(13 31% 94%)oklch(95.4% 0.008 36.6)13.08 AAA

關於 Bim

Bim 採用冷色調的深色背景(#012849),預設前景色為 #a9bed8。正文的 WCAG 對比度為 7.88:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.51:1,最低 3.76:1。

色板整體色彩飽和度適中,其中紅色為 #f557a0、綠色為 #a9ee55、藍色為 #5ea2ec、洋紅為 #a957ec。

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

與 Bim 相似的配色

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