跳到主要內容

Breath

Breath 是一套深色終端機配色(柔和、冷色),背景色 #1e2229,文字色 #17a88b,對比度 5.3:1

取得設定檔
背景色
#1e2229
前景色
#17a88b
文字對比度
5.33:1AA
強調色對比度
4.98:1最低 2.72
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
❯

Breath 的設定檔

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

Breath

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

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

palette = 0=#1e2229
palette = 1=#ed1515
palette = 2=#44853a
palette = 3=#f67400
palette = 4=#1d99f3
palette = 5=#9b59b6
palette = 6=#1abc9c
palette = 7=#fcfcfc
palette = 8=#7f8c8d
palette = 9=#c0392b
palette = 10=#55a649
palette = 11=#fdbc4b
palette = 12=#3daee9
palette = 13=#8e44ad
palette = 14=#16a085
palette = 15=#ffffff
background = #1e2229
foreground = #17a88b
cursor-color = #17a88b
cursor-text = #1e2229
selection-background = #264040
selection-foreground = #17a88b

Breath 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e2229rgb(30 34 41)hsl(218 15% 14%)oklch(25.1% 0.015 261.7)—
前景色foreground#17a88brgb(23 168 139)hsl(168 76% 37%)oklch(65.5% 0.120 174.1)5.33 AA
游標cursor#17a88brgb(23 168 139)hsl(168 76% 37%)oklch(65.5% 0.120 174.1)5.33 AA
游標文字cursorText#1e2229rgb(30 34 41)hsl(218 15% 14%)oklch(25.1% 0.015 261.7)1.00 低於 AA
選取範圍selection#264040rgb(38 64 64)hsl(180 25% 20%)oklch(35.1% 0.032 195.8)1.44 低於 AA
選取文字selectionText#17a88brgb(23 168 139)hsl(168 76% 37%)oklch(65.5% 0.120 174.1)5.33 AA
黑color0#1e2229rgb(30 34 41)hsl(218 15% 14%)oklch(25.1% 0.015 261.7)1.00 低於 AA
紅color1#ed1515rgb(237 21 21)hsl(0 86% 51%)oklch(60.0% 0.238 28.5)3.59 AA 大字級
綠color2#44853argb(68 133 58)hsl(112 39% 37%)oklch(55.6% 0.128 141.1)3.54 AA 大字級
黃color3#f67400rgb(246 116 0)hsl(28 100% 48%)oklch(70.1% 0.186 50.0)5.64 AA
藍color4#1d99f3rgb(29 153 243)hsl(205 90% 53%)oklch(66.4% 0.167 247.2)5.25 AA
洋紅color5#9b59b6rgb(155 89 182)hsl(283 39% 53%)oklch(57.7% 0.152 315.3)3.42 AA 大字級
青color6#1abc9crgb(26 188 156)hsl(168 76% 42%)oklch(71.2% 0.131 174.2)6.62 AA
白color7#fcfcfcrgb(252 252 252)hsl(0 0% 99%)oklch(99.1% 0.000 0)15.55 AAA
亮黑color8#7f8c8drgb(127 140 141)hsl(184 6% 53%)oklch(63.0% 0.015 202.4)4.59 AA
亮紅color9#c0392brgb(192 57 43)hsl(6 63% 46%)oklch(54.3% 0.174 29.7)2.93 低於 AA
亮綠color10#55a649rgb(85 166 73)hsl(112 39% 47%)oklch(65.2% 0.152 141.2)5.27 AA
亮黃color11#fdbc4brgb(253 188 75)hsl(38 98% 64%)oklch(83.6% 0.146 77.9)9.48 AAA
亮藍color12#3daee9rgb(61 174 233)hsl(201 80% 58%)oklch(71.3% 0.131 236.0)6.41 AA
亮洋紅color13#8e44adrgb(142 68 173)hsl(282 44% 47%)oklch(52.6% 0.170 314.7)2.72 低於 AA
亮青color14#16a085rgb(22 160 133)hsl(168 76% 36%)oklch(63.2% 0.116 174.5)4.86 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.96 AAA

關於 Breath

Breath 採用冷色調的深色背景(#1e2229),預設前景色為 #17a88b。內文的 WCAG 對比度為 5.33:1(AA),12 種 ANSI 彩色槽位平均對比度 4.98:1,最低 2.72:1。

色票整體色彩彩度適中,其中紅色為 #ed1515、綠色為 #44853a、藍色為 #1d99f3、洋紅為 #9b59b6。

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

與 Breath 相似的配色

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