跳到主要內容

Lunar Dust

Lunar Dust 是一套淺色終端機配色,背景色 #f3f1ed,文字色 #20242b,對比度 13.8:1

取得設定檔
背景色
#f3f1ed
前景色
#20242b
文字對比度
13.80:1AAA
強調色對比度
7.71:1最低 6.45
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
❯

Lunar Dust 的設定檔

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

Lunar Dust

存到 ~/.config/ghostty/themes/Lunar Dust,再在 config 或 config.ghostty 裡寫 theme = Lunar Dust

更多 Ghostty 配色
原始檔
# Theme: Lunar Dust (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/lunar-dust?format=ghostty

palette = 0=#30343b
palette = 1=#842626
palette = 2=#165a38
palette = 3=#654d00
palette = 4=#17458a
palette = 5=#603286
palette = 6=#005765
palette = 7=#40444b
palette = 8=#4b4f56
palette = 9=#902b2b
palette = 10=#1a603e
palette = 11=#6d5300
palette = 12=#123a78
palette = 13=#67398e
palette = 14=#004a57
palette = 15=#484c53
background = #f3f1ed
foreground = #20242b
cursor-color = #48515e
cursor-text = #f3f1ed
selection-background = #d9d6d0
selection-foreground = #20242b

Lunar Dust 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f3f1edrgb(243 241 237)hsl(40 20% 94%)oklch(95.9% 0.006 84.6)—
前景色foreground#20242brgb(32 36 43)hsl(218 15% 15%)oklch(25.9% 0.014 261.7)13.80 AAA
游標cursor#48515ergb(72 81 94)hsl(215 13% 33%)oklch(43.2% 0.024 257.5)7.12 AAA
游標文字cursorText#f3f1edrgb(243 241 237)hsl(40 20% 94%)oklch(95.9% 0.006 84.6)1.00 低於 AA
選取範圍selection#d9d6d0rgb(217 214 208)hsl(40 11% 83%)oklch(87.7% 0.009 84.6)1.29 低於 AA
選取文字selectionText#20242brgb(32 36 43)hsl(218 15% 15%)oklch(25.9% 0.014 261.7)13.80 AAA
黑color0#30343brgb(48 52 59)hsl(218 10% 21%)oklch(32.4% 0.014 261.7)11.08 AAA
紅color1#842626rgb(132 38 38)hsl(0 55% 33%)oklch(41.6% 0.129 24.7)8.14 AAA
綠color2#165a38rgb(22 90 56)hsl(150 61% 22%)oklch(41.6% 0.088 156.8)7.29 AAA
黃color3#654d00rgb(101 77 0)hsl(46 100% 20%)oklch(43.3% 0.089 87.9)7.12 AAA
藍color4#17458argb(23 69 138)hsl(216 71% 32%)oklch(40.1% 0.125 258.8)8.26 AAA
洋紅color5#603286rgb(96 50 134)hsl(273 46% 36%)oklch(41.8% 0.138 306.6)8.10 AAA
青color6#005765rgb(0 87 101)hsl(188 100% 20%)oklch(42.0% 0.074 213.3)7.30 AAA
白color7#40444brgb(64 68 75)hsl(218 8% 27%)oklch(38.6% 0.013 261.7)8.67 AAA
亮黑color8#4b4f56rgb(75 79 86)hsl(218 7% 32%)oklch(42.7% 0.013 261.8)7.29 AAA
亮紅color9#902b2brgb(144 43 43)hsl(0 54% 37%)oklch(44.4% 0.136 24.6)7.25 AAA
亮綠color10#1a603ergb(26 96 62)hsl(151 57% 24%)oklch(43.7% 0.089 157.8)6.68 AA
亮黃color11#6d5300rgb(109 83 0)hsl(46 100% 21%)oklch(45.7% 0.093 87.6)6.45 AA
亮藍color12#123a78rgb(18 58 120)hsl(216 74% 27%)oklch(36.0% 0.115 259.3)9.79 AAA
亮洋紅color13#67398ergb(103 57 142)hsl(272 43% 39%)oklch(44.2% 0.139 306.5)7.29 AAA
亮青color14#004a57rgb(0 74 87)hsl(189 100% 17%)oklch(37.6% 0.066 214.5)8.79 AAA
亮白color15#484c53rgb(72 76 83)hsl(218 7% 30%)oklch(41.5% 0.013 261.8)7.65 AAA

關於 Lunar Dust

Lunar Dust 採用中性色調的淺色背景(#f3f1ed),預設前景色為 #20242b。內文的 WCAG 對比度為 13.80:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.71:1,最低 6.45:1。

色票整體色彩彩度適中,其中紅色為 #842626、綠色為 #165a38、藍色為 #17458a、洋紅為 #603286。

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

與 Lunar Dust 相似的配色

資料來源:iTerm2 Color Schemes (MIT)