- 背景色
- #101216
- 前景色
- #8b949e
- 文字对比度
- 6.10:1AA
- 强调色对比度
- 7.21:1最低 3.54
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
GitHub Dark 的配置文件
16 种格式,都从同一份色板生成
GitHub Dark
存到 ~/.config/ghostty/themes/GitHub Dark,再在 config 或 config.ghostty 里写 theme = GitHub Dark
# Theme: GitHub Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/github-dark?format=ghostty
palette = 0=#000000
palette = 1=#f78166
palette = 2=#56d364
palette = 3=#e3b341
palette = 4=#6ca4f8
palette = 5=#db61a2
palette = 6=#2b7489
palette = 7=#ffffff
palette = 8=#4d4d4d
palette = 9=#f78166
palette = 10=#56d364
palette = 11=#e3b341
palette = 12=#6ca4f8
palette = 13=#db61a2
palette = 14=#2b7489
palette = 15=#ffffff
background = #101216
foreground = #8b949e
cursor-color = #c9d1d9
cursor-text = #101216
selection-background = #3b5070
selection-foreground = #ffffff
GitHub Dark 色板
关于 GitHub Dark
GitHub Dark 采用中性色调的深色背景(#101216),默认前景色为 #8b949e。正文的 WCAG 对比度为 6.10:1(AA),12 种 ANSI 彩色槽位平均对比度 7.21:1,最低 3.54:1。
色板整体色彩饱和度适中,其中红色为 #f78166、绿色为 #56d364、蓝色为 #6ca4f8、品红为 #db61a2。该配色归属 GitHub 主题系列。
支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。
与 GitHub Dark 相似的配色
数据来源:iTerm2 Color Schemes (MIT)