跳到主要內容

Meliora

Meliora 是一套深色終端機配色(低飽和),背景色 #1c1917,文字色 #d6d0cd,對比度 11.5:1

取得設定檔
背景色
#1c1917
前景色
#d6d0cd
文字對比度
11.46:1AAA
強調色對比度
7.50:1最低 6.24
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
❯

Meliora 的設定檔

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

Meliora

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

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

palette = 0=#2a2421
palette = 1=#d49191
palette = 2=#b6b696
palette = 3=#c4b392
palette = 4=#9e96b6
palette = 5=#b696b1
palette = 6=#98acc8
palette = 7=#ddd9d6
palette = 8=#2e2622
palette = 9=#d89393
palette = 10=#b9b99b
palette = 11=#c8b692
palette = 12=#a299b9
palette = 13=#b997b4
palette = 14=#9bb0ca
palette = 15=#e1dbd9
background = #1c1917
foreground = #d6d0cd
cursor-color = #d6d0cd
cursor-text = #1c1917
selection-background = #45413e
selection-foreground = #d6d0cd

Meliora 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1917rgb(28 25 23)hsl(24 10% 10%)oklch(21.6% 0.006 56.0)—
前景色foreground#d6d0cdrgb(214 208 205)hsl(20 10% 82%)oklch(86.2% 0.008 48.6)11.46 AAA
光標cursor#d6d0cdrgb(214 208 205)hsl(20 10% 82%)oklch(86.2% 0.008 48.6)11.46 AAA
光標文字cursorText#1c1917rgb(28 25 23)hsl(24 10% 10%)oklch(21.6% 0.006 56.0)1.00 低於 AA
選取範圍selection#45413ergb(69 65 62)hsl(26 5% 26%)oklch(37.8% 0.007 59.5)1.73 低於 AA
選取文字selectionText#d6d0cdrgb(214 208 205)hsl(20 10% 82%)oklch(86.2% 0.008 48.6)11.46 AAA
黑color0#2a2421rgb(42 36 33)hsl(20 12% 15%)oklch(26.6% 0.011 48.3)1.14 低於 AA
紅color1#d49191rgb(212 145 145)hsl(0 44% 70%)oklch(72.3% 0.082 19.2)6.88 AA
綠color2#b6b696rgb(182 182 150)hsl(60 18% 65%)oklch(76.8% 0.044 107.4)8.43 AAA
黃color3#c4b392rgb(196 179 146)hsl(40 30% 67%)oklch(77.3% 0.049 83.9)8.50 AAA
藍color4#9e96b6rgb(158 150 182)hsl(255 18% 65%)oklch(69.1% 0.047 296.6)6.24 AA
洋紅color5#b696b1rgb(182 150 177)hsl(309 18% 65%)oklch(71.1% 0.053 331.4)6.65 AA
青color6#98acc8rgb(152 172 200)hsl(215 30% 69%)oklch(73.9% 0.046 256.8)7.55 AAA
白color7#ddd9d6rgb(221 217 214)hsl(26 9% 85%)oklch(88.8% 0.006 59.6)12.47 AAA
亮黑color8#2e2622rgb(46 38 34)hsl(20 15% 16%)oklch(27.6% 0.014 48.2)1.18 低於 AA
亮紅color9#d89393rgb(216 147 147)hsl(0 47% 71%)oklch(73.2% 0.084 19.3)7.09 AAA
亮綠color10#b9b99brgb(185 185 155)hsl(60 18% 67%)oklch(77.8% 0.041 107.3)8.72 AAA
亮黃color11#c8b692rgb(200 182 146)hsl(40 33% 68%)oklch(78.2% 0.053 84.5)8.80 AAA
亮藍color12#a299b9rgb(162 153 185)hsl(257 19% 66%)oklch(70.1% 0.047 298.0)6.49 AA
亮洋紅color13#b997b4rgb(185 151 180)hsl(309 20% 66%)oklch(71.6% 0.057 331.1)6.79 AA
亮青color14#9bb0cargb(155 176 202)hsl(213 31% 70%)oklch(75.0% 0.044 253.9)7.88 AAA
亮白color15#e1dbd9rgb(225 219 217)hsl(15 12% 87%)oklch(89.6% 0.007 39.5)12.77 AAA

關於 Meliora

Meliora 採用中性色調的深色背景(#1c1917),預設前景色為 #d6d0cd。正文的 WCAG 對比度為 11.46:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.50:1,最低 6.24:1。

色板整體色彩飽和度偏低,其中紅色為 #d49191、綠色為 #b6b696、藍色為 #9e96b6、洋紅為 #b696b1。

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

與 Meliora 相似的配色

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