跳到主要內容

Solar Flare

Solar Flare 是一套淺色終端機配色(暖色),背景色 #fff9e6,文字色 #1a1a1a,對比度 16.5:1

取得設定檔
背景色
#fff9e6
前景色
#1a1a1a
文字對比度
16.53:1AAA
強調色對比度
8.26:1最低 7.12
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
❯

Solar Flare 的設定檔

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

Solar Flare

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

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

palette = 0=#292929
palette = 1=#8d1818
palette = 2=#0f5c2b
palette = 3=#685000
palette = 4=#15479a
palette = 5=#673096
palette = 6=#004b5a
palette = 7=#3a3a37
palette = 8=#55534d
palette = 9=#982020
palette = 10=#0b5028
palette = 11=#594500
palette = 12=#1a50a5
palette = 13=#713a9e
palette = 14=#004957
palette = 15=#46443e
background = #fff9e6
foreground = #1a1a1a
cursor-color = #7d3e00
cursor-text = #fff9e6
selection-background = #f5e1a8
selection-foreground = #1a1a1a

Solar Flare 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fff9e6rgb(255 249 230)hsl(46 100% 95%)oklch(98.2% 0.026 92.4)—
前景色foreground#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)16.53 AAA
光標cursor#7d3e00rgb(125 62 0)hsl(30 100% 25%)oklch(43.6% 0.108 55.2)7.79 AAA
光標文字cursorText#fff9e6rgb(255 249 230)hsl(46 100% 95%)oklch(98.2% 0.026 92.4)1.00 低於 AA
選取範圍selection#f5e1a8rgb(245 225 168)hsl(44 79% 81%)oklch(91.3% 0.076 91.0)1.23 低於 AA
選取文字selectionText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)16.53 AAA
黑color0#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)13.82 AAA
紅color1#8d1818rgb(141 24 24)hsl(0 71% 32%)oklch(41.8% 0.152 26.9)8.76 AAA
綠color2#0f5c2brgb(15 92 43)hsl(142 72% 21%)oklch(41.8% 0.107 150.2)7.71 AAA
黃color3#685000rgb(104 80 0)hsl(46 100% 20%)oklch(44.4% 0.091 88.6)7.29 AAA
藍color4#15479argb(21 71 154)hsl(217 76% 34%)oklch(41.8% 0.146 260.3)8.31 AAA
洋紅color5#673096rgb(103 48 150)hsl(272 52% 39%)oklch(43.5% 0.161 305.4)8.17 AAA
青color6#004b5argb(0 75 90)hsl(190 100% 18%)oklch(38.1% 0.068 217.0)9.26 AAA
白color7#3a3a37rgb(58 58 55)hsl(60 3% 22%)oklch(34.7% 0.005 106.7)10.84 AAA
亮黑color8#55534drgb(85 83 77)hsl(45 5% 32%)oklch(44.2% 0.010 91.6)7.30 AAA
亮紅color9#982020rgb(152 32 32)hsl(0 65% 36%)oklch(44.6% 0.156 26.3)7.78 AAA
亮綠color10#0b5028rgb(11 80 40)hsl(145 76% 18%)oklch(38.0% 0.094 152.0)9.10 AAA
亮黃color11#594500rgb(89 69 0)hsl(47 100% 17%)oklch(40.0% 0.082 89.8)8.76 AAA
亮藍color12#1a50a5rgb(26 80 165)hsl(217 73% 37%)oklch(44.8% 0.149 259.6)7.29 AAA
亮洋紅color13#713a9ergb(113 58 158)hsl(273 46% 42%)oklch(46.7% 0.159 306.5)7.12 AAA
亮青color14#004957rgb(0 73 87)hsl(190 100% 17%)oklch(37.3% 0.066 216.1)9.54 AAA
亮白color15#46443ergb(70 68 62)hsl(45 6% 26%)oklch(38.7% 0.010 91.6)9.25 AAA

關於 Solar Flare

Solar Flare 採用暖色調的淺色背景(#fff9e6),預設前景色為 #1a1a1a。正文的 WCAG 對比度為 16.53:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.26:1,最低 7.12:1。

色板整體色彩飽和度適中,其中紅色為 #8d1818、綠色為 #0f5c2b、藍色為 #15479a、洋紅為 #673096。

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

與 Solar Flare 相似的配色

資料來源:iTerm2 Color Schemes (MIT)