Skip to content

Add GitHub Tomorrow dark preview theme #106

Closed

Description

@schuyler

Pull Request

Based on PR #1289 from MacDownApp/macdown by @elsiehupp
MacDownApp/macdown#1289

Description

"GitHub Tomorrow" is a preview-pane theme that combines the basic formatting of the GitHub preview-pane theme with the colors of the Tomorrow edit-pane theme.

Problem

There is currently no dark-mode preview-pane theme that looks nice with the Tomorrow+ edit-pane theme.

Solution

Create a new preview theme that:

  • Uses GitHub formatting structure
  • Uses Tomorrow color scheme
  • Has a slightly lighter preview-pane background than the edit-pane to provide contrast
  • Works well with Tomorrow-themed inline code blocks

Benefits

  • Better dark mode experience for users
  • Consistent color scheme between editor and preview panes
  • Enhanced readability in low-light conditions
  • Popular color scheme (Tomorrow/Tomorrow Night)

Implementation Notes

  • Add new CSS theme file for preview pane
  • Theme selector in preferences
  • Test with various Markdown elements (code blocks, headers, lists, etc.)
  • Ensure contrast is sufficient for accessibility
  • Verify it works with syntax highlighting

Priority

MEDIUM - User experience enhancement

Labels

enhancement, ui, themes

Activity

  1. schuyler commented on Jan 13, 2026

    @schuyler
    OwnerAuthor

    Requirements Clarification

    Based on discussion, here are the confirmed requirements for this feature:

    Scope

    • CSS-only addition - Single new file, no code changes required
    • Theme will be auto-discovered by the existing theme system

    Implementation Details

    • File: MacDown/Resources/Styles/GitHub Tomorrow.css
    • Color source: Tomorrow editor theme (MacDown/Resources/Themes/Tomorrow.style)
    • Preview background: #464646 (lighter than editor's #2d2d2d for visual contrast)

    Tomorrow Color Palette (from Tomorrow.style)

    Element Color
    Background #2d2d2d
    Foreground #cccccc
    Headings #66cccc
    Emphasis #ffcc66
    Strong #f99157
    Links #99cc99
    Code #999999
    List markers #6699cc
    Blockquote #f2777a

    Testing

    • No TDD - this is a visual/CSS addition
    • CI validates build succeeds
    • Manual testing for visual verification

    Reference

    Based on PR #1289 from MacDownApp/macdown by @elsiehupp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions