跳到主要內容

Sweet Terminal

Sweet Terminal 是一套深色終端機配色(鮮艷、冷色),背景色 #222235,文字色 #ffffff,對比度 15.6:1

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

Sweet Terminal 的設定檔

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

Sweet Terminal

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

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

palette = 0=#3f3f54
palette = 1=#f60055
palette = 2=#06c993
palette = 3=#9700be
palette = 4=#f69154
palette = 5=#ec89cb
palette = 6=#60adec
palette = 7=#abb2bf
palette = 8=#959dcb
palette = 9=#f60055
palette = 10=#06c993
palette = 11=#9700be
palette = 12=#f69154
palette = 13=#ec89cb
palette = 14=#00dded
palette = 15=#ffffff
background = #222235
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #222235
selection-background = #525263
selection-foreground = #ffffff

Sweet Terminal 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#222235rgb(34 34 53)hsl(240 22% 17%)oklch(26.1% 0.035 283.7)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.58 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.58 AAA
光標文字cursorText#222235rgb(34 34 53)hsl(240 22% 17%)oklch(26.1% 0.035 283.7)1.00 低於 AA
選取範圍selection#525263rgb(82 82 99)hsl(240 9% 35%)oklch(44.5% 0.028 285.2)2.04 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.58 AAA
黑color0#3f3f54rgb(63 63 84)hsl(240 14% 29%)oklch(37.6% 0.036 284.6)1.52 低於 AA
紅color1#f60055rgb(246 0 85)hsl(339 100% 48%)oklch(61.9% 0.247 14.5)3.75 AA 大字體
綠color2#06c993rgb(6 201 147)hsl(163 94% 41%)oklch(74.1% 0.155 165.3)7.26 AAA
黃color3#9700bergb(151 0 190)hsl(288 100% 37%)oklch(50.2% 0.246 316.3)2.27 低於 AA
藍color4#f69154rgb(246 145 84)hsl(23 90% 65%)oklch(75.2% 0.144 50.2)6.75 AA
洋紅color5#ec89cbrgb(236 137 203)hsl(320 72% 73%)oklch(75.6% 0.144 340.8)6.68 AA
青color6#60adecrgb(96 173 236)hsl(207 79% 65%)oklch(72.4% 0.120 245.2)6.44 AA
白color7#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.31 AAA
亮黑color8#959dcbrgb(149 157 203)hsl(231 34% 69%)oklch(70.6% 0.068 276.8)5.91 AA
亮紅color9#f60055rgb(246 0 85)hsl(339 100% 48%)oklch(61.9% 0.247 14.5)3.75 AA 大字體
亮綠color10#06c993rgb(6 201 147)hsl(163 94% 41%)oklch(74.1% 0.155 165.3)7.26 AAA
亮黃color11#9700bergb(151 0 190)hsl(288 100% 37%)oklch(50.2% 0.246 316.3)2.27 低於 AA
亮藍color12#f69154rgb(246 145 84)hsl(23 90% 65%)oklch(75.2% 0.144 50.2)6.75 AA
亮洋紅color13#ec89cbrgb(236 137 203)hsl(320 72% 73%)oklch(75.6% 0.144 340.8)6.68 AA
亮青color14#00ddedrgb(0 221 237)hsl(184 100% 46%)oklch(81.8% 0.140 204.1)9.32 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.58 AAA

關於 Sweet Terminal

Sweet Terminal 採用冷色調的深色背景(#222235),預設前景色為 #ffffff。正文的 WCAG 對比度為 15.58:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.76:1,最低 2.27:1。

色板整體色彩飽和度較高,其中紅色為 #f60055、綠色為 #06c993、藍色為 #f69154、洋紅為 #ec89cb。

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

與 Sweet Terminal 相似的配色

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