Skip to content

Add GitHub Dark Default editor theme#465

Merged
schuyler merged 1 commit into
schuyler:mainfrom
sks3691:add-github-dark-default-theme
Jun 22, 2026
Merged

Add GitHub Dark Default editor theme#465
schuyler merged 1 commit into
schuyler:mainfrom
sks3691:add-github-dark-default-theme

Conversation

@sks3691

@sks3691 sks3691 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds GitHub Dark Default color scheme as an editor theme for MacDown 3000.

The colors are ported from the official GitHub VS Code extension (primer/github-vscode-theme), using Primer primitives for the dark variant.

Color mapping

Token Color Source
Background #0d1117 scale.gray[9]
Foreground #e6edf3 fg.default
Headings (H1–H6) #79c0ff scale.blue[2]
Links #2f81f7 accent.fg
Code / Verbatim #79c0ff on #161b22 scale.blue[2]
Blockquote #7ee787 scale.green[1]
Comments / HTML #8b949e fg.muted
List bullets #ffa657 scale.orange[3]
Images #7ee787 scale.green[1]
Selection #264f78 VS Code selection blue

Files added

  • MacDown/Resources/Themes/GitHub Dark Default.style — standard (no font sizes)
  • MacDown/Resources/Themes/GitHub Dark Default+.style — with font sizes (H1: 24px → H6: 11px)

Port GitHub's Dark Default color scheme from the official VS Code
extension (primer/github-vscode-theme) to MacDown 3000's style format.

Color mapping based on Primer primitives for the dark variant:
- Background: #0d1117 (scale.gray[9])
- Foreground: #e6edf3 (fg.default)
- Headings: #79c0ff (scale.blue[2])
- Links: #2f81f7 (accent.fg)
- Code: #79c0ff with #161b22 background
- Blockquote: #7ee787 (scale.green[1])
- Comments/HTML: #8b949e (fg.muted)

Includes both standard and font-size variant (GitHub Dark Default+).

Co-authored-by: Copilot <[email protected]>
@schuyler

Copy link
Copy Markdown
Owner

Thanks for this @sks3691 !

@schuyler schuyler merged commit 083ab7b into schuyler:main Jun 22, 2026
5 checks passed
@schuyler schuyler added the rc-pending Included in a release candidate awaiting validation label Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rc-pending Included in a release candidate awaiting validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants