跳到主要內容

Barbie

Barbie 是一套淺色終端機配色(柔和、鮮豔),背景色 #ffd4fd,文字色 #930170,對比度 6.5:1

取得設定檔
背景色
#ffd4fd
前景色
#930170
文字對比度
6.49:1AA
強調色對比度
2.37:1最低 1.53
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
❯

Barbie 的設定檔

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

Barbie

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

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

palette = 0=#616161
palette = 1=#c200ff
palette = 2=#ff3d99
palette = 3=#86baff
palette = 4=#00aaff
palette = 5=#e628e3
palette = 6=#9496ff
palette = 7=#66c273
palette = 8=#616161
palette = 9=#c200ff
palette = 10=#ff3d99
palette = 11=#86baff
palette = 12=#00aaff
palette = 13=#e628e3
palette = 14=#9496ff
palette = 15=#66c273
background = #ffd4fd
foreground = #930170
cursor-color = #3d91ff
cursor-text = #ffd4fd
selection-background = #e6a5d8
selection-foreground = #930170

Barbie 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffd4fdrgb(255 212 253)hsl(303 100% 92%)oklch(91.9% 0.072 327.6)—
前景色foreground#930170rgb(147 1 112)hsl(314 99% 29%)oklch(44.5% 0.191 342.3)6.49 AA
游標cursor#3d91ffrgb(61 145 255)hsl(214 100% 62%)oklch(66.1% 0.182 256.6)2.40 低於 AA
游標文字cursorText#ffd4fdrgb(255 212 253)hsl(303 100% 92%)oklch(91.9% 0.072 327.6)1.00 低於 AA
選取範圍selection#e6a5d8rgb(230 165 216)hsl(313 57% 77%)oklch(79.9% 0.101 334.4)1.50 低於 AA
選取文字selectionText#930170rgb(147 1 112)hsl(314 99% 29%)oklch(44.5% 0.191 342.3)6.49 AA
黑color0#616161rgb(97 97 97)hsl(0 0% 38%)oklch(49.3% 0.000 0)4.74 AA
紅color1#c200ffrgb(194 0 255)hsl(286 100% 50%)oklch(61.3% 0.304 313.8)3.40 AA 大字級
綠color2#ff3d99rgb(255 61 153)hsl(332 100% 62%)oklch(67.7% 0.238 357.1)2.52 低於 AA
黃color3#86baffrgb(134 186 255)hsl(214 100% 76%)oklch(78.0% 0.114 255.8)1.53 低於 AA
藍color4#00aaffrgb(0 170 255)hsl(200 100% 50%)oklch(70.7% 0.168 242.0)1.96 低於 AA
洋紅color5#e628e3rgb(230 40 227)hsl(301 79% 53%)oklch(65.8% 0.282 329.0)2.78 低於 AA
青color6#9496ffrgb(148 150 255)hsl(239 100% 79%)oklch(71.6% 0.151 281.1)1.99 低於 AA
白color7#66c273rgb(102 194 115)hsl(128 43% 58%)oklch(73.7% 0.143 147.0)1.69 低於 AA
亮黑color8#616161rgb(97 97 97)hsl(0 0% 38%)oklch(49.3% 0.000 0)4.74 AA
亮紅color9#c200ffrgb(194 0 255)hsl(286 100% 50%)oklch(61.3% 0.304 313.8)3.40 AA 大字級
亮綠color10#ff3d99rgb(255 61 153)hsl(332 100% 62%)oklch(67.7% 0.238 357.1)2.52 低於 AA
亮黃color11#86baffrgb(134 186 255)hsl(214 100% 76%)oklch(78.0% 0.114 255.8)1.53 低於 AA
亮藍color12#00aaffrgb(0 170 255)hsl(200 100% 50%)oklch(70.7% 0.168 242.0)1.96 低於 AA
亮洋紅color13#e628e3rgb(230 40 227)hsl(301 79% 53%)oklch(65.8% 0.282 329.0)2.78 低於 AA
亮青color14#9496ffrgb(148 150 255)hsl(239 100% 79%)oklch(71.6% 0.151 281.1)1.99 低於 AA
亮白color15#66c273rgb(102 194 115)hsl(128 43% 58%)oklch(73.7% 0.143 147.0)1.69 低於 AA

關於 Barbie

Barbie 採用中性色調的淺色背景(#ffd4fd),預設前景色為 #930170。內文的 WCAG 對比度為 6.49:1(AA),12 種 ANSI 彩色槽位平均對比度 2.37:1,最低 1.53:1。

色票整體色彩彩度較高,其中紅色為 #c200ff、綠色為 #ff3d99、藍色為 #00aaff、洋紅為 #e628e3。

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

與 Barbie 相似的配色

資料來源:Warp Themes (Apache-2.0)