- 背景色
- #111111
- 前景色
- #ffffff
- 文字對比度
- 18.88:1AAA
- 強調色對比度
- 8.44:1最低 2.87
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
Github Contrast 的設定檔
16 種格式,都從同一份色板產生
Github Contrast
存到 ~/.config/ghostty/themes/Github Contrast,再在 config 或 config.ghostty 裏寫 theme = Github Contrast
# Theme: Github Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/github-contrast?format=ghostty
palette = 0=#1e1e1e
palette = 1=#ba0e2e
palette = 2=#7385bc
palette = 3=#66c4c4
palette = 4=#e53d67
palette = 5=#cccccc
palette = 6=#5a6fad
palette = 7=#ffffff
palette = 8=#373737
palette = 9=#e61f44
palette = 10=#b8c1dd
palette = 11=#b0e0e0
palette = 12=#f197ad
palette = 13=#ffffff
palette = 14=#9eaacf
palette = 15=#ffffff
background = #111111
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #ffffff
selection-background = #008080
selection-foreground = #ffffff
Github Contrast 色板
關於 Github Contrast
Github Contrast 採用中性色調的深色背景(#111111),預設前景色為 #ffffff。正文的 WCAG 對比度為 18.88:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.44:1,最低 2.87:1。
色板整體色彩飽和度適中,其中紅色為 #ba0e2e、綠色為 #7385bc、藍色為 #e53d67、洋紅為 #cccccc。該配色歸屬 GitHub 主題系列。
支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。
與 Github Contrast 相似的配色
資料來源:Rainglow (MIT)