跳到主要內容

Mar

Mar 是一套淺色終端機配色(柔和),背景色 #ffffff,文字色 #23476a,對比度 9.6:1

取得設定檔
背景色
#ffffff
前景色
#23476a
文字對比度
9.63:1AAA
強調色對比度
3.37:1最低 1.83
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
❯

Mar 的設定檔

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

Mar

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

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

palette = 0=#000000
palette = 1=#b5407b
palette = 2=#7bb540
palette = 3=#b57b40
palette = 4=#407bb5
palette = 5=#7b40b5
palette = 6=#40b57b
palette = 7=#f8f8f8
palette = 8=#737373
palette = 9=#cd73a0
palette = 10=#a0cd73
palette = 11=#cda073
palette = 12=#73a0cd
palette = 13=#a073cd
palette = 14=#73cda0
palette = 15=#ffffff
background = #ffffff
foreground = #23476a
cursor-color = #23476a
cursor-text = #ffffff
selection-background = #c4ced9
selection-foreground = #23476a

Mar 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)9.63 AAA
光標cursor#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)9.63 AAA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
選取範圍selection#c4ced9rgb(196 206 217)hsl(211 22% 81%)oklch(84.7% 0.019 250.6)1.59 低於 AA
選取文字selectionText#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)9.63 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
紅color1#b5407brgb(181 64 123)hsl(330 48% 48%)oklch(55.2% 0.162 352.5)5.27 AA
綠color2#7bb540rgb(123 181 64)hsl(90 48% 48%)oklch(70.9% 0.160 131.8)2.46 低於 AA
黃color3#b57b40rgb(181 123 64)hsl(30 48% 48%)oklch(63.1% 0.104 64.3)3.58 AA 大字體
藍color4#407bb5rgb(64 123 181)hsl(210 48% 48%)oklch(57.0% 0.109 250.0)4.45 AA 大字體
洋紅color5#7b40b5rgb(123 64 181)hsl(270 48% 48%)oklch(50.3% 0.179 303.8)6.48 AA
青color6#40b57brgb(64 181 123)hsl(150 48% 48%)oklch(69.2% 0.136 157.9)2.59 低於 AA
白color7#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)1.06 低於 AA
亮黑color8#737373rgb(115 115 115)hsl(0 0% 45%)oklch(55.6% 0.000 0)4.74 AA
亮紅color9#cd73a0rgb(205 115 160)hsl(330 47% 63%)oklch(66.9% 0.125 349.7)3.20 AA 大字體
亮綠color10#a0cd73rgb(160 205 115)hsl(90 47% 63%)oklch(79.6% 0.128 130.6)1.83 低於 AA
亮黃color11#cda073rgb(205 160 115)hsl(30 47% 63%)oklch(73.7% 0.080 66.0)2.37 低於 AA
亮藍color12#73a0cdrgb(115 160 205)hsl(210 47% 63%)oklch(69.1% 0.083 249.1)2.75 低於 AA
亮洋紅color13#a073cdrgb(160 115 205)hsl(270 47% 63%)oklch(63.7% 0.138 305.9)3.60 AA 大字體
亮青color14#73cda0rgb(115 205 160)hsl(150 47% 63%)oklch(78.0% 0.109 160.6)1.91 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA

關於 Mar

Mar 採用中性色調的淺色背景(#ffffff),預設前景色為 #23476a。正文的 WCAG 對比度為 9.63:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.37:1,最低 1.83:1。

色板整體色彩飽和度適中,其中紅色為 #b5407b、綠色為 #7bb540、藍色為 #407bb5、洋紅為 #7b40b5。

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

與 Mar 相似的配色

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