Skip to content

Feature: Add Github2 (Dark) style#350

Merged
schuyler merged 2 commits into
schuyler:mainfrom
withakay:main
Apr 3, 2026
Merged

Feature: Add Github2 (Dark) style#350
schuyler merged 2 commits into
schuyler:mainfrom
withakay:main

Conversation

@withakay

Copy link
Copy Markdown
Contributor

Adds a new style 'GitHub2 (Dark)' to Macdown 3000.

This is an approximation of the current github.com dark theme adapted from the Github2.css style already found in Macdown 3000.

This is an AI assisted change Opus 4.6 did the majority of the work, I then manually checked, formatted and hand tweaked some minor details related to the borders on the pre tag. I used Copilot to integrate the change.

Changes

  • New file: MacDown/Resources/Styles/Github2 (dark).css
    • Dark background (#0d1117) with light text (#e6edf3) matching GitHub's dark mode palette
    • Styled headings, blockquotes, tables, code blocks, kbd, mark, and inline code with dark-appropriate colors
    • Alternating table row shading (#0d1117 / #161b22)
    • Responsive width cap at 854px and print-safe overrides
Screenshot 2026-03-26 at 06 15 50

@schuyler schuyler merged commit 45aebc1 into schuyler:main Apr 3, 2026
5 checks passed
@schuyler

schuyler commented Apr 3, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants