跳到主要內容

Squirrelsong Dark

Squirrelsong Dark 是一套深色終端機配色(柔和、暖色),背景色 #372920,文字色 #b19b89,對比度 5.3:1

取得設定檔
背景色
#372920
前景色
#b19b89
文字對比度
5.28:1AA
強調色對比度
4.47:1最低 2.60
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
❯

Squirrelsong Dark 的設定檔

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

Squirrelsong Dark

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

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

palette = 0=#372920
palette = 1=#ba4138
palette = 2=#468336
palette = 3=#d4b139
palette = 4=#4395c6
palette = 5=#855fb8
palette = 6=#2f9794
palette = 7=#d3b9a2
palette = 8=#704f39
palette = 9=#df4d43
palette = 10=#659a4c
palette = 11=#e8c23f
palette = 12=#4ca4db
palette = 13=#9d70da
palette = 14=#60aca9
palette = 15=#f2d4bb
background = #372920
foreground = #b19b89
cursor-color = #b19b89
cursor-text = #372920
selection-background = #5b402e
selection-foreground = #b19b89

Squirrelsong Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#372920rgb(55 41 32)hsl(23 26% 17%)oklch(29.4% 0.026 54.2)—
前景色foreground#b19b89rgb(177 155 137)hsl(27 20% 62%)oklch(70.4% 0.037 61.5)5.28 AA
光標cursor#b19b89rgb(177 155 137)hsl(27 20% 62%)oklch(70.4% 0.037 61.5)5.28 AA
光標文字cursorText#372920rgb(55 41 32)hsl(23 26% 17%)oklch(29.4% 0.026 54.2)1.00 低於 AA
選取範圍selection#5b402ergb(91 64 46)hsl(24 33% 27%)oklch(39.7% 0.047 54.6)1.48 低於 AA
選取文字selectionText#b19b89rgb(177 155 137)hsl(27 20% 62%)oklch(70.4% 0.037 61.5)5.28 AA
黑color0#372920rgb(55 41 32)hsl(23 26% 17%)oklch(29.4% 0.026 54.2)1.00 低於 AA
紅color1#ba4138rgb(186 65 56)hsl(4 54% 47%)oklch(54.4% 0.158 27.7)2.60 低於 AA
綠color2#468336rgb(70 131 54)hsl(108 42% 36%)oklch(55.1% 0.127 139.5)3.04 AA 大字體
黃color3#d4b139rgb(212 177 57)hsl(46 64% 53%)oklch(77.1% 0.139 92.1)6.76 AA
藍color4#4395c6rgb(67 149 198)hsl(202 53% 52%)oklch(64.0% 0.108 238.0)4.23 AA 大字體
洋紅color5#855fb8rgb(133 95 184)hsl(266 39% 55%)oklch(56.4% 0.137 301.9)2.88 低於 AA
青color6#2f9794rgb(47 151 148)hsl(178 53% 39%)oklch(61.8% 0.093 192.2)3.98 AA 大字體
白color7#d3b9a2rgb(211 185 162)hsl(28 36% 73%)oklch(80.2% 0.043 63.7)7.49 AAA
亮黑color8#704f39rgb(112 79 57)hsl(24 33% 33%)oklch(45.8% 0.056 54.5)1.91 低於 AA
亮紅color9#df4d43rgb(223 77 67)hsl(4 71% 57%)oklch(62.0% 0.184 27.6)3.52 AA 大字體
亮綠color10#659a4crgb(101 154 76)hsl(101 34% 45%)oklch(63.0% 0.123 136.5)4.19 AA 大字體
亮黃color11#e8c23frgb(232 194 63)hsl(47 79% 58%)oklch(82.5% 0.149 92.2)8.14 AAA
亮藍color12#4ca4dbrgb(76 164 219)hsl(203 67% 58%)oklch(68.8% 0.117 239.1)5.09 AA
亮洋紅color13#9d70dargb(157 112 218)hsl(265 59% 65%)oklch(63.6% 0.158 301.7)3.84 AA 大字體
亮青color14#60aca9rgb(96 172 169)hsl(178 31% 53%)oklch(69.5% 0.076 192.2)5.31 AA
亮白color15#f2d4bbrgb(242 212 187)hsl(27 68% 84%)oklch(88.9% 0.047 62.0)9.94 AAA

關於 Squirrelsong Dark

Squirrelsong Dark 採用暖色調的深色背景(#372920),預設前景色為 #b19b89。正文的 WCAG 對比度為 5.28:1(AA),12 種 ANSI 彩色槽位平均對比度 4.47:1,最低 2.60:1。

色板整體色彩飽和度適中,其中紅色為 #ba4138、綠色為 #468336、藍色為 #4395c6、洋紅為 #855fb8。

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

與 Squirrelsong Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)