Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

GitHubDHC

Scott KirvanScott Kirvan12k downloads

Style your vault with GitHub’s Dark High Contrast and Light Default themes, built on Primer colors with WCAG 2.2 AA text contrast and colorblind palettes.

Add to Obsidian
GitHubDHC screenshot
  • Overview
  • Scorecard
  • Updates12
promo

GitHubDHC

Style your Obsidian vault with GitHub’s Dark High Contrast and Light Default themes, built on Primer colors with WCAG 2.2 AA text contrast and colorblind palettes.

Report Bug · Request Feature

 

I do a lot of writing in Markdown, mostly for things that I'm doing up on GitHub. (Obsidian is an great editor for this). I was running into some frustration with the formatting not mapping really well between Obsidian and GitHub, when I thought, "there has to be a theme for this!" I found @krios2146's awesome Obsidian GIthub Theme.

It was close, but not really the way my GitHub looks (I use the GitHub Dark High Contrast theme when I'm working online), so I decided to start hacking the css a bit to see how close I could get. The look of GitHubDHC is different enough from the original theme that I decided to start a new fork based on Vladimir's really nicely done Obsidian GitHub Theme -- it's worth checking out - he did all the initial work and the Kanban theme'ing - it's really good.

Features (v2.0)

  • Dual Theme Support: Full support for both Dark High Contrast and Light Default themes
  • Accurate GitHub Colors: Uses official GitHub Primer color primitives for authentic appearance
  • Enhanced UI Components (for settings dialog, Obsidian UI, etc.):
    • Form elements (dropdowns, inputs) now match GitHub styling
  • GitHub-Style Callouts: GitHub's NOTE, TIP, IMPORTANT, WARNING and CAUTION alerts in GitHub's own colours, in dark and light mode
  • Improved Typography: Bold navigation items and better text hierarchy
  • Accessible Contrast (WCAG AA): Text is easy to read in both themes. See Accessibility
  • Colorblind Variants: Protanopia & Deuteranopia and Tritanopia variants built on GitHub's own colorblind palettes
  • Plugin Support: Styled for Kanban, and checked with Dataview, Tasks, Excalidraw, Iconize and Notebook Navigator

Screenshots

Installation

Obsidian Marketplace (Recommended)

  1. Open the Settings in Obsidian
  2. Navigate to Appearances tab under Options
  3. Choose your Base color scheme: Dark for GitHub Dark High Contrast, Light for GitHub Light Default, or Adapt to system to switch with your operating system
  4. Under the Themes section, click on the Manage button across from Themes
  5. Search for GitHubDHC in the Filter text input
  6. Click Use and then you're done! 🎉

Manual Install

  1. Download and unzip (or clone) this repo into your vault's /.obsidian/themes directory (if that directly doesn't exist yet, create it)
  2. Open Settings in Obsidian
  3. Navigate to the  Appearances tab under Options
  4. Under the Themes section, click on the Manage button across from Themes
  5. Search for GitHubDHC in the Filter text input
  6. Click the reset button for the Accent color, and set your preferred Zoom level.
  7. That's it! You're set up - Enjoy!

Theme Settings

Theme settings can be found in the Style Settings plugin.

Current settings include:

  • Header colors
  • On/Off kanban styles
  • On/Off callout styles
  • Colorblind colorscheme variants

Accessibility

GitHubDHC meets the WCAG 2.2 Level AA contrast requirements for text, in both Dark High Contrast and Light Default:

  • Readable text everywhere: body text, headings, code, callouts, tags, menus, settings, search and sidebars all reach at least 4.5:1 contrast (3:1 for large text), the AA minimum (SC 1.4.3).
  • Links you can spot: links are underlined, headings included, so they never rely on color alone (SC 1.4.1).
  • Everywhere you use Obsidian: reading view and live preview, Canvas, Bases, printing and right-to-left text, on desktop, phone and tablet.
  • Colorblind-friendly: both colorblind variants meet the same contrast bar.
  • True to GitHub: every color comes from GitHub's own Primer design system, the palette GitHub uses for its accessible themes.

Every change to the theme is checked against these requirements before it's released.

A theme can only control its own colors, so a few things are outside what it can guarantee: text drawn over images, an accent color you pick yourself in Obsidian's settings, and community plugins other than those listed above.

Feedback

For any bugs or ideas for new features, please submit a New Issue . The best way to contribute directly is to make the changes yourself and submit them as a New Pull Request. Have a quesiton? Join the Obsidian Members Group (OMG) Discord server - I'm @cptvideo - reach out and say, "hi!" 👋

Credits

A huge thank you and all creds due to @krios2146 and his Obsidian GitHub Theme.

Vladimir Kidyaev (2022-2023)
This code includes modifications by Scott Kirvan. Modifications (c) 2026 Scott Kirvan
Contributors: @saberzero1 (Obsidian community reviewer)

The QA audit in qa/ is adapted from Riccardo Bartoli's QA harness for the Tela theme (MIT, see qa/LICENSE-tela), described in the post How I check every screen of my Obsidian theme. Thank you, Riccardo! Contrast checking uses axe-core by Deque Systems.

Project Link: https://github.com/ScottKirvan/GitHubDHC
If you're writing markdown, and not using Obsidian, check it out: https://obsidian.md/

CHANGELOG

HealthExcellent
ReviewPassed
About
Bring GitHub’s Dark High Contrast and Light Default themes to your vault, built on official Primer colors so your notes match how they render on GitHub. Text meets WCAG 2.2 Level AA contrast in both modes, and links are always underlined so they never rely on color alone. This holds across reading view, live preview, Canvas, Bases, search, menus, settings, and print—on desktop, phone, and tablet. Includes native colors for GitHub alerts (`NOTE`, `TIP`, `IMPORTANT`, `WARNING`, and `CAUTION`), syntax-highlighted code blocks, and Primer-styled forms, buttons, and typography. Provides protanopia, deuteranopia, and tritanopia palettes, gives Kanban boards a GitHub Projects look, and is tested with Dataview, Tasks, Excalidraw, Iconize, and Notebook Navigator. Customize headings, callouts, and boards via Style Settings.
Details
Current version
2.3.3
Last updated
7 days ago
Created
4 years ago
Updates
12 releases
Downloads
12k
License
MIT
Report bugRequest featureReport theme
Sponsor
Ko-fi
GitHub Sponsors
Author
Scott KirvanScott Kirvanscottkirvan
GitHubscottkirvan
scottkirvan
  1. Community
  2. Themes
  3. GitHubDHC

Related themes

Minimal screenshot

Minimal

Wasp screenshot

Wasp

Things screenshot

Things

Border screenshot

Border

GitHub Theme screenshot

GitHub Theme

Catppuccin screenshot

Catppuccin

LYT Mode screenshot

LYT Mode

Cupertino screenshot

Cupertino

Blue Topaz screenshot

Blue Topaz

Shimmering Focus screenshot

Shimmering Focus