跳到主要內容

X Miami

X Miami 是一套深色終端機配色(純黑、高對比),背景色 #000000,文字色 #f7f1ff,對比度 19.0:1

取得設定檔
背景色
#000000
前景色
#f7f1ff
文字對比度
18.98:1AAA
強調色對比度
12.31:1最低 6.66
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
❯

X Miami 的設定檔

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

X Miami

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

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

palette = 0=#000000
palette = 1=#ff4c8b
palette = 2=#7fffd4
palette = 3=#ffd84c
palette = 4=#00ffa8
palette = 5=#d36cff
palette = 6=#47cfff
palette = 7=#f7f1ff
palette = 8=#69676c
palette = 9=#ff4c8b
palette = 10=#7fffd4
palette = 11=#ffd84c
palette = 12=#00ffa8
palette = 13=#d36cff
palette = 14=#47cfff
palette = 15=#f7f1ff
background = #000000
foreground = #f7f1ff
cursor-color = #f7f1ff
cursor-text = #000000
selection-background = #f7f1ff
selection-foreground = #000000

X Miami 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)18.98 AAA
光標cursor#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)18.98 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)18.98 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#ff4c8brgb(255 76 139)hsl(339 100% 65%)oklch(68.5% 0.218 3.7)6.66 AA
綠color2#7fffd4rgb(127 255 212)hsl(160 100% 75%)oklch(91.5% 0.130 169.0)17.16 AAA
黃color3#ffd84crgb(255 216 76)hsl(47 100% 65%)oklch(89.2% 0.158 93.1)15.18 AAA
藍color4#00ffa8rgb(0 255 168)hsl(160 100% 50%)oklch(88.2% 0.201 159.6)15.87 AAA
洋紅color5#d36cffrgb(211 108 255)hsl(282 100% 71%)oklch(70.9% 0.223 314.5)7.36 AAA
青color6#47cfffrgb(71 207 255)hsl(196 100% 64%)oklch(80.1% 0.133 226.0)11.64 AAA
白color7#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)18.98 AAA
亮黑color8#69676crgb(105 103 108)hsl(264 2% 41%)oklch(51.7% 0.008 304.1)3.76 AA 大字體
亮紅color9#ff4c8brgb(255 76 139)hsl(339 100% 65%)oklch(68.5% 0.218 3.7)6.66 AA
亮綠color10#7fffd4rgb(127 255 212)hsl(160 100% 75%)oklch(91.5% 0.130 169.0)17.16 AAA
亮黃color11#ffd84crgb(255 216 76)hsl(47 100% 65%)oklch(89.2% 0.158 93.1)15.18 AAA
亮藍color12#00ffa8rgb(0 255 168)hsl(160 100% 50%)oklch(88.2% 0.201 159.6)15.87 AAA
亮洋紅color13#d36cffrgb(211 108 255)hsl(282 100% 71%)oklch(70.9% 0.223 314.5)7.36 AAA
亮青color14#47cfffrgb(71 207 255)hsl(196 100% 64%)oklch(80.1% 0.133 226.0)11.64 AAA
亮白color15#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)18.98 AAA

關於 X Miami

X Miami 採用中性色調的深色背景(#000000),預設前景色為 #f7f1ff。正文的 WCAG 對比度為 18.98:1(AAA),12 種 ANSI 彩色槽位平均對比度 12.31:1,最低 6.66:1。

色板整體色彩飽和度較高,其中紅色為 #ff4c8b、綠色為 #7fffd4、藍色為 #00ffa8、洋紅為 #d36cff。

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

該色板在上游儲存庫中亦曾以 Miami 的名稱發佈

與 X Miami 相似的配色

資料來源:iTerm2 Color Schemes (MIT)