跳到主要內容

Solarflare

Solarflare 是一套深色終端機配色(柔和、冷色),背景色 #18262f,文字色 #a6afb8,對比度 7.0:1

取得設定檔
背景色
#18262f
前景色
#a6afb8
文字對比度
6.96:1AA
強調色對比度
6.36:1最低 3.91
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
❯

Solarflare 的設定檔

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

Solarflare

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

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

palette = 0=#18262f
palette = 1=#ef5253
palette = 2=#7cc844
palette = 3=#e4b51c
palette = 4=#33b5e1
palette = 5=#a363d5
palette = 6=#52cbb0
palette = 7=#a6afb8
palette = 8=#667581
palette = 9=#ef5253
palette = 10=#7cc844
palette = 11=#e4b51c
palette = 12=#33b5e1
palette = 13=#a363d5
palette = 14=#52cbb0
palette = 15=#f5f7fa
background = #18262f
foreground = #a6afb8
cursor-color = #a6afb8
cursor-text = #18262f
selection-background = #38454e
selection-foreground = #a6afb8

Solarflare 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#18262frgb(24 38 47)hsl(203 32% 14%)oklch(26.0% 0.026 237.2)—
前景色foreground#a6afb8rgb(166 175 184)hsl(210 11% 69%)oklch(75.0% 0.016 248.0)6.96 AA
光標cursor#a6afb8rgb(166 175 184)hsl(210 11% 69%)oklch(75.0% 0.016 248.0)6.96 AA
光標文字cursorText#18262frgb(24 38 47)hsl(203 32% 14%)oklch(26.0% 0.026 237.2)1.00 低於 AA
選取範圍selection#38454ergb(56 69 78)hsl(205 16% 26%)oklch(38.3% 0.023 238.4)1.57 低於 AA
選取文字selectionText#a6afb8rgb(166 175 184)hsl(210 11% 69%)oklch(75.0% 0.016 248.0)6.96 AA
黑color0#18262frgb(24 38 47)hsl(203 32% 14%)oklch(26.0% 0.026 237.2)1.00 低於 AA
紅color1#ef5253rgb(239 82 83)hsl(360 83% 63%)oklch(65.3% 0.193 23.9)4.42 AA 大字體
綠color2#7cc844rgb(124 200 68)hsl(95 55% 53%)oklch(75.7% 0.181 134.5)7.52 AAA
黃color3#e4b51crgb(228 181 28)hsl(46 79% 50%)oklch(79.3% 0.157 89.0)8.05 AAA
藍color4#33b5e1rgb(51 181 225)hsl(195 74% 54%)oklch(72.3% 0.125 225.9)6.51 AA
洋紅color5#a363d5rgb(163 99 213)hsl(274 58% 61%)oklch(61.9% 0.174 308.0)3.91 AA 大字體
青color6#52cbb0rgb(82 203 176)hsl(167 54% 56%)oklch(76.6% 0.115 175.8)7.76 AAA
白color7#a6afb8rgb(166 175 184)hsl(210 11% 69%)oklch(75.0% 0.016 248.0)6.96 AA
亮黑color8#667581rgb(102 117 129)hsl(207 12% 45%)oklch(55.4% 0.026 242.2)3.26 AA 大字體
亮紅color9#ef5253rgb(239 82 83)hsl(360 83% 63%)oklch(65.3% 0.193 23.9)4.42 AA 大字體
亮綠color10#7cc844rgb(124 200 68)hsl(95 55% 53%)oklch(75.7% 0.181 134.5)7.52 AAA
亮黃color11#e4b51crgb(228 181 28)hsl(46 79% 50%)oklch(79.3% 0.157 89.0)8.05 AAA
亮藍color12#33b5e1rgb(51 181 225)hsl(195 74% 54%)oklch(72.3% 0.125 225.9)6.51 AA
亮洋紅color13#a363d5rgb(163 99 213)hsl(274 58% 61%)oklch(61.9% 0.174 308.0)3.91 AA 大字體
亮青color14#52cbb0rgb(82 203 176)hsl(167 54% 56%)oklch(76.6% 0.115 175.8)7.76 AAA
亮白color15#f5f7fargb(245 247 250)hsl(216 33% 97%)oklch(97.5% 0.005 258.3)14.42 AAA

關於 Solarflare

Solarflare 採用冷色調的深色背景(#18262f),預設前景色為 #a6afb8。正文的 WCAG 對比度為 6.96:1(AA),12 種 ANSI 彩色槽位平均對比度 6.36:1,最低 3.91:1。

色板整體色彩飽和度適中,其中紅色為 #ef5253、綠色為 #7cc844、藍色為 #33b5e1、洋紅為 #a363d5。

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

該色板在上游儲存庫中亦曾以 Solar Flare 的名稱發佈

與 Solarflare 相似的配色

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