跳到主要內容

Medailion

Medailion 是一套深色終端機配色(暖色),背景色 #1d1808,文字色 #aea578,對比度 7.1:1

取得設定檔
背景色
#1d1808
前景色
#aea578
文字對比度
7.12:1AAA
強調色對比度
7.39:1最低 3.31
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
❯

Medailion 的設定檔

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

Medailion

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

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

palette = 0=#000000
palette = 1=#b54c00
palette = 2=#7c8a16
palette = 3=#abb8ff
palette = 4=#606baf
palette = 5=#8b5990
palette = 6=#906b25
palette = 7=#c9c199
palette = 8=#5e5118
palette = 9=#ff9148
palette = 10=#b1c93a
palette = 11=#ffe449
palette = 12=#abb8ff
palette = 13=#fe9fff
palette = 14=#ffbb51
palette = 15=#fed597
background = #1d1808
foreground = #aea578
cursor-color = #aea578
cursor-text = #1d1808
selection-background = #3d3721
selection-foreground = #aea578

Medailion 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1d1808rgb(29 24 8)hsl(46 57% 7%)oklch(21.0% 0.029 92.6)—
前景色foreground#aea578rgb(174 165 120)hsl(50 25% 58%)oklch(71.8% 0.062 98.2)7.12 AAA
游標cursor#aea578rgb(174 165 120)hsl(50 25% 58%)oklch(71.8% 0.062 98.2)7.12 AAA
游標文字cursorText#1d1808rgb(29 24 8)hsl(46 57% 7%)oklch(21.0% 0.029 92.6)1.00 低於 AA
選取範圍selection#3d3721rgb(61 55 33)hsl(47 30% 18%)oklch(33.7% 0.036 94.7)1.49 低於 AA
選取文字selectionText#aea578rgb(174 165 120)hsl(50 25% 58%)oklch(71.8% 0.062 98.2)7.12 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.19 低於 AA
紅color1#b54c00rgb(181 76 0)hsl(25 100% 35%)oklch(54.6% 0.153 46.2)3.37 AA 大字級
綠color2#7c8a16rgb(124 138 22)hsl(67 72% 31%)oklch(60.2% 0.132 116.9)4.64 AA
黃color3#abb8ffrgb(171 184 255)hsl(231 100% 84%)oklch(79.9% 0.102 275.9)9.30 AAA
藍color4#606bafrgb(96 107 175)hsl(232 33% 53%)oklch(54.9% 0.107 275.4)3.56 AA 大字級
洋紅color5#8b5990rgb(139 89 144)hsl(295 24% 46%)oklch(53.9% 0.102 323.6)3.31 AA 大字級
青color6#906b25rgb(144 107 37)hsl(39 59% 35%)oklch(55.2% 0.097 79.8)3.64 AA 大字級
白color7#c9c199rgb(201 193 153)hsl(50 31% 69%)oklch(80.7% 0.054 98.0)9.75 AAA
亮黑color8#5e5118rgb(94 81 24)hsl(49 59% 23%)oklch(43.6% 0.077 96.1)2.25 低於 AA
亮紅color9#ff9148rgb(255 145 72)hsl(24 100% 64%)oklch(76.2% 0.158 51.6)7.92 AAA
亮綠color10#b1c93argb(177 201 58)hsl(70 57% 51%)oklch(79.2% 0.165 118.7)9.51 AAA
亮黃color11#ffe449rgb(255 228 73)hsl(51 100% 64%)oklch(91.5% 0.167 99.1)13.86 AAA
亮藍color12#abb8ffrgb(171 184 255)hsl(231 100% 84%)oklch(79.9% 0.102 275.9)9.30 AAA
亮洋紅color13#fe9fffrgb(254 159 255)hsl(299 100% 81%)oklch(83.0% 0.164 326.6)9.79 AAA
亮青color14#ffbb51rgb(255 187 81)hsl(37 100% 66%)oklch(83.6% 0.143 75.4)10.52 AAA
亮白color15#fed597rgb(254 213 151)hsl(36 98% 79%)oklch(89.4% 0.091 77.5)12.79 AAA

關於 Medailion

Medailion 採用暖色調的深色背景(#1d1808),預設前景色為 #aea578。內文的 WCAG 對比度為 7.12:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.39:1,最低 3.31:1。

色票整體色彩彩度適中,其中紅色為 #b54c00、綠色為 #7c8a16、藍色為 #606baf、洋紅為 #8b5990。

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

與 Medailion 相似的配色

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