跳到主要內容

Tokyo City Light

Tokyo City Light 是一套淺色終端機配色(低飽和),背景色 #fbfbfd,文字色 #343b59,對比度 10.6:1

取得設定檔
背景色
#fbfbfd
前景色
#343b59
文字對比度
10.61:1AAA
強調色對比度
7.34:1最低 6.69
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
❯

Tokyo City Light 的設定檔

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

Tokyo City Light

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

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

palette = 0=#fbfbfd
palette = 1=#8c4351
palette = 2=#485e30
palette = 3=#4c505e
palette = 4=#34548a
palette = 5=#5a4a78
palette = 6=#4c505e
palette = 7=#343b59
palette = 8=#9699a3
palette = 9=#8c4351
palette = 10=#485e30
palette = 11=#4c505e
palette = 12=#34548a
palette = 13=#5a4a78
palette = 14=#4c505e
palette = 15=#171d23
background = #fbfbfd
foreground = #343b59
cursor-color = #343b59
cursor-text = #fbfbfd
selection-background = #c5c7d2
selection-foreground = #343b59

Tokyo City Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fbfbfdrgb(251 251 253)hsl(240 33% 99%)oklch(98.9% 0.003 286.4)—
前景色foreground#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
光標cursor#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
光標文字cursorText#fbfbfdrgb(251 251 253)hsl(240 33% 99%)oklch(98.9% 0.003 286.4)1.00 低於 AA
選取範圍selection#c5c7d2rgb(197 199 210)hsl(231 13% 80%)oklch(83.1% 0.015 277.8)1.63 低於 AA
選取文字selectionText#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
黑color0#fbfbfdrgb(251 251 253)hsl(240 33% 99%)oklch(98.9% 0.003 286.4)1.00 低於 AA
紅color1#8c4351rgb(140 67 81)hsl(348 35% 41%)oklch(48.0% 0.100 9.5)6.69 AA
綠color2#485e30rgb(72 94 48)hsl(89 32% 28%)oklch(45.2% 0.074 129.9)6.96 AA
黃color3#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
藍color4#34548argb(52 84 138)hsl(218 45% 37%)oklch(44.8% 0.097 260.3)7.31 AAA
洋紅color5#5a4a78rgb(90 74 120)hsl(261 24% 38%)oklch(44.5% 0.076 299.3)7.57 AAA
青color6#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
白color7#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
亮黑color8#9699a3rgb(150 153 163)hsl(226 7% 61%)oklch(68.4% 0.015 272.6)2.75 低於 AA
亮紅color9#8c4351rgb(140 67 81)hsl(348 35% 41%)oklch(48.0% 0.100 9.5)6.69 AA
亮綠color10#485e30rgb(72 94 48)hsl(89 32% 28%)oklch(45.2% 0.074 129.9)6.96 AA
亮黃color11#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
亮藍color12#34548argb(52 84 138)hsl(218 45% 37%)oklch(44.8% 0.097 260.3)7.31 AAA
亮洋紅color13#5a4a78rgb(90 74 120)hsl(261 24% 38%)oklch(44.5% 0.076 299.3)7.57 AAA
亮青color14#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
亮白color15#171d23rgb(23 29 35)hsl(210 21% 11%)oklch(22.7% 0.015 248.5)16.43 AAA

關於 Tokyo City Light

Tokyo City Light 採用中性色調的淺色背景(#fbfbfd),預設前景色為 #343b59。正文的 WCAG 對比度為 10.61:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.34:1,最低 6.69:1。

色板整體色彩飽和度偏低,其中紅色為 #8c4351、綠色為 #485e30、藍色為 #34548a、洋紅為 #5a4a78。該配色歸屬 Tokyo Night 主題系列。

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

與 Tokyo City Light 相似的配色

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