跳到主要內容

Brasa

Brasa 是一套深色終端機配色(暖色),背景色 #1a0f0a,文字色 #f0d8c0,對比度 13.7:1

取得設定檔
背景色
#1a0f0a
前景色
#f0d8c0
文字對比度
13.69:1AAA
強調色對比度
8.49:1最低 6.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
❯

Brasa 的設定檔

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

Brasa

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

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

palette = 0=#1a0f0a
palette = 1=#f2685a
palette = 2=#b8c24a
palette = 3=#f0b23a
palette = 4=#9aa6e0
palette = 5=#e68aa2
palette = 6=#6bc8b8
palette = 7=#f0d8c0
palette = 8=#7a6150
palette = 9=#f2685a
palette = 10=#b8c24a
palette = 11=#f0b23a
palette = 12=#9aa6e0
palette = 13=#e68aa2
palette = 14=#6bc8b8
palette = 15=#fbead8
background = #1a0f0a
foreground = #f0d8c0
cursor-color = #f0d8c0
cursor-text = #1a0f0a
selection-background = #483a30
selection-foreground = #f0d8c0

Brasa 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a0f0argb(26 15 10)hsl(19 44% 7%)oklch(18.2% 0.021 45.4)—
前景色foreground#f0d8c0rgb(240 216 192)hsl(30 62% 85%)oklch(89.6% 0.042 67.3)13.69 AAA
游標cursor#f0d8c0rgb(240 216 192)hsl(30 62% 85%)oklch(89.6% 0.042 67.3)13.69 AAA
游標文字cursorText#1a0f0argb(26 15 10)hsl(19 44% 7%)oklch(18.2% 0.021 45.4)1.00 低於 AA
選取範圍selection#483a30rgb(72 58 48)hsl(25 20% 24%)oklch(36.0% 0.026 57.3)1.72 低於 AA
選取文字selectionText#f0d8c0rgb(240 216 192)hsl(30 62% 85%)oklch(89.6% 0.042 67.3)13.69 AAA
黑color0#1a0f0argb(26 15 10)hsl(19 44% 7%)oklch(18.2% 0.021 45.4)1.00 低於 AA
紅color1#f2685argb(242 104 90)hsl(6 85% 65%)oklch(68.6% 0.173 28.2)6.18 AA
綠color2#b8c24argb(184 194 74)hsl(65 50% 53%)oklch(78.3% 0.143 113.7)9.72 AAA
黃color3#f0b23argb(240 178 58)hsl(40 86% 58%)oklch(80.2% 0.148 79.6)9.97 AAA
藍color4#9aa6e0rgb(154 166 224)hsl(230 53% 74%)oklch(73.7% 0.085 275.1)7.97 AAA
洋紅color5#e68aa2rgb(230 138 162)hsl(344 65% 72%)oklch(73.7% 0.115 3.5)7.63 AAA
青color6#6bc8b8rgb(107 200 184)hsl(170 46% 60%)oklch(77.1% 0.092 181.3)9.47 AAA
白color7#f0d8c0rgb(240 216 192)hsl(30 62% 85%)oklch(89.6% 0.042 67.3)13.69 AAA
亮黑color8#7a6150rgb(122 97 80)hsl(24 21% 40%)oklch(51.3% 0.042 55.8)3.27 AA 大字級
亮紅color9#f2685argb(242 104 90)hsl(6 85% 65%)oklch(68.6% 0.173 28.2)6.18 AA
亮綠color10#b8c24argb(184 194 74)hsl(65 50% 53%)oklch(78.3% 0.143 113.7)9.72 AAA
亮黃color11#f0b23argb(240 178 58)hsl(40 86% 58%)oklch(80.2% 0.148 79.6)9.97 AAA
亮藍color12#9aa6e0rgb(154 166 224)hsl(230 53% 74%)oklch(73.7% 0.085 275.1)7.97 AAA
亮洋紅color13#e68aa2rgb(230 138 162)hsl(344 65% 72%)oklch(73.7% 0.115 3.5)7.63 AAA
亮青color14#6bc8b8rgb(107 200 184)hsl(170 46% 60%)oklch(77.1% 0.092 181.3)9.47 AAA
亮白color15#fbead8rgb(251 234 216)hsl(31 81% 92%)oklch(94.6% 0.030 69.0)16.00 AAA

關於 Brasa

Brasa 採用暖色調的深色背景(#1a0f0a),預設前景色為 #f0d8c0。內文的 WCAG 對比度為 13.69:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.49:1,最低 6.18:1。

色票整體色彩彩度適中,其中紅色為 #f2685a、綠色為 #b8c24a、藍色為 #9aa6e0、洋紅為 #e68aa2。

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

與 Brasa 相似的配色

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