跳到主要內容

Moonwalk

Moonwalk 是一套淺色終端機配色,背景色 #e4e2e0,文字色 #061f4a,對比度 12.5:1

取得設定檔
背景色
#e4e2e0
前景色
#061f4a
文字對比度
12.48:1AAA
強調色對比度
6.45:1最低 5.26
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
❯

Moonwalk 的設定檔

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

Moonwalk

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

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

palette = 0=#080808
palette = 1=#7a0047
palette = 2=#145b0e
palette = 3=#733a11
palette = 4=#002fa7
palette = 5=#5400a8
palette = 6=#00566b
palette = 7=#9c958d
palette = 8=#494440
palette = 9=#af1608
palette = 10=#4c6129
palette = 11=#7a5000
palette = 12=#0d50c5
palette = 13=#952197
palette = 14=#006092
palette = 15=#ffffff
background = #e4e2e0
foreground = #061f4a
cursor-color = #061f4a
cursor-text = #e4e2e0
selection-background = #b8d2e5
selection-foreground = #061f4a

Moonwalk 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#e4e2e0rgb(228 226 224)hsl(30 7% 89%)oklch(91.4% 0.003 67.8)—
前景色foreground#061f4argb(6 31 74)hsl(218 85% 16%)oklch(25.1% 0.086 260.3)12.48 AAA
光標cursor#061f4argb(6 31 74)hsl(218 85% 16%)oklch(25.1% 0.086 260.3)12.48 AAA
光標文字cursorText#e4e2e0rgb(228 226 224)hsl(30 7% 89%)oklch(91.4% 0.003 67.8)1.00 低於 AA
選取範圍selection#b8d2e5rgb(184 210 229)hsl(205 46% 81%)oklch(85.1% 0.039 239.7)1.21 低於 AA
選取文字selectionText#061f4argb(6 31 74)hsl(218 85% 16%)oklch(25.1% 0.086 260.3)12.48 AAA
黑color0#080808rgb(8 8 8)hsl(0 0% 3%)oklch(13.4% 0.000 0)15.50 AAA
紅color1#7a0047rgb(122 0 71)hsl(325 100% 24%)oklch(37.9% 0.156 354.4)8.47 AAA
綠color2#145b0ergb(20 91 14)hsl(115 73% 21%)oklch(41.3% 0.127 142.0)6.42 AA
黃color3#733a11rgb(115 58 17)hsl(25 74% 26%)oklch(41.5% 0.095 51.7)6.94 AA
藍color4#002fa7rgb(0 47 167)hsl(223 100% 33%)oklch(37.9% 0.195 263.2)8.27 AAA
洋紅color5#5400a8rgb(84 0 168)hsl(270 100% 33%)oklch(39.0% 0.215 294.9)8.37 AAA
青color6#00566brgb(0 86 107)hsl(192 100% 21%)oklch(42.0% 0.077 221.7)6.39 AA
白color7#9c958drgb(156 149 141)hsl(32 7% 58%)oklch(67.3% 0.014 71.3)2.29 低於 AA
亮黑color8#494440rgb(73 68 64)hsl(27 7% 27%)oklch(39.0% 0.010 61.2)7.44 AAA
亮紅color9#af1608rgb(175 22 8)hsl(5 91% 36%)oklch(48.2% 0.186 30.1)5.53 AA
亮綠color10#4c6129rgb(76 97 41)hsl(83 41% 27%)oklch(46.2% 0.085 126.6)5.33 AA
亮黃color11#7a5000rgb(122 80 0)hsl(39 100% 24%)oklch(46.7% 0.099 74.3)5.46 AA
亮藍color12#0d50c5rgb(13 80 197)hsl(218 88% 41%)oklch(47.2% 0.193 261.3)5.47 AA
亮洋紅color13#952197rgb(149 33 151)hsl(299 64% 36%)oklch(48.6% 0.198 327.3)5.52 AA
亮青color14#006092rgb(0 96 146)hsl(201 100% 29%)oklch(46.8% 0.110 241.6)5.26 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.29 低於 AA

關於 Moonwalk

Moonwalk 採用中性色調的淺色背景(#e4e2e0),預設前景色為 #061f4a。正文的 WCAG 對比度為 12.48:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.45:1,最低 5.26:1。

色板整體色彩飽和度適中,其中紅色為 #7a0047、綠色為 #145b0e、藍色為 #002fa7、洋紅為 #5400a8。

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

與 Moonwalk 相似的配色

資料來源:iTerm2 Color Schemes (MIT)