跳到主要內容

Terminal App

Terminal App 是一套深色終端機配色(純黑、鮮艷),背景色 #000000,文字色 #b6b6b6,對比度 10.4:1

取得設定檔
背景色
#000000
前景色
#b6b6b6
文字對比度
10.36:1AAA
強調色對比度
6.67:1最低 1.64
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
❯

Terminal App 的設定檔

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

Terminal App

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

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

palette = 0=#000000
palette = 1=#990000
palette = 2=#00a600
palette = 3=#999900
palette = 4=#0000b2
palette = 5=#b200b2
palette = 6=#00a6b2
palette = 7=#bfbfbf
palette = 8=#666666
palette = 9=#e50000
palette = 10=#00d900
palette = 11=#e5e500
palette = 12=#0000ff
palette = 13=#e500e5
palette = 14=#00e5e5
palette = 15=#e5e5e5
background = #000000
foreground = #b6b6b6
cursor-color = #b6b6b6
cursor-text = #000000
selection-background = #151515
selection-foreground = #b6b6b6

Terminal App 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#b6b6b6rgb(182 182 182)hsl(0 0% 71%)oklch(77.6% 0.000 0)10.36 AAA
光標cursor#b6b6b6rgb(182 182 182)hsl(0 0% 71%)oklch(77.6% 0.000 0)10.36 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)1.15 低於 AA
選取文字selectionText#b6b6b6rgb(182 182 182)hsl(0 0% 71%)oklch(77.6% 0.000 0)10.36 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#990000rgb(153 0 0)hsl(0 100% 30%)oklch(42.9% 0.176 29.2)2.35 低於 AA
綠color2#00a600rgb(0 166 0)hsl(120 100% 33%)oklch(62.8% 0.214 142.5)6.45 AA
黃color3#999900rgb(153 153 0)hsl(60 100% 30%)oklch(66.1% 0.144 109.8)6.91 AA
藍color4#0000b2rgb(0 0 178)hsl(240 100% 35%)oklch(34.5% 0.239 264.1)1.64 低於 AA
洋紅color5#b200b2rgb(178 0 178)hsl(300 100% 35%)oklch(53.6% 0.246 328.4)3.54 AA 大字體
青color6#00a6b2rgb(0 166 178)hsl(184 100% 35%)oklch(66.1% 0.113 203.9)7.10 AAA
白color7#bfbfbfrgb(191 191 191)hsl(0 0% 75%)oklch(80.5% 0.000 0)11.42 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)3.66 AA 大字體
亮紅color9#e50000rgb(229 0 0)hsl(0 100% 45%)oklch(57.9% 0.238 29.2)4.33 AA 大字體
亮綠color10#00d900rgb(0 217 0)hsl(120 100% 43%)oklch(76.7% 0.261 142.5)10.93 AAA
亮黃color11#e5e500rgb(229 229 0)hsl(60 100% 45%)oklch(89.2% 0.195 109.8)15.54 AAA
亮藍color12#0000ffrgb(0 0 255)hsl(240 100% 50%)oklch(45.2% 0.313 264.1)2.44 低於 AA
亮洋紅color13#e500e5rgb(229 0 229)hsl(300 100% 45%)oklch(64.7% 0.297 328.4)5.46 AA
亮青color14#00e5e5rgb(0 229 229)hsl(180 100% 45%)oklch(83.5% 0.142 194.8)13.34 AAA
亮白color15#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)16.67 AAA

關於 Terminal App

Terminal App 採用中性色調的深色背景(#000000),預設前景色為 #b6b6b6。正文的 WCAG 對比度為 10.36:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.67:1,最低 1.64:1。

色板整體色彩飽和度較高,其中紅色為 #990000、綠色為 #00a600、藍色為 #0000b2、洋紅為 #b200b2。

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

與 Terminal App 相似的配色

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