跳到主要內容

Firefly Traditional

Firefly Traditional 是一套深色終端機配色(純黑、鮮艷),背景色 #000000,文字色 #f5f5f5,對比度 19.3:1

取得設定檔
背景色
#000000
前景色
#f5f5f5
文字對比度
19.26:1AAA
強調色對比度
8.79:1最低 3.86
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
❯

Firefly Traditional 的設定檔

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

Firefly Traditional

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

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

palette = 0=#000000
palette = 1=#c23720
palette = 2=#33bc26
palette = 3=#afad24
palette = 4=#5a63ff
palette = 5=#d53ad2
palette = 6=#33bbc7
palette = 7=#cccccc
palette = 8=#828282
palette = 9=#ff3b1e
palette = 10=#2ee720
palette = 11=#ecec16
palette = 12=#838dff
palette = 13=#ff5cfe
palette = 14=#29f0f0
palette = 15=#ebebeb
background = #000000
foreground = #f5f5f5
cursor-color = #00f900
cursor-text = #ffffff
selection-background = #cfeac6
selection-foreground = #000000

Firefly Traditional 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)19.26 AAA
光標cursor#00f900rgb(0 249 0)hsl(120 100% 49%)oklch(85.1% 0.290 142.5)14.55 AAA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
選取範圍selection#cfeac6rgb(207 234 198)hsl(105 46% 85%)oklch(90.8% 0.056 137.9)16.24 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#c23720rgb(194 55 32)hsl(9 72% 44%)oklch(54.4% 0.179 32.0)3.86 AA 大字體
綠color2#33bc26rgb(51 188 38)hsl(115 66% 44%)oklch(69.6% 0.216 141.9)8.36 AAA
黃color3#afad24rgb(175 173 36)hsl(59 66% 41%)oklch(72.6% 0.147 108.7)8.83 AAA
藍color4#5a63ffrgb(90 99 255)hsl(237 100% 68%)oklch(58.5% 0.227 274.4)4.66 AA
洋紅color5#d53ad2rgb(213 58 210)hsl(301 65% 53%)oklch(63.5% 0.248 328.9)5.37 AA
青color6#33bbc7rgb(51 187 199)hsl(185 59% 49%)oklch(72.7% 0.113 203.9)9.07 AAA
白color7#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)13.08 AAA
亮黑color8#828282rgb(130 130 130)hsl(0 0% 51%)oklch(60.7% 0.000 0)5.46 AA
亮紅color9#ff3b1ergb(255 59 30)hsl(8 100% 56%)oklch(65.3% 0.234 31.4)5.90 AA
亮綠color10#2ee720rgb(46 231 32)hsl(116 81% 52%)oklch(80.8% 0.263 142.1)12.57 AAA
亮黃color11#ecec16rgb(236 236 22)hsl(60 85% 51%)oklch(91.3% 0.196 109.7)16.58 AAA
亮藍color12#838dffrgb(131 141 255)hsl(235 100% 76%)oklch(68.7% 0.166 277.3)7.22 AAA
亮洋紅color13#ff5cfergb(255 92 254)hsl(300 100% 68%)oklch(74.6% 0.263 328.1)8.21 AAA
亮青color14#29f0f0rgb(41 240 240)hsl(180 87% 55%)oklch(86.7% 0.143 194.8)14.82 AAA
亮白color15#ebebebrgb(235 235 235)hsl(0 0% 92%)oklch(94.0% 0.000 0)17.62 AAA

關於 Firefly Traditional

Firefly Traditional 採用中性色調的深色背景(#000000),預設前景色為 #f5f5f5。正文的 WCAG 對比度為 19.26:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.79:1,最低 3.86:1。

色板整體色彩飽和度較高,其中紅色為 #c23720、綠色為 #33bc26、藍色為 #5a63ff、洋紅為 #d53ad2。

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

與 Firefly Traditional 相似的配色

資料來源:iTerm2 Color Schemes (MIT)