跳到主要內容

X London

X London 是一套淺色終端機配色(單色),背景色 #ffffff,文字色 #333333,對比度 12.6:1

取得設定檔
背景色
#ffffff
前景色
#333333
文字對比度
12.63:1AAA
強調色對比度
6.45:1最低 2.85
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 London 的設定檔

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

X London

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

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

palette = 0=#ffffff
palette = 1=#333333
palette = 2=#444444
palette = 3=#555555
palette = 4=#666666
palette = 5=#777777
palette = 6=#888888
palette = 7=#333333
palette = 8=#333333
palette = 9=#444444
palette = 10=#555555
palette = 11=#666666
palette = 12=#777777
palette = 13=#888888
palette = 14=#999999
palette = 15=#aaaaaa
background = #ffffff
foreground = #333333
cursor-color = #333333
cursor-text = #ffffff
selection-background = #333333
selection-foreground = #ffffff

X London 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)12.63 AAA
游標cursor#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)12.63 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
選取範圍selection#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)12.63 AAA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
黑color0#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
紅color1#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)12.63 AAA
綠color2#444444rgb(68 68 68)hsl(0 0% 27%)oklch(38.7% 0.000 0)9.74 AAA
黃color3#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)7.46 AAA
藍color4#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)5.74 AA
洋紅color5#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.48 AA 大字級
青color6#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)3.54 AA 大字級
白color7#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)12.63 AAA
亮黑color8#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)12.63 AAA
亮紅color9#444444rgb(68 68 68)hsl(0 0% 27%)oklch(38.7% 0.000 0)9.74 AAA
亮綠color10#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)7.46 AAA
亮黃color11#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)5.74 AA
亮藍color12#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.48 AA 大字級
亮洋紅color13#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)3.54 AA 大字級
亮青color14#999999rgb(153 153 153)hsl(0 0% 60%)oklch(68.3% 0.000 0)2.85 低於 AA
亮白color15#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)2.32 低於 AA

關於 X London

X London 採用中性色調的淺色背景(#ffffff),預設前景色為 #333333。內文的 WCAG 對比度為 12.63:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.45:1,最低 2.85:1。

色票整體色彩彩度偏低,其中紅色為 #333333、綠色為 #444444、藍色為 #666666、洋紅為 #777777。

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

此色票在上游儲存庫中也曾以 London 的名稱發布

與 X London 相似的配色

資料來源:iTerm2 Color Schemes (MIT)