跳到主要內容

Moonfly

Moonfly 是一套深色終端機配色(純黑),背景色 #080808,文字色 #bdbdbd,對比度 10.7:1

取得設定檔
背景色
#080808
前景色
#bdbdbd
文字對比度
10.66:1AAA
強調色對比度
9.31:1最低 6.34
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
❯

Moonfly 的設定檔

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

Moonfly

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

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

palette = 0=#323437
palette = 1=#ff5454
palette = 2=#8cc85f
palette = 3=#e3c78a
palette = 4=#80a0ff
palette = 5=#cf87e8
palette = 6=#79dac8
palette = 7=#c6c6c6
palette = 8=#949494
palette = 9=#ff5189
palette = 10=#36c692
palette = 11=#c6c684
palette = 12=#74b2ff
palette = 13=#ae81ff
palette = 14=#85dc85
palette = 15=#e4e4e4
background = #080808
foreground = #bdbdbd
cursor-color = #9e9e9e
cursor-text = #080808
selection-background = #b2ceee
selection-foreground = #080808

Moonfly 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#080808rgb(8 8 8)hsl(0 0% 3%)oklch(13.4% 0.000 0)—
前景色foreground#bdbdbdrgb(189 189 189)hsl(0 0% 74%)oklch(79.8% 0.000 0)10.66 AAA
光標cursor#9e9e9ergb(158 158 158)hsl(0 0% 62%)oklch(69.9% 0.000 0)7.48 AAA
光標文字cursorText#080808rgb(8 8 8)hsl(0 0% 3%)oklch(13.4% 0.000 0)1.00 低於 AA
選取範圍selection#b2ceeergb(178 206 238)hsl(212 64% 82%)oklch(84.1% 0.054 251.9)12.36 AAA
選取文字selectionText#080808rgb(8 8 8)hsl(0 0% 3%)oklch(13.4% 0.000 0)1.00 低於 AA
黑color0#323437rgb(50 52 55)hsl(216 5% 21%)oklch(32.4% 0.006 258.4)1.60 低於 AA
紅color1#ff5454rgb(255 84 84)hsl(0 100% 66%)oklch(68.1% 0.207 24.5)6.34 AA
綠color2#8cc85frgb(140 200 95)hsl(94 49% 58%)oklch(76.9% 0.151 133.4)10.05 AAA
黃color3#e3c78argb(227 199 138)hsl(41 61% 72%)oklch(83.9% 0.085 86.0)12.21 AAA
藍color4#80a0ffrgb(128 160 255)hsl(225 100% 75%)oklch(72.3% 0.143 268.6)8.00 AAA
洋紅color5#cf87e8rgb(207 135 232)hsl(285 68% 72%)oklch(73.2% 0.155 317.0)7.90 AAA
青color6#79dac8rgb(121 218 200)hsl(169 57% 66%)oklch(82.4% 0.096 180.4)12.09 AAA
白color7#c6c6c6rgb(198 198 198)hsl(0 0% 78%)oklch(82.7% 0.000 0)11.72 AAA
亮黑color8#949494rgb(148 148 148)hsl(0 0% 58%)oklch(66.7% 0.000 0)6.60 AA
亮紅color9#ff5189rgb(255 81 137)hsl(341 100% 66%)oklch(68.9% 0.212 5.1)6.48 AA
亮綠color10#36c692rgb(54 198 146)hsl(158 57% 49%)oklch(73.9% 0.142 164.0)9.20 AAA
亮黃color11#c6c684rgb(198 198 132)hsl(60 37% 65%)oklch(81.1% 0.086 108.2)11.26 AAA
亮藍color12#74b2ffrgb(116 178 255)hsl(213 100% 73%)oklch(75.3% 0.129 254.5)9.11 AAA
亮洋紅color13#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)7.04 AAA
亮青color14#85dc85rgb(133 220 133)hsl(120 55% 69%)oklch(81.8% 0.146 144.1)11.99 AAA
亮白color15#e4e4e4rgb(228 228 228)hsl(0 0% 89%)oklch(91.9% 0.000 0)15.75 AAA

關於 Moonfly

Moonfly 採用中性色調的深色背景(#080808),預設前景色為 #bdbdbd。正文的 WCAG 對比度為 10.66:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.31:1,最低 6.34:1。

色板整體色彩飽和度適中,其中紅色為 #ff5454、綠色為 #8cc85f、藍色為 #80a0ff、洋紅為 #cf87e8。該配色歸屬 Moonfly & Nightfly 主題系列。

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

與 Moonfly 相似的配色

資料來源:iTerm2 Color Schemes (MIT)