- 背景色
- #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/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)