跳到主要內容

Mexico Light

Mexico Light 是一套淺色終端機配色(柔和),背景色 #f8f8f8,文字色 #383838,對比度 11.0:1

取得設定檔
背景色
#f8f8f8
前景色
#383838
文字對比度
11.04:1AAA
強調色對比度
3.69:1最低 2.06
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
❯

Mexico Light 的設定檔

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

Mexico Light

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

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

palette = 0=#f8f8f8
palette = 1=#ab4642
palette = 2=#538947
palette = 3=#f79a0e
palette = 4=#7cafc2
palette = 5=#96609e
palette = 6=#4b8093
palette = 7=#383838
palette = 8=#b8b8b8
palette = 9=#ab4642
palette = 10=#538947
palette = 11=#f79a0e
palette = 12=#7cafc2
palette = 13=#96609e
palette = 14=#4b8093
palette = 15=#181818
background = #f8f8f8
foreground = #383838
cursor-color = #383838
cursor-text = #f8f8f8
selection-background = #c4c4c4
selection-foreground = #383838

Mexico Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)—
前景色foreground#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
光標cursor#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
光標文字cursorText#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)1.00 低於 AA
選取範圍selection#c4c4c4rgb(196 196 196)hsl(0 0% 77%)oklch(82.0% 0.000 0)1.64 低於 AA
選取文字selectionText#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
黑color0#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)1.00 低於 AA
紅color1#ab4642rgb(171 70 66)hsl(2 44% 46%)oklch(52.8% 0.134 25.0)5.36 AA
綠color2#538947rgb(83 137 71)hsl(109 32% 41%)oklch(57.6% 0.112 140.0)3.93 AA 大字體
黃color3#f79a0ergb(247 154 14)hsl(36 94% 51%)oklch(76.4% 0.166 67.1)2.06 低於 AA
藍color4#7cafc2rgb(124 175 194)hsl(196 36% 62%)oklch(72.5% 0.060 223.1)2.26 低於 AA
洋紅color5#96609ergb(150 96 158)hsl(292 24% 50%)oklch(57.1% 0.111 322.2)4.43 AA 大字體
青color6#4b8093rgb(75 128 147)hsl(196 32% 44%)oklch(57.0% 0.064 223.1)4.11 AA 大字體
白color7#383838rgb(56 56 56)hsl(0 0% 22%)oklch(34.1% 0.000 0)11.04 AAA
亮黑color8#b8b8b8rgb(184 184 184)hsl(0 0% 72%)oklch(78.3% 0.000 0)1.87 低於 AA
亮紅color9#ab4642rgb(171 70 66)hsl(2 44% 46%)oklch(52.8% 0.134 25.0)5.36 AA
亮綠color10#538947rgb(83 137 71)hsl(109 32% 41%)oklch(57.6% 0.112 140.0)3.93 AA 大字體
亮黃color11#f79a0ergb(247 154 14)hsl(36 94% 51%)oklch(76.4% 0.166 67.1)2.06 低於 AA
亮藍color12#7cafc2rgb(124 175 194)hsl(196 36% 62%)oklch(72.5% 0.060 223.1)2.26 低於 AA
亮洋紅color13#96609ergb(150 96 158)hsl(292 24% 50%)oklch(57.1% 0.111 322.2)4.43 AA 大字體
亮青color14#4b8093rgb(75 128 147)hsl(196 32% 44%)oklch(57.0% 0.064 223.1)4.11 AA 大字體
亮白color15#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)16.72 AAA

關於 Mexico Light

Mexico Light 採用中性色調的淺色背景(#f8f8f8),預設前景色為 #383838。正文的 WCAG 對比度為 11.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.69:1,最低 2.06:1。

色板整體色彩飽和度適中,其中紅色為 #ab4642、綠色為 #538947、藍色為 #7cafc2、洋紅為 #96609e。

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

與 Mexico Light 相似的配色

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