跳到主要內容

Tempus Night

Tempus Night 是一套深色終端機配色,背景色 #1a1a1a,文字色 #e0e0e0,對比度 13.2:1

取得設定檔
背景色
#1a1a1a
前景色
#e0e0e0
文字對比度
13.18:1AAA
強調色對比度
8.19:1最低 8.11
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 Night 的設定檔

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

Tempus Night

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

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

palette = 0=#1a1a1a
palette = 1=#ff929f
palette = 2=#5fc940
palette = 3=#c5b300
palette = 4=#5fb8ff
palette = 5=#ef91df
palette = 6=#1dc5c3
palette = 7=#c4bdaf
palette = 8=#242536
palette = 9=#f69d6a
palette = 10=#88c400
palette = 11=#d7ae00
palette = 12=#8cb4f0
palette = 13=#de99f0
palette = 14=#00ca9a
palette = 15=#e0e0e0
background = #1a1a1a
foreground = #e0e0e0
cursor-color = #e0e0e0
cursor-text = #1a1a1a
selection-background = #454545
selection-foreground = #e0e0e0

Tempus Night 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA
游標cursor#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA
游標文字cursorText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
選取範圍selection#454545rgb(69 69 69)hsl(0 0% 27%)oklch(39.0% 0.000 0)1.82 低於 AA
選取文字selectionText#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低於 AA
紅color1#ff929frgb(255 146 159)hsl(353 100% 79%)oklch(77.9% 0.132 13.0)8.18 AAA
綠color2#5fc940rgb(95 201 64)hsl(106 56% 52%)oklch(74.5% 0.200 139.5)8.22 AAA
黃color3#c5b300rgb(197 179 0)hsl(55 100% 39%)oklch(75.8% 0.159 102.2)8.14 AAA
藍color4#5fb8ffrgb(95 184 255)hsl(207 100% 69%)oklch(75.7% 0.134 245.0)8.11 AAA
洋紅color5#ef91dfrgb(239 145 223)hsl(310 75% 75%)oklch(77.9% 0.149 333.4)8.11 AAA
青color6#1dc5c3rgb(29 197 195)hsl(179 74% 44%)oklch(74.7% 0.124 193.5)8.14 AAA
白color7#c4bdafrgb(196 189 175)hsl(40 15% 73%)oklch(80.0% 0.021 84.6)9.32 AAA
亮黑color8#242536rgb(36 37 54)hsl(237 20% 18%)oklch(27.1% 0.031 281.5)1.15 低於 AA
亮紅color9#f69d6argb(246 157 106)hsl(22 89% 69%)oklch(77.5% 0.126 49.9)8.25 AAA
亮綠color10#88c400rgb(136 196 0)hsl(78 100% 38%)oklch(75.1% 0.197 128.4)8.24 AAA
亮黃color11#d7ae00rgb(215 174 0)hsl(49 100% 42%)oklch(76.6% 0.157 91.7)8.24 AAA
亮藍color12#8cb4f0rgb(140 180 240)hsl(216 77% 75%)oklch(76.4% 0.097 258.3)8.21 AAA
亮洋紅color13#de99f0rgb(222 153 240)hsl(288 74% 77%)oklch(78.0% 0.140 319.2)8.22 AAA
亮青color14#00ca9argb(0 202 154)hsl(166 100% 40%)oklch(74.5% 0.151 168.0)8.22 AAA
亮白color15#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA

關於 Tempus Night

Tempus Night 採用中性色調的深色背景(#1a1a1a),預設前景色為 #e0e0e0。內文的 WCAG 對比度為 13.18:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.19:1,最低 8.11:1。

色票整體色彩彩度適中,其中紅色為 #ff929f、綠色為 #5fc940、藍色為 #5fb8ff、洋紅為 #ef91df。此配色歸屬 Tempus 主題系列。

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

與 Tempus Night 相似的配色

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