跳到主要內容

Shapeshifter

Shapeshifter 是一套淺色終端機配色(柔和、鮮豔),背景色 #f9f9f9,文字色 #102015,對比度 16.1:1

取得設定檔
背景色
#f9f9f9
前景色
#102015
文字對比度
16.09:1AAA
強調色對比度
2.79:1最低 1.38
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
❯

Shapeshifter 的設定檔

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

Shapeshifter

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

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

palette = 0=#f9f9f9
palette = 1=#e92f2f
palette = 2=#0ed839
palette = 3=#dddd13
palette = 4=#3b48e3
palette = 5=#f996e2
palette = 6=#23edda
palette = 7=#102015
palette = 8=#555555
palette = 9=#e92f2f
palette = 10=#0ed839
palette = 11=#dddd13
palette = 12=#3b48e3
palette = 13=#f996e2
palette = 14=#23edda
palette = 15=#000000
background = #f9f9f9
foreground = #102015
cursor-color = #102015
cursor-text = #f9f9f9
selection-background = #b8bdb9
selection-foreground = #102015

Shapeshifter 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f9f9f9rgb(249 249 249)hsl(0 0% 98%)oklch(98.2% 0.000 0)—
前景色foreground#102015rgb(16 32 21)hsl(139 33% 9%)oklch(22.5% 0.031 153.3)16.09 AAA
游標cursor#102015rgb(16 32 21)hsl(139 33% 9%)oklch(22.5% 0.031 153.3)16.09 AAA
游標文字cursorText#f9f9f9rgb(249 249 249)hsl(0 0% 98%)oklch(98.2% 0.000 0)1.00 低於 AA
選取範圍selection#b8bdb9rgb(184 189 185)hsl(132 4% 73%)oklch(79.3% 0.008 151.9)1.81 低於 AA
選取文字selectionText#102015rgb(16 32 21)hsl(139 33% 9%)oklch(22.5% 0.031 153.3)16.09 AAA
黑color0#f9f9f9rgb(249 249 249)hsl(0 0% 98%)oklch(98.2% 0.000 0)1.00 低於 AA
紅color1#e92f2frgb(233 47 47)hsl(0 81% 55%)oklch(60.7% 0.220 26.9)4.06 AA 大字級
綠color2#0ed839rgb(14 216 57)hsl(133 88% 45%)oklch(76.7% 0.242 144.5)1.83 低於 AA
黃color3#dddd13rgb(221 221 19)hsl(60 84% 47%)oklch(86.9% 0.187 109.7)1.38 低於 AA
藍color4#3b48e3rgb(59 72 227)hsl(235 75% 56%)oklch(50.0% 0.230 271.1)6.19 AA
洋紅color5#f996e2rgb(249 150 226)hsl(314 89% 78%)oklch(79.9% 0.150 336.0)1.90 低於 AA
青color6#23eddargb(35 237 218)hsl(174 85% 53%)oklch(85.2% 0.146 184.4)1.40 低於 AA
白color7#102015rgb(16 32 21)hsl(139 33% 9%)oklch(22.5% 0.031 153.3)16.09 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)7.08 AAA
亮紅color9#e92f2frgb(233 47 47)hsl(0 81% 55%)oklch(60.7% 0.220 26.9)4.06 AA 大字級
亮綠color10#0ed839rgb(14 216 57)hsl(133 88% 45%)oklch(76.7% 0.242 144.5)1.83 低於 AA
亮黃color11#dddd13rgb(221 221 19)hsl(60 84% 47%)oklch(86.9% 0.187 109.7)1.38 低於 AA
亮藍color12#3b48e3rgb(59 72 227)hsl(235 75% 56%)oklch(50.0% 0.230 271.1)6.19 AA
亮洋紅color13#f996e2rgb(249 150 226)hsl(314 89% 78%)oklch(79.9% 0.150 336.0)1.90 低於 AA
亮青color14#23eddargb(35 237 218)hsl(174 85% 53%)oklch(85.2% 0.146 184.4)1.40 低於 AA
亮白color15#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)19.95 AAA

關於 Shapeshifter

Shapeshifter 採用中性色調的淺色背景(#f9f9f9),預設前景色為 #102015。內文的 WCAG 對比度為 16.09:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.79:1,最低 1.38:1。

色票整體色彩彩度較高,其中紅色為 #e92f2f、綠色為 #0ed839、藍色為 #3b48e3、洋紅為 #f996e2。

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

與 Shapeshifter 相似的配色

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