跳到主要內容

Pretty and Pastel

Pretty and Pastel 是一套深色終端機配色(柔和),背景色 #151515,文字色 #888888,對比度 5.2:1

取得設定檔
背景色
#151515
前景色
#888888
文字對比度
5.15:1AA
強調色對比度
9.25:1最低 4.77
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
❯

Pretty and Pastel 的設定檔

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

Pretty and Pastel

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

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

palette = 0=#292929
palette = 1=#cf6a4c
palette = 2=#19cb00
palette = 3=#fad07a
palette = 4=#8197bf
palette = 5=#8787af
palette = 6=#668799
palette = 7=#888888
palette = 8=#525252
palette = 9=#ff9d80
palette = 10=#23fd00
palette = 11=#ffefbf
palette = 12=#accaff
palette = 13=#c4c4ff
palette = 14=#80bfaf
palette = 15=#e8e8d3
background = #151515
foreground = #888888
cursor-color = #888888
cursor-text = #151515
selection-background = #2f2f2f
selection-foreground = #888888

Pretty and Pastel 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)—
前景色foreground#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.15 AA
光標cursor#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.15 AA
光標文字cursorText#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)1.00 低於 AA
選取範圍selection#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.36 低於 AA
選取文字selectionText#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.15 AA
黑color0#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)1.26 低於 AA
紅color1#cf6a4crgb(207 106 76)hsl(14 58% 55%)oklch(63.6% 0.135 37.3)5.06 AA
綠color2#19cb00rgb(25 203 0)hsl(113 100% 40%)oklch(73.1% 0.246 142.0)8.33 AAA
黃color3#fad07argb(250 208 122)hsl(40 93% 73%)oklch(87.6% 0.115 84.0)12.49 AAA
藍color4#8197bfrgb(129 151 191)hsl(219 33% 63%)oklch(67.4% 0.065 262.2)6.18 AA
洋紅color5#8787afrgb(135 135 175)hsl(240 20% 61%)oklch(63.8% 0.060 284.6)5.32 AA
青color6#668799rgb(102 135 153)hsl(201 20% 50%)oklch(60.5% 0.046 232.3)4.77 AA
白color7#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.15 AA
亮黑color8#525252rgb(82 82 82)hsl(0 0% 32%)oklch(43.9% 0.000 0)2.34 低於 AA
亮紅color9#ff9d80rgb(255 157 128)hsl(14 100% 75%)oklch(79.0% 0.125 37.3)9.03 AAA
亮綠color10#23fd00rgb(35 253 0)hsl(112 100% 50%)oklch(86.3% 0.290 142.0)13.15 AAA
亮黃color11#ffefbfrgb(255 239 191)hsl(45 100% 87%)oklch(95.3% 0.064 91.8)15.96 AAA
亮藍color12#accaffrgb(172 202 255)hsl(218 100% 84%)oklch(83.6% 0.082 261.7)11.00 AAA
亮洋紅color13#c4c4ffrgb(196 196 255)hsl(240 100% 88%)oklch(84.1% 0.082 284.5)11.03 AAA
亮青color14#80bfafrgb(128 191 175)hsl(165 33% 63%)oklch(75.7% 0.069 176.6)8.69 AAA
亮白color15#e8e8d3rgb(232 232 211)hsl(60 31% 87%)oklch(92.5% 0.028 106.9)14.71 AAA

關於 Pretty and Pastel

Pretty and Pastel 採用中性色調的深色背景(#151515),預設前景色為 #888888。正文的 WCAG 對比度為 5.15:1(AA),12 種 ANSI 彩色槽位平均對比度 9.25:1,最低 4.77:1。

色板整體色彩飽和度適中,其中紅色為 #cf6a4c、綠色為 #19cb00、藍色為 #8197bf、洋紅為 #8787af。

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

與 Pretty and Pastel 相似的配色

資料來源:terminal.sexy (MIT)