跳到主要內容

Springfield Resident

Springfield Resident 是一套淺色終端機配色(柔和、暖色),背景色 #ffdd32,文字色 #084f8f,對比度 6.2:1

取得設定檔
背景色
#ffdd32
前景色
#084f8f
文字對比度
6.19:1AA
強調色對比度
4.27:1最低 3.57
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
❯

Springfield Resident 的設定檔

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

Springfield Resident

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

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

palette = 0=#252b32
palette = 1=#b83245
palette = 2=#237a3b
palette = 3=#8a5a00
palette = 4=#075aa8
palette = 5=#a92d87
palette = 6=#00748a
palette = 7=#5b5960
palette = 8=#555a61
palette = 9=#c63d4d
palette = 10=#2b8243
palette = 11=#765000
palette = 12=#1267b8
palette = 13=#b33792
palette = 14=#007c91
palette = 15=#4a4d52
background = #ffdd32
foreground = #084f8f
cursor-color = #1687e0
cursor-text = #ffef73
selection-background = #ef4fa8
selection-foreground = #24205f

Springfield Resident 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffdd32rgb(255 221 50)hsl(50 100% 60%)oklch(90.0% 0.174 96.9)—
前景色foreground#084f8frgb(8 79 143)hsl(208 89% 30%)oklch(42.5% 0.123 252.3)6.19 AA
光標cursor#1687e0rgb(22 135 224)hsl(206 82% 48%)oklch(61.1% 0.163 249.4)2.80 低於 AA
光標文字cursorText#ffef73rgb(255 239 115)hsl(53 100% 73%)oklch(94.1% 0.145 102.0)1.14 低於 AA
選取範圍selection#ef4fa8rgb(239 79 168)hsl(327 83% 62%)oklch(67.3% 0.213 350.0)2.46 低於 AA
選取文字selectionText#24205frgb(36 32 95)hsl(244 50% 25%)oklch(29.1% 0.108 280.1)10.81 AAA
黑color0#252b32rgb(37 43 50)hsl(212 15% 17%)oklch(28.6% 0.015 252.4)10.64 AAA
紅color1#b83245rgb(184 50 69)hsl(351 57% 46%)oklch(52.6% 0.170 17.5)4.37 AA 大字體
綠color2#237a3brgb(35 122 59)hsl(137 55% 31%)oklch(51.3% 0.127 148.7)3.99 AA 大字體
黃color3#8a5a00rgb(138 90 0)hsl(39 100% 27%)oklch(50.8% 0.108 73.3)4.41 AA 大字體
藍color4#075aa8rgb(7 90 168)hsl(209 92% 34%)oklch(46.9% 0.144 253.7)5.15 AA
洋紅color5#a92d87rgb(169 45 135)hsl(316 58% 42%)oklch(51.9% 0.185 341.2)4.58 AA
青color6#00748argb(0 116 138)hsl(190 100% 27%)oklch(51.5% 0.092 217.1)4.05 AA 大字體
白color7#5b5960rgb(91 89 96)hsl(257 4% 36%)oklch(46.8% 0.011 299.0)5.14 AA
亮黑color8#555a61rgb(85 90 97)hsl(215 7% 36%)oklch(46.6% 0.013 256.7)5.18 AA
亮紅color9#c63d4drgb(198 61 77)hsl(353 55% 51%)oklch(56.3% 0.173 18.2)3.75 AA 大字體
亮綠color10#2b8243rgb(43 130 67)hsl(137 50% 34%)oklch(53.9% 0.127 149.1)3.57 AA 大字體
亮黃color11#765000rgb(118 80 0)hsl(41 100% 23%)oklch(46.1% 0.096 77.2)5.36 AA
亮藍color12#1267b8rgb(18 103 184)hsl(209 82% 40%)oklch(51.2% 0.148 252.9)4.28 AA 大字體
亮洋紅color13#b33792rgb(179 55 146)hsl(316 53% 46%)oklch(54.9% 0.186 340.3)4.03 AA 大字體
亮青color14#007c91rgb(0 124 145)hsl(189 100% 28%)oklch(54.0% 0.095 215.0)3.64 AA 大字體
亮白color15#4a4d52rgb(74 77 82)hsl(218 5% 31%)oklch(41.9% 0.009 260.7)6.32 AA

關於 Springfield Resident

Springfield Resident 採用暖色調的淺色背景(#ffdd32),預設前景色為 #084f8f。正文的 WCAG 對比度為 6.19:1(AA),12 種 ANSI 彩色槽位平均對比度 4.27:1,最低 3.57:1。

色板整體色彩飽和度適中,其中紅色為 #b83245、綠色為 #237a3b、藍色為 #075aa8、洋紅為 #a92d87。

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

與 Springfield Resident 相似的配色

資料來源:iTerm2 Color Schemes (MIT)