跳到主要內容

Tin

Tin 是一套深色終端機配色(柔和、冷色),背景色 #2e2e35,文字色 #ffffff,對比度 13.5:1

取得設定檔
背景色
#2e2e35
前景色
#ffffff
文字對比度
13.48:1AAA
強調色對比度
3.80:1最低 1.82
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
❯

Tin 的設定檔

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

Tin

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

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

palette = 0=#000000
palette = 1=#8d534e
palette = 2=#4e8d53
palette = 3=#888d4e
palette = 4=#534e8d
palette = 5=#8d4e88
palette = 6=#4e888d
palette = 7=#ffffff
palette = 8=#000000
palette = 9=#b57d78
palette = 10=#78b57d
palette = 11=#b0b578
palette = 12=#7d78b5
palette = 13=#b578b0
palette = 14=#78b0b5
palette = 15=#ffffff
background = #2e2e35
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #2e2e35
selection-background = #5c5c62
selection-foreground = #ffffff

Tin 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2e2e35rgb(46 46 53)hsl(240 7% 19%)oklch(30.4% 0.012 285.6)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.48 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.48 AAA
光標文字cursorText#2e2e35rgb(46 46 53)hsl(240 7% 19%)oklch(30.4% 0.012 285.6)1.00 低於 AA
選取範圍selection#5c5c62rgb(92 92 98)hsl(240 3% 37%)oklch(47.7% 0.010 286.0)2.03 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.48 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.56 低於 AA
紅color1#8d534ergb(141 83 78)hsl(5 29% 43%)oklch(50.8% 0.078 25.5)2.23 低於 AA
綠color2#4e8d53rgb(78 141 83)hsl(125 29% 43%)oklch(58.6% 0.109 145.7)3.37 AA 大字體
黃color3#888d4ergb(136 141 78)hsl(65 29% 43%)oklch(62.4% 0.086 112.6)3.83 AA 大字體
藍color4#534e8drgb(83 78 141)hsl(245 29% 43%)oklch(45.9% 0.101 285.3)1.82 低於 AA
洋紅color5#8d4e88rgb(141 78 136)hsl(305 29% 43%)oklch(52.0% 0.115 330.0)2.30 低於 AA
青color6#4e888drgb(78 136 141)hsl(185 29% 43%)oklch(58.9% 0.061 202.8)3.36 AA 大字體
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.48 AAA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.56 低於 AA
亮紅color9#b57d78rgb(181 125 120)hsl(5 29% 59%)oklch(64.5% 0.071 24.9)3.96 AA 大字體
亮綠color10#78b57drgb(120 181 125)hsl(125 29% 59%)oklch(71.7% 0.102 146.4)5.59 AA
亮黃color11#b0b578rgb(176 181 120)hsl(65 29% 59%)oklch(75.4% 0.082 112.2)6.24 AA
亮藍color12#7d78b5rgb(125 120 181)hsl(245 29% 59%)oklch(60.2% 0.092 287.0)3.35 AA 大字體
亮洋紅color13#b578b0rgb(181 120 176)hsl(305 29% 59%)oklch(65.5% 0.107 329.6)4.03 AA 大字體
亮青color14#78b0b5rgb(120 176 181)hsl(185 29% 59%)oklch(72.0% 0.059 203.0)5.57 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.48 AAA

關於 Tin

Tin 採用冷色調的深色背景(#2e2e35),預設前景色為 #ffffff。正文的 WCAG 對比度為 13.48:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.80:1,最低 1.82:1。

色板整體色彩飽和度適中,其中紅色為 #8d534e、綠色為 #4e8d53、藍色為 #534e8d、洋紅為 #8d4e88。

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

與 Tin 相似的配色

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