跳到主要內容

Dark Pastels

Dark Pastels 是一套深色終端機配色(低彩度),背景色 #2c2c2c,文字色 #dcdccc,對比度 10.1:1

取得設定檔
背景色
#2c2c2c
前景色
#dcdccc
文字對比度
10.08:1AAA
強調色對比度
6.93:1最低 1.96
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
❯

Dark Pastels 的設定檔

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

Dark Pastels

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

更多 Ghostty 配色
原始檔
# Theme: Dark Pastels (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/dark-pastels?format=ghostty

palette = 0=#3f3f3f
palette = 1=#705050
palette = 2=#60b48a
palette = 3=#dfaf8f
palette = 4=#9ab8d7
palette = 5=#dc8cc3
palette = 6=#8cd0d3
palette = 7=#dcdccc
palette = 8=#709080
palette = 9=#dca3a3
palette = 10=#72d5a3
palette = 11=#f0dfaf
palette = 12=#94bff3
palette = 13=#ec93d3
palette = 14=#93e0e3
palette = 15=#ffffff
background = #2c2c2c
foreground = #dcdccc
cursor-color = #dcdccc
cursor-text = #2c2c2c
selection-background = #535350
selection-foreground = #dcdccc

Dark Pastels 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2c2c2crgb(44 44 44)hsl(0 0% 17%)oklch(29.3% 0.000 0)—
前景色foreground#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)10.08 AAA
游標cursor#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)10.08 AAA
游標文字cursorText#2c2c2crgb(44 44 44)hsl(0 0% 17%)oklch(29.3% 0.000 0)1.00 低於 AA
選取範圍selection#535350rgb(83 83 80)hsl(60 2% 32%)oklch(44.1% 0.005 106.6)1.81 低於 AA
選取文字selectionText#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)10.08 AAA
黑color0#3f3f3frgb(63 63 63)hsl(0 0% 25%)oklch(36.8% 0.000 0)1.33 低於 AA
紅color1#705050rgb(112 80 80)hsl(0 17% 38%)oklch(46.6% 0.043 18.8)1.96 低於 AA
綠color2#60b48argb(96 180 138)hsl(150 36% 54%)oklch(70.5% 0.104 160.3)5.58 AA
黃color3#dfaf8frgb(223 175 143)hsl(24 56% 72%)oklch(79.0% 0.071 55.1)7.09 AAA
藍color4#9ab8d7rgb(154 184 215)hsl(210 43% 72%)oklch(77.1% 0.055 249.4)6.79 AA
洋紅color5#dc8cc3rgb(220 140 195)hsl(319 53% 71%)oklch(73.9% 0.119 339.3)5.71 AA
青color6#8cd0d3rgb(140 208 211)hsl(183 45% 69%)oklch(81.3% 0.069 199.4)8.03 AAA
白color7#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)10.08 AAA
亮黑color8#709080rgb(112 144 128)hsl(150 13% 50%)oklch(62.4% 0.043 163.2)3.98 AA 大字級
亮紅color9#dca3a3rgb(220 163 163)hsl(0 45% 75%)oklch(76.9% 0.068 18.7)6.52 AA
亮綠color10#72d5a3rgb(114 213 163)hsl(150 54% 64%)oklch(79.9% 0.119 160.0)7.82 AAA
亮黃color11#f0dfafrgb(240 223 175)hsl(44 68% 81%)oklch(90.6% 0.065 90.9)10.56 AAA
亮藍color12#94bff3rgb(148 191 243)hsl(213 80% 77%)oklch(79.3% 0.088 253.6)7.32 AAA
亮洋紅color13#ec93d3rgb(236 147 211)hsl(317 70% 75%)oklch(77.4% 0.133 338.0)6.44 AA
亮青color14#93e0e3rgb(147 224 227)hsl(182 59% 73%)oklch(85.8% 0.076 199.0)9.32 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.97 AAA

關於 Dark Pastels

Dark Pastels 採用中性色調的深色背景(#2c2c2c),預設前景色為 #dcdccc。內文的 WCAG 對比度為 10.08:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.93:1,最低 1.96:1。

色票整體色彩彩度偏低,其中紅色為 #705050、綠色為 #60b48a、藍色為 #9ab8d7、洋紅為 #dc8cc3。

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

與 Dark Pastels 相似的配色

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