跳到主要內容

Tempus Spring

Tempus Spring 是一套深色終端機配色(柔和、冷色),背景色 #283a37,文字色 #b5b8b7,對比度 6.0:1

取得設定檔
背景色
#283a37
前景色
#b5b8b7
文字對比度
6.00:1AA
強調色對比度
5.20:1最低 5.18
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
❯

Tempus Spring 的設定檔

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

Tempus Spring

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

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

palette = 0=#283a37
palette = 1=#ff8b5f
palette = 2=#5ec04d
palette = 3=#b0b01a
palette = 4=#39bace
palette = 5=#e99399
palette = 6=#36c08e
palette = 7=#99afae
palette = 8=#2a453d
palette = 9=#e19e00
palette = 10=#73be0d
palette = 11=#c6a843
palette = 12=#70afef
palette = 13=#d095e2
palette = 14=#3cbfaf
palette = 15=#b5b8b7
background = #283a37
foreground = #b5b8b7
cursor-color = #b5b8b7
cursor-text = #283a37
selection-background = #485754
selection-foreground = #b5b8b7

Tempus Spring 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#283a37rgb(40 58 55)hsl(170 18% 19%)oklch(33.2% 0.024 183.4)—
前景色foreground#b5b8b7rgb(181 184 183)hsl(160 2% 72%)oklch(78.0% 0.004 174.5)6.00 AA
光標cursor#b5b8b7rgb(181 184 183)hsl(160 2% 72%)oklch(78.0% 0.004 174.5)6.00 AA
光標文字cursorText#283a37rgb(40 58 55)hsl(170 18% 19%)oklch(33.2% 0.024 183.4)1.00 低於 AA
選取範圍selection#485754rgb(72 87 84)hsl(168 9% 31%)oklch(44.3% 0.019 181.9)1.58 低於 AA
選取文字selectionText#b5b8b7rgb(181 184 183)hsl(160 2% 72%)oklch(78.0% 0.004 174.5)6.00 AA
黑color0#283a37rgb(40 58 55)hsl(170 18% 19%)oklch(33.2% 0.024 183.4)1.00 低於 AA
紅color1#ff8b5frgb(255 139 95)hsl(16 100% 69%)oklch(75.5% 0.153 41.1)5.20 AA
綠color2#5ec04drgb(94 192 77)hsl(111 48% 53%)oklch(72.3% 0.179 140.8)5.21 AA
黃color3#b0b01argb(176 176 26)hsl(60 74% 40%)oklch(73.4% 0.154 109.7)5.18 AA
藍color4#39bacergb(57 186 206)hsl(188 60% 52%)oklch(72.9% 0.112 210.1)5.19 AA
洋紅color5#e99399rgb(233 147 153)hsl(356 66% 75%)oklch(75.3% 0.104 15.3)5.20 AA
青color6#36c08ergb(54 192 142)hsl(158 56% 48%)oklch(72.3% 0.138 164.1)5.19 AA
白color7#99afaergb(153 175 174)hsl(177 12% 64%)oklch(73.7% 0.024 193.3)5.20 AA
亮黑color8#2a453drgb(42 69 61)hsl(162 24% 22%)oklch(36.6% 0.036 173.6)1.15 低於 AA
亮紅color9#e19e00rgb(225 158 0)hsl(42 100% 44%)oklch(74.5% 0.155 78.3)5.19 AA
亮綠color10#73be0drgb(115 190 13)hsl(85 87% 40%)oklch(72.4% 0.199 132.3)5.20 AA
亮黃color11#c6a843rgb(198 168 67)hsl(46 53% 52%)oklch(73.9% 0.124 92.5)5.19 AA
亮藍color12#70afefrgb(112 175 239)hsl(210 80% 69%)oklch(73.7% 0.114 250.0)5.18 AA
亮洋紅color13#d095e2rgb(208 149 226)hsl(286 57% 74%)oklch(75.3% 0.125 318.1)5.19 AA
亮青color14#3cbfafrgb(60 191 175)hsl(173 52% 49%)oklch(73.1% 0.114 183.3)5.29 AA
亮白color15#b5b8b7rgb(181 184 183)hsl(160 2% 72%)oklch(78.0% 0.004 174.5)6.00 AA

關於 Tempus Spring

Tempus Spring 採用冷色調的深色背景(#283a37),預設前景色為 #b5b8b7。正文的 WCAG 對比度為 6.00:1(AA),12 種 ANSI 彩色槽位平均對比度 5.20:1,最低 5.18:1。

色板整體色彩飽和度適中,其中紅色為 #ff8b5f、綠色為 #5ec04d、藍色為 #39bace、洋紅為 #e99399。該配色歸屬 Tempus 主題系列。

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

與 Tempus Spring 相似的配色

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