跳到主要內容

Sandcastle

Sandcastle 是一套深色終端機配色(柔和、低彩度),背景色 #282c34,文字色 #a89984,對比度 5.0:1

取得設定檔
背景色
#282c34
前景色
#a89984
文字對比度
5.04:1AA
強調色對比度
4.45:1最低 3.62
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
❯

Sandcastle 的設定檔

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

Sandcastle

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

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

palette = 0=#282c34
palette = 1=#83a598
palette = 2=#528b8b
palette = 3=#a07e3b
palette = 4=#83a598
palette = 5=#d75f5f
palette = 6=#83a598
palette = 7=#a89984
palette = 8=#665c54
palette = 9=#83a598
palette = 10=#528b8b
palette = 11=#a07e3b
palette = 12=#83a598
palette = 13=#d75f5f
palette = 14=#83a598
palette = 15=#fdf4c1
background = #282c34
foreground = #a89984
cursor-color = #a89984
cursor-text = #282c34
selection-background = #454547
selection-foreground = #a89984

Sandcastle 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)—
前景色foreground#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
游標cursor#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
游標文字cursorText#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)1.00 低於 AA
選取範圍selection#454547rgb(69 69 71)hsl(240 1% 27%)oklch(39.1% 0.003 286.2)1.46 低於 AA
選取文字selectionText#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
黑color0#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)1.00 低於 AA
紅color1#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
綠color2#528b8brgb(82 139 139)hsl(180 26% 43%)oklch(59.8% 0.060 195.7)3.62 AA 大字級
黃color3#a07e3brgb(160 126 59)hsl(40 46% 43%)oklch(61.2% 0.095 82.3)3.69 AA 大字級
藍color4#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
洋紅color5#d75f5frgb(215 95 95)hsl(0 60% 61%)oklch(63.5% 0.152 22.4)3.79 AA 大字級
青color6#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
白color7#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.04 AA
亮黑color8#665c54rgb(102 92 84)hsl(27 10% 36%)oklch(48.2% 0.018 61.0)2.15 低於 AA
亮紅color9#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
亮綠color10#528b8brgb(82 139 139)hsl(180 26% 43%)oklch(59.8% 0.060 195.7)3.62 AA 大字級
亮黃color11#a07e3brgb(160 126 59)hsl(40 46% 43%)oklch(61.2% 0.095 82.3)3.69 AA 大字級
亮藍color12#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
亮洋紅color13#d75f5frgb(215 95 95)hsl(0 60% 61%)oklch(63.5% 0.152 22.4)3.79 AA 大字級
亮青color14#83a598rgb(131 165 152)hsl(157 16% 58%)oklch(69.3% 0.042 169.8)5.20 AA
亮白color15#fdf4c1rgb(253 244 193)hsl(51 94% 87%)oklch(96.2% 0.066 99.2)12.59 AAA

關於 Sandcastle

Sandcastle 採用冷色調的深色背景(#282c34),預設前景色為 #a89984。內文的 WCAG 對比度為 5.04:1(AA),12 種 ANSI 彩色槽位平均對比度 4.45:1,最低 3.62:1。

色票整體色彩彩度偏低,其中紅色為 #83a598、綠色為 #528b8b、藍色為 #83a598、洋紅為 #d75f5f。

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

與 Sandcastle 相似的配色

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