跳到主要內容

Thermal Receipt

Thermal Receipt 是一套淺色終端機配色,背景色 #fffdf7,文字色 #191919,對比度 17.3:1

取得設定檔
背景色
#fffdf7
前景色
#191919
文字對比度
17.28:1AAA
強調色對比度
8.70:1最低 7.37
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
❯

Thermal Receipt 的設定檔

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

Thermal Receipt

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

更多 Ghostty 配色
原始檔
# Theme: Thermal Receipt (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/thermal-receipt?format=ghostty

palette = 0=#292929
palette = 1=#821f1f
palette = 2=#125a31
palette = 3=#654b00
palette = 4=#17458c
palette = 5=#5e2f86
palette = 6=#005765
palette = 7=#393939
palette = 8=#464646
palette = 9=#8e2525
palette = 10=#176137
palette = 11=#6c5000
palette = 12=#123a78
palette = 13=#66368e
palette = 14=#004a57
palette = 15=#414141
background = #fffdf7
foreground = #191919
cursor-color = #333333
cursor-text = #fffdf7
selection-background = #e7e3da
selection-foreground = #191919

Thermal Receipt 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fffdf7rgb(255 253 247)hsl(45 100% 98%)oklch(99.4% 0.008 91.5)—
前景色foreground#191919rgb(25 25 25)hsl(0 0% 10%)oklch(21.3% 0.000 0)17.28 AAA
游標cursor#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)12.42 AAA
游標文字cursorText#fffdf7rgb(255 253 247)hsl(45 100% 98%)oklch(99.4% 0.008 91.5)1.00 低於 AA
選取範圍selection#e7e3dargb(231 227 218)hsl(42 21% 88%)oklch(91.6% 0.013 86.8)1.26 低於 AA
選取文字selectionText#191919rgb(25 25 25)hsl(0 0% 10%)oklch(21.3% 0.000 0)17.28 AAA
黑color0#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)14.30 AAA
紅color1#821f1frgb(130 31 31)hsl(0 61% 32%)oklch(40.4% 0.134 25.6)9.54 AAA
綠color2#125a31rgb(18 90 49)hsl(146 67% 21%)oklch(41.4% 0.097 153.1)8.15 AAA
黃color3#654b00rgb(101 75 0)hsl(45 100% 20%)oklch(42.9% 0.088 85.7)8.07 AAA
藍color4#17458crgb(23 69 140)hsl(216 72% 32%)oklch(40.3% 0.128 259.2)9.11 AAA
洋紅color5#5e2f86rgb(94 47 134)hsl(272 48% 35%)oklch(41.1% 0.142 305.9)9.27 AAA
青color6#005765rgb(0 87 101)hsl(188 100% 20%)oklch(42.0% 0.074 213.3)8.09 AAA
白color7#393939rgb(57 57 57)hsl(0 0% 22%)oklch(34.5% 0.000 0)11.35 AAA
亮黑color8#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)9.28 AAA
亮紅color9#8e2525rgb(142 37 37)hsl(0 59% 35%)oklch(43.3% 0.141 25.3)8.46 AAA
亮綠color10#176137rgb(23 97 55)hsl(146 62% 24%)oklch(43.7% 0.099 153.6)7.37 AAA
亮黃color11#6c5000rgb(108 80 0)hsl(44 100% 21%)oklch(44.9% 0.092 85.2)7.41 AAA
亮藍color12#123a78rgb(18 58 120)hsl(216 74% 27%)oklch(36.0% 0.115 259.3)10.85 AAA
亮洋紅color13#66368ergb(102 54 142)hsl(273 45% 38%)oklch(43.7% 0.143 306.5)8.31 AAA
亮青color14#004a57rgb(0 74 87)hsl(189 100% 17%)oklch(37.6% 0.066 214.5)9.75 AAA
亮白color15#414141rgb(65 65 65)hsl(0 0% 25%)oklch(37.5% 0.000 0)10.04 AAA

關於 Thermal Receipt

Thermal Receipt 採用中性色調的淺色背景(#fffdf7),預設前景色為 #191919。內文的 WCAG 對比度為 17.28:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.70:1,最低 7.37:1。

色票整體色彩彩度適中,其中紅色為 #821f1f、綠色為 #125a31、藍色為 #17458c、洋紅為 #5e2f86。

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

與 Thermal Receipt 相似的配色

資料來源:iTerm2 Color Schemes (MIT)