跳到主要內容

Desert

Desert 是一套深色終端機配色,背景色 #333333,文字色 #ffffff,對比度 12.6:1

取得設定檔
背景色
#333333
前景色
#ffffff
文字對比度
12.63:1AAA
強調色對比度
7.53:1最低 3.39
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
❯

Desert 的設定檔

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

Desert

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

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

palette = 0=#4d4d4d
palette = 1=#ff2b2b
palette = 2=#98fb98
palette = 3=#f0e68c
palette = 4=#cd853f
palette = 5=#ffdead
palette = 6=#ffa0a0
palette = 7=#f5deb3
palette = 8=#555555
palette = 9=#ff5555
palette = 10=#55ff55
palette = 11=#ffff55
palette = 12=#87ceff
palette = 13=#ff55ff
palette = 14=#ffd700
palette = 15=#ffffff
background = #333333
foreground = #ffffff
cursor-color = #00ff00
cursor-text = #000000
selection-background = #b5d5ff
selection-foreground = #000000

Desert 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)12.63 AAA
光標cursor#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)9.21 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.66 低於 AA
選取範圍selection#b5d5ffrgb(181 213 255)hsl(214 100% 85%)oklch(86.4% 0.068 255.3)8.38 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.66 低於 AA
黑color0#4d4d4drgb(77 77 77)hsl(0 0% 30%)oklch(42.0% 0.000 0)1.49 低於 AA
紅color1#ff2b2brgb(255 43 43)hsl(0 100% 58%)oklch(64.3% 0.242 27.5)3.39 AA 大字體
綠color2#98fb98rgb(152 251 152)hsl(120 93% 79%)oklch(90.4% 0.162 144.1)9.98 AAA
黃color3#f0e68crgb(240 230 140)hsl(54 77% 75%)oklch(91.3% 0.112 102.8)9.87 AAA
藍color4#cd853frgb(205 133 63)hsl(30 59% 53%)oklch(67.8% 0.123 62.2)4.23 AA 大字體
洋紅color5#ffdeadrgb(255 222 173)hsl(36 100% 84%)oklch(91.6% 0.073 77.4)9.81 AAA
青color6#ffa0a0rgb(255 160 160)hsl(0 100% 81%)oklch(80.2% 0.114 19.9)6.49 AA
白color7#f5deb3rgb(245 222 179)hsl(39 77% 83%)oklch(90.9% 0.061 83.0)9.62 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)1.69 低於 AA
亮紅color9#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)4.02 AA 大字體
亮綠color10#55ff55rgb(85 255 85)hsl(120 100% 67%)oklch(88.0% 0.252 143.1)9.52 AAA
亮黃color11#ffff55rgb(255 255 85)hsl(60 100% 67%)oklch(97.1% 0.183 109.4)11.84 AAA
亮藍color12#87ceffrgb(135 206 255)hsl(205 100% 76%)oklch(82.3% 0.099 239.7)7.40 AAA
亮洋紅color13#ff55ffrgb(255 85 255)hsl(300 100% 67%)oklch(74.0% 0.272 327.9)4.81 AA
亮青color14#ffd700rgb(255 215 0)hsl(51 100% 50%)oklch(88.7% 0.182 95.3)9.01 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)12.63 AAA

關於 Desert

Desert 採用中性色調的深色背景(#333333),預設前景色為 #ffffff。正文的 WCAG 對比度為 12.63:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.53:1,最低 3.39:1。

色板整體色彩飽和度適中,其中紅色為 #ff2b2b、綠色為 #98fb98、藍色為 #cd853f、洋紅為 #ffdead。

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

與 Desert 相似的配色

資料來源:iTerm2 Color Schemes (MIT)