跳到正文

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/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)