跳到主要內容

Pure

Pure 是一套深色終端機配色,背景色 #161719,文字色 #c5c8c6,對比度 10.6:1

取得設定檔
背景色
#161719
前景色
#c5c8c6
文字對比度
10.64:1AAA
強調色對比度
9.74:1最低 5.26
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
❯

Pure 的設定檔

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

Pure

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

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

palette = 0=#000000
palette = 1=#ff4060
palette = 2=#55a12d
palette = 3=#ffd7b1
palette = 4=#80bbff
palette = 5=#b9b6fc
palette = 6=#85befd
palette = 7=#e0e0e0
palette = 8=#444444
palette = 9=#ff4060
palette = 10=#94fa36
palette = 11=#f5ffa8
palette = 12=#96cbfe
palette = 13=#b9b6fc
palette = 14=#85befd
palette = 15=#e0e0e0
background = #161719
foreground = #c5c8c6
cursor-color = #c5c8c6
cursor-text = #161719
selection-background = #3c3d3f
selection-foreground = #c5c8c6

Pure 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#161719rgb(22 23 25)hsl(220 6% 9%)oklch(20.4% 0.004 264.5)—
前景色foreground#c5c8c6rgb(197 200 198)hsl(140 3% 78%)oklch(83.0% 0.004 157.2)10.64 AAA
光標cursor#c5c8c6rgb(197 200 198)hsl(140 3% 78%)oklch(83.0% 0.004 157.2)10.64 AAA
光標文字cursorText#161719rgb(22 23 25)hsl(220 6% 9%)oklch(20.4% 0.004 264.5)1.00 低於 AA
選取範圍selection#3c3d3frgb(60 61 63)hsl(220 2% 24%)oklch(36.0% 0.004 264.5)1.65 低於 AA
選取文字selectionText#c5c8c6rgb(197 200 198)hsl(140 3% 78%)oklch(83.0% 0.004 157.2)10.64 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.17 低於 AA
紅color1#ff4060rgb(255 64 96)hsl(350 100% 63%)oklch(66.5% 0.225 16.9)5.26 AA
綠color2#55a12drgb(85 161 45)hsl(99 56% 40%)oklch(63.6% 0.167 136.9)5.57 AA
黃color3#ffd7b1rgb(255 215 177)hsl(29 100% 85%)oklch(90.4% 0.067 65.3)13.33 AAA
藍color4#80bbffrgb(128 187 255)hsl(212 100% 75%)oklch(77.8% 0.116 252.7)8.94 AAA
洋紅color5#b9b6fcrgb(185 182 252)hsl(243 92% 85%)oklch(80.4% 0.098 285.9)9.53 AAA
青color6#85befdrgb(133 190 253)hsl(212 97% 76%)oklch(78.7% 0.108 251.7)9.21 AAA
白color7#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.59 AAA
亮黑color8#444444rgb(68 68 68)hsl(0 0% 27%)oklch(38.7% 0.000 0)1.84 低於 AA
亮紅color9#ff4060rgb(255 64 96)hsl(350 100% 63%)oklch(66.5% 0.225 16.9)5.26 AA
亮綠color10#94fa36rgb(148 250 54)hsl(91 95% 60%)oklch(88.9% 0.237 134.0)13.66 AAA
亮黃color11#f5ffa8rgb(245 255 168)hsl(67 100% 83%)oklch(97.3% 0.109 113.8)16.87 AAA
亮藍color12#96cbfergb(150 203 254)hsl(209 98% 79%)oklch(82.4% 0.091 248.0)10.48 AAA
亮洋紅color13#b9b6fcrgb(185 182 252)hsl(243 92% 85%)oklch(80.4% 0.098 285.9)9.53 AAA
亮青color14#85befdrgb(133 190 253)hsl(212 97% 76%)oklch(78.7% 0.108 251.7)9.21 AAA
亮白color15#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.59 AAA

關於 Pure

Pure 採用中性色調的深色背景(#161719),預設前景色為 #c5c8c6。正文的 WCAG 對比度為 10.64:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.74:1,最低 5.26:1。

色板整體色彩飽和度適中,其中紅色為 #ff4060、綠色為 #55a12d、藍色為 #80bbff、洋紅為 #b9b6fc。

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

與 Pure 相似的配色

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