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