GitHub Dark

Themeby Primer @primerMITDark

Palette

A dark theme. It is offered on the Dark tab of Appearance > Theme, and the sun and moon button in the top bar switches between your dark and light choice.

Dark

Background#010409
Surface#0d1117
Text#e6edf3
Comment#8b949e
Accent#58a6ff
String#a5d6ff
Keyword#ff7b72
Function#d2a8ff
// Greets whoever opens the project.
fn greet(name: &str) -> String {
    format!("hello, {name}")
}

The file

github-dark.jsonRead only
1{2  "schemaVersion": 1,3  "id": "github-dark",4  "label": "GitHub Dark",5  "appearance": "dark",6  "description": "A port of GitHub's dark theme",7  "license": "MIT",8  "contributor": { "name": "Primer", "github": "primer" },9  "colors": {10    "canvas": "#010409",11    "card": "#0d1117",12    "head": "#161a20",13    "input": "#161a20",14    "hover": "#21262d",1516    "borderTint": "#e6edf3",17    "lineTint": "#e6edf3",18    "rail": "#26292e",1920    "text": "#e6edf3",21    "textMuted": "#8b949e",22    "textSubtle": "#6e7681",23    "textOnEmphasis": "#010409",2425    "accent": "#58a6ff",26    "accentSubtle": "#203651",2728    "danger": "#ff7b72",29    "dangerStrong": "#ff7b72",30    "attention": "#d29922",31    "attentionStrong": "#ffa657",32    "success": "#3fb950",33    "successStrong": "#3fb950",34    "info": "#39c5cf",35    "fillTint": "#6e7681",3637    "diffAdded": "#3fb950",38    "diffModified": "#d29922",39    "diffDeleted": "#ff7b72",4041    "diagError": "#ff7b72",42    "diagWarning": "#d29922",43    "diagInfo": "#58a6ff",44    "diagHint": "#6e7681",4546    "agentClaude": "#d97757",4748    "scrimTint": "#000000",49    "shadowTint": "#000000",50    "glowTint": "#d9a468",5152    "statusProgress": "#c084fc",53    "statusNeedsYou": "#fb7185",54    "statusIdle": "#2dd4bf",55    "statusRunning": "#7d8ba1",5657    "brand": "#d9a468",58    "brandStrong": "#d9bd85",59    "brandTint": "#c99653",60    "brandOn": "#4a3719",6162    "ansiCursor": "#e6edf3",63    "ansiSelectionTint": "#58a6ff",64    "ansiBlack": "#484f58",65    "ansiRed": "#ff7b72",66    "ansiGreen": "#3fb950",67    "ansiYellow": "#d29922",68    "ansiBlue": "#58a6ff",69    "ansiMagenta": "#bc8cff",70    "ansiCyan": "#39c5cf",71    "ansiWhite": "#b1bac4",72    "ansiBrightBlack": "#6e7681",73    "ansiBrightRed": "#ffa198",74    "ansiBrightGreen": "#56d364",75    "ansiBrightYellow": "#e3b341",76    "ansiBrightBlue": "#79c0ff",77    "ansiBrightMagenta": "#d2a8ff",78    "ansiBrightCyan": "#56d4dd",79    "ansiBrightWhite": "#ffffff",8081    "scaleRed": "#ff7b72",82    "scaleGreen": "#3fb950",83    "scaleBlue": "#58a6ff",84    "scaleYellow": "#d29922",85    "scaleSlate": "#6e7681",86    "scaleOrange": "#ffa657",87    "scalePurple": "#bc8cff",88    "scalePink": "#f778ba",89    "scaleSilver": "#8b949e",90    "scaleSteel": "#7c848f",91    "scaleGraphite": "#7c8590",9293    "synKeyword": "#ff7b72",94    "synControl": "#ff7b72",95    "synOperator": "#ff7b72",96    "synString": "#a5d6ff",97    "synEscape": "#7ee787",98    "synRegexp": "#a5d6ff",99    "synComment": "#8b949e",100    "synNumber": "#79c0ff",101    "synConstant": "#79c0ff",102    "synFunction": "#d2a8ff",103    "synMethod": "#d2a8ff",104    "synType": "#ffa657",105    "synClass": "#ffa657",106    "synNamespace": "#ffa657",107    "synVariable": "#e6edf3",108    "synProperty": "#79c0ff",109    "synParameter": "#e6edf3",110    "synTag": "#7ee787",111    "synAttribute": "#79c0ff",112    "synPunctuation": "#e6edf3"113  }114}