跳到主要內容

X Praha

X Praha 是一套深色終端機配色(高對比、粉彩),背景色 #1a1a1a,文字色 #ffffff,對比度 17.4:1

取得設定檔
背景色
#1a1a1a
前景色
#ffffff
文字對比度
17.40:1AAA
強調色對比度
10.50:1最低 5.54
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 Praha 的設定檔

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

X Praha

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

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

palette = 0=#1a1a1a
palette = 1=#ff5555
palette = 2=#b8e6a0
palette = 3=#ffe4a3
palette = 4=#bd93f9
palette = 5=#ff9aa2
palette = 6=#8be9fd
palette = 7=#ffffff
palette = 8=#6272a4
palette = 9=#ff6e6e
palette = 10=#b8e6a0
palette = 11=#ffe4a3
palette = 12=#d6acff
palette = 13=#ff9aa2
palette = 14=#a4ffff
palette = 15=#ffffff
background = #1a1a1a
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #1a1a1a
selection-background = #ffffff
selection-foreground = #1a1a1a

X Praha 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
游標文字cursorText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
選取範圍selection#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
選取文字selectionText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
紅color1#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)5.54 AA
綠color2#b8e6a0rgb(184 230 160)hsl(99 58% 76%)oklch(87.5% 0.105 135.2)12.32 AAA
黃color3#ffe4a3rgb(255 228 163)hsl(42 100% 82%)oklch(92.6% 0.087 88.0)13.99 AAA
藍color4#bd93f9rgb(189 147 249)hsl(265 89% 78%)oklch(74.2% 0.149 301.9)7.21 AAA
洋紅color5#ff9aa2rgb(255 154 162)hsl(355 100% 80%)oklch(79.2% 0.121 15.1)8.62 AAA
青color6#8be9fdrgb(139 233 253)hsl(191 97% 77%)oklch(88.3% 0.093 212.8)12.57 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
亮黑color8#6272a4rgb(98 114 164)hsl(225 27% 51%)oklch(56.0% 0.080 270.1)3.70 AA 大字級
亮紅color9#ff6e6ergb(255 110 110)hsl(0 100% 72%)oklch(71.6% 0.178 22.6)6.39 AA
亮綠color10#b8e6a0rgb(184 230 160)hsl(99 58% 76%)oklch(87.5% 0.105 135.2)12.32 AAA
亮黃color11#ffe4a3rgb(255 228 163)hsl(42 100% 82%)oklch(92.6% 0.087 88.0)13.99 AAA
亮藍color12#d6acffrgb(214 172 255)hsl(270 100% 84%)oklch(81.1% 0.122 307.0)9.29 AAA
亮洋紅color13#ff9aa2rgb(255 154 162)hsl(355 100% 80%)oklch(79.2% 0.121 15.1)8.62 AAA
亮青color14#a4ffffrgb(164 255 255)hsl(180 100% 82%)oklch(94.3% 0.087 195.8)15.19 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA

關於 X Praha

X Praha 採用中性色調的深色背景(#1a1a1a),預設前景色為 #ffffff。內文的 WCAG 對比度為 17.40:1(AAA),12 種 ANSI 彩色槽位平均對比度 10.50:1,最低 5.54:1。

色票整體色彩彩度適中,其中紅色為 #ff5555、綠色為 #b8e6a0、藍色為 #bd93f9、洋紅為 #ff9aa2。

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

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

與 X Praha 相似的配色

資料來源:iTerm2 Color Schemes (MIT)