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