跳到主要內容

Sandstone Ink

Sandstone Ink 是一套淺色終端機配色(暖色),背景色 #fdf6e3,文字色 #2b3d45,對比度 10.5:1

取得設定檔
背景色
#fdf6e3
前景色
#2b3d45
文字對比度
10.49:1AAA
強調色對比度
5.21:1最低 4.67
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
❯

Sandstone Ink 的設定檔

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

Sandstone Ink

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

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

palette = 0=#002b36
palette = 1=#cf2522
palette = 2=#4b7000
palette = 3=#906800
palette = 4=#0d6fa8
palette = 5=#b5006e
palette = 6=#00756d
palette = 7=#6e6855
palette = 8=#2b3d45
palette = 9=#b33000
palette = 10=#536868
palette = 11=#566c6c
palette = 12=#5c6f6f
palette = 13=#5f64b7
palette = 14=#5f6e6e
palette = 15=#fdf6e3
background = #fdf6e3
foreground = #2b3d45
cursor-color = #2b3d45
cursor-text = #fdf6e3
selection-background = #ddd8c0
selection-foreground = #2b3d45

Sandstone Ink 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fdf6e3rgb(253 246 227)hsl(44 87% 94%)oklch(97.4% 0.026 90.1)—
前景色foreground#2b3d45rgb(43 61 69)hsl(198 23% 22%)oklch(34.8% 0.027 227.2)10.49 AAA
光標cursor#2b3d45rgb(43 61 69)hsl(198 23% 22%)oklch(34.8% 0.027 227.2)10.49 AAA
光標文字cursorText#fdf6e3rgb(253 246 227)hsl(44 87% 94%)oklch(97.4% 0.026 90.1)1.00 低於 AA
選取範圍selection#ddd8c0rgb(221 216 192)hsl(50 30% 81%)oklch(88.0% 0.033 97.3)1.33 低於 AA
選取文字selectionText#2b3d45rgb(43 61 69)hsl(198 23% 22%)oklch(34.8% 0.027 227.2)10.49 AAA
黑color0#002b36rgb(0 43 54)hsl(192 100% 11%)oklch(26.7% 0.049 219.8)13.92 AAA
紅color1#cf2522rgb(207 37 34)hsl(1 72% 47%)oklch(55.2% 0.205 27.8)4.94 AA
綠color2#4b7000rgb(75 112 0)hsl(80 100% 22%)oklch(49.8% 0.132 128.8)5.38 AA
黃color3#906800rgb(144 104 0)hsl(43 100% 28%)oklch(54.4% 0.112 82.0)4.67 AA
藍color4#0d6fa8rgb(13 111 168)hsl(202 86% 35%)oklch(52.0% 0.121 242.6)5.05 AA
洋紅color5#b5006ergb(181 0 110)hsl(324 100% 35%)oklch(50.6% 0.209 353.5)6.10 AA
青color6#00756drgb(0 117 109)hsl(176 100% 23%)oklch(50.6% 0.089 186.5)5.17 AA
白color7#6e6855rgb(110 104 85)hsl(46 13% 38%)oklch(51.7% 0.030 92.6)5.16 AA
亮黑color8#2b3d45rgb(43 61 69)hsl(198 23% 22%)oklch(34.8% 0.027 227.2)10.49 AAA
亮紅color9#b33000rgb(179 48 0)hsl(16 100% 35%)oklch(50.9% 0.174 36.1)5.83 AA
亮綠color10#536868rgb(83 104 104)hsl(180 11% 37%)oklch(50.0% 0.025 196.4)5.49 AA
亮黃color11#566c6crgb(86 108 108)hsl(180 11% 38%)oklch(51.4% 0.026 196.4)5.18 AA
亮藍color12#5c6f6frgb(92 111 111)hsl(180 9% 40%)oklch(52.6% 0.023 196.5)4.92 AA
亮洋紅color13#5f64b7rgb(95 100 183)hsl(237 38% 55%)oklch(53.9% 0.128 278.6)4.88 AA
亮青color14#5f6e6ergb(95 110 110)hsl(180 7% 40%)oklch(52.6% 0.018 196.6)4.94 AA
亮白color15#fdf6e3rgb(253 246 227)hsl(44 87% 94%)oklch(97.4% 0.026 90.1)1.00 低於 AA

關於 Sandstone Ink

Sandstone Ink 採用暖色調的淺色背景(#fdf6e3),預設前景色為 #2b3d45。正文的 WCAG 對比度為 10.49:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.21:1,最低 4.67:1。

色板整體色彩飽和度適中,其中紅色為 #cf2522、綠色為 #4b7000、藍色為 #0d6fa8、洋紅為 #b5006e。

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

與 Sandstone Ink 相似的配色

資料來源:iTerm2 Color Schemes (MIT)