跳到主要內容

Moonlight Ii Vscode

Moonlight Ii Vscode 是一套深色終端機配色(柔和、冷色),背景色 #1e2030,文字色 #7f85a3,對比度 4.4:1

取得設定檔
背景色
#1e2030
前景色
#7f85a3
文字對比度
4.44:1AA 大字體
強調色對比度
8.61:1最低 3.19
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
❯

Moonlight Ii Vscode 的設定檔

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

Moonlight Ii Vscode

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

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

palette = 0=#444a73
palette = 1=#ff5370
palette = 2=#4fd6be
palette = 3=#ffc777
palette = 4=#3e68d7
palette = 5=#fc7b7b
palette = 6=#86e1fc
palette = 7=#d0d0d0
palette = 8=#828bb8
palette = 9=#ff98a4
palette = 10=#c3e88d
palette = 11=#ffc777
palette = 12=#82aaff
palette = 13=#ff966c
palette = 14=#b4f9f8
palette = 15=#5f8787
background = #1e2030
foreground = #7f85a3
cursor-color = #7f85a3
cursor-text = #1e2030
selection-background = #34374a
selection-foreground = #7f85a3

Moonlight Ii Vscode 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e2030rgb(30 32 48)hsl(233 23% 15%)oklch(24.9% 0.030 278.4)—
前景色foreground#7f85a3rgb(127 133 163)hsl(230 16% 57%)oklch(62.2% 0.046 276.1)4.44 AA 大字體
光標cursor#7f85a3rgb(127 133 163)hsl(230 16% 57%)oklch(62.2% 0.046 276.1)4.44 AA 大字體
光標文字cursorText#1e2030rgb(30 32 48)hsl(233 23% 15%)oklch(24.9% 0.030 278.4)1.00 低於 AA
選取範圍selection#34374argb(52 55 74)hsl(232 17% 25%)oklch(34.2% 0.034 277.5)1.37 低於 AA
選取文字selectionText#7f85a3rgb(127 133 163)hsl(230 16% 57%)oklch(62.2% 0.046 276.1)4.44 AA 大字體
黑color0#444a73rgb(68 74 115)hsl(232 26% 36%)oklch(42.2% 0.069 276.7)1.90 低於 AA
紅color1#ff5370rgb(255 83 112)hsl(350 100% 66%)oklch(68.5% 0.207 14.8)5.15 AA
綠color2#4fd6bergb(79 214 190)hsl(169 62% 57%)oklch(79.6% 0.122 179.0)8.96 AAA
黃color3#ffc777rgb(255 199 119)hsl(35 100% 73%)oklch(86.3% 0.117 75.0)10.49 AAA
藍color4#3e68d7rgb(62 104 215)hsl(224 66% 54%)oklch(54.9% 0.177 265.3)3.19 AA 大字體
洋紅color5#fc7b7brgb(252 123 123)hsl(0 96% 74%)oklch(73.2% 0.158 21.7)6.33 AA
青color6#86e1fcrgb(134 225 252)hsl(194 95% 76%)oklch(86.2% 0.095 219.0)10.88 AAA
白color7#d0d0d0rgb(208 208 208)hsl(0 0% 82%)oklch(85.8% 0.000 0)10.44 AAA
亮黑color8#828bb8rgb(130 139 184)hsl(230 28% 62%)oklch(64.6% 0.068 275.6)4.86 AA
亮紅color9#ff98a4rgb(255 152 164)hsl(353 100% 80%)oklch(79.0% 0.124 12.8)7.88 AAA
亮綠color10#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)11.69 AAA
亮黃color11#ffc777rgb(255 199 119)hsl(35 100% 73%)oklch(86.3% 0.117 75.0)10.49 AAA
亮藍color12#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)7.01 AAA
亮洋紅color13#ff966crgb(255 150 108)hsl(17 100% 71%)oklch(77.5% 0.139 42.2)7.54 AAA
亮青color14#b4f9f8rgb(180 249 248)hsl(179 85% 84%)oklch(93.6% 0.068 194.9)13.68 AAA
亮白color15#5f8787rgb(95 135 135)hsl(180 17% 45%)oklch(59.4% 0.044 196.0)4.06 AA 大字體

關於 Moonlight Ii Vscode

Moonlight Ii Vscode 採用冷色調的深色背景(#1e2030),預設前景色為 #7f85a3。正文的 WCAG 對比度為 4.44:1(AA 大字體),12 種 ANSI 彩色槽位平均對比度 8.61:1,最低 3.19:1。

色板整體色彩飽和度適中,其中紅色為 #ff5370、綠色為 #4fd6be、藍色為 #3e68d7、洋紅為 #fc7b7b。

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

與 Moonlight Ii Vscode 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)