跳到主要內容

Tarot

Tarot 是一套深色終端機配色(柔和、冷色),背景色 #0e091d,文字色 #aa556f,對比度 3.9:1

取得設定檔
背景色
#0e091d
前景色
#aa556f
文字對比度
3.94:1AA 大字體
強調色對比度
5.07:1最低 3.39
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
❯

Tarot 的設定檔

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

Tarot

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

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

palette = 0=#0e091d
palette = 1=#c53253
palette = 2=#a68e5a
palette = 3=#ff6565
palette = 4=#6e6080
palette = 5=#a45782
palette = 6=#8c9785
palette = 7=#aa556f
palette = 8=#74316b
palette = 9=#c53253
palette = 10=#a68e5a
palette = 11=#ff6565
palette = 12=#6e6080
palette = 13=#a45782
palette = 14=#8c9785
palette = 15=#dc8f7c
background = #0e091d
foreground = #aa556f
cursor-color = #aa556f
cursor-text = #0e091d
selection-background = #301b31
selection-foreground = #aa556f

Tarot 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0e091drgb(14 9 29)hsl(255 53% 7%)oklch(15.9% 0.041 292.7)—
前景色foreground#aa556frgb(170 85 111)hsl(342 33% 50%)oklch(56.0% 0.115 2.1)3.94 AA 大字體
光標cursor#aa556frgb(170 85 111)hsl(342 33% 50%)oklch(56.0% 0.115 2.1)3.94 AA 大字體
光標文字cursorText#0e091drgb(14 9 29)hsl(255 53% 7%)oklch(15.9% 0.041 292.7)1.00 低於 AA
選取範圍selection#301b31rgb(48 27 49)hsl(297 29% 15%)oklch(26.0% 0.050 325.3)1.23 低於 AA
選取文字selectionText#aa556frgb(170 85 111)hsl(342 33% 50%)oklch(56.0% 0.115 2.1)3.94 AA 大字體
黑color0#0e091drgb(14 9 29)hsl(255 53% 7%)oklch(15.9% 0.041 292.7)1.00 低於 AA
紅color1#c53253rgb(197 50 83)hsl(347 60% 48%)oklch(55.2% 0.183 12.9)3.68 AA 大字體
綠color2#a68e5argb(166 142 90)hsl(41 30% 50%)oklch(65.6% 0.076 85.6)6.17 AA
黃color3#ff6565rgb(255 101 101)hsl(0 100% 70%)oklch(70.3% 0.188 23.3)6.79 AA
藍color4#6e6080rgb(110 96 128)hsl(266 14% 44%)oklch(51.4% 0.052 304.6)3.39 AA 大字體
洋紅color5#a45782rgb(164 87 130)hsl(326 31% 49%)oklch(56.1% 0.114 346.8)3.96 AA 大字體
青color6#8c9785rgb(140 151 133)hsl(97 8% 56%)oklch(66.2% 0.029 133.1)6.40 AA
白color7#aa556frgb(170 85 111)hsl(342 33% 50%)oklch(56.0% 0.115 2.1)3.94 AA 大字體
亮黑color8#74316brgb(116 49 107)hsl(308 41% 32%)oklch(42.7% 0.121 332.9)2.23 低於 AA
亮紅color9#c53253rgb(197 50 83)hsl(347 60% 48%)oklch(55.2% 0.183 12.9)3.68 AA 大字體
亮綠color10#a68e5argb(166 142 90)hsl(41 30% 50%)oklch(65.6% 0.076 85.6)6.17 AA
亮黃color11#ff6565rgb(255 101 101)hsl(0 100% 70%)oklch(70.3% 0.188 23.3)6.79 AA
亮藍color12#6e6080rgb(110 96 128)hsl(266 14% 44%)oklch(51.4% 0.052 304.6)3.39 AA 大字體
亮洋紅color13#a45782rgb(164 87 130)hsl(326 31% 49%)oklch(56.1% 0.114 346.8)3.96 AA 大字體
亮青color14#8c9785rgb(140 151 133)hsl(97 8% 56%)oklch(66.2% 0.029 133.1)6.40 AA
亮白color15#dc8f7crgb(220 143 124)hsl(12 58% 67%)oklch(72.4% 0.098 34.5)7.68 AAA

關於 Tarot

Tarot 採用冷色調的深色背景(#0e091d),預設前景色為 #aa556f。正文的 WCAG 對比度為 3.94:1(AA 大字體),12 種 ANSI 彩色槽位平均對比度 5.07:1,最低 3.39:1。

色板整體色彩飽和度適中,其中紅色為 #c53253、綠色為 #a68e5a、藍色為 #6e6080、洋紅為 #a45782。

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

與 Tarot 相似的配色

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