Skip to main content
Coding Theme

GitHub Flavored Markdown for Obsidian

GitHub Flavored Markdown by Frankie is an Obsidian theme with dark and light modes and 2.2K downloads.

Preview

Theme preview

An Obsidian window rendered with this theme’s palette.

Obsidian desktop preview

Syntax colors, highlights, links, tags, and checkboxes use this theme's palette; window chrome and layout follow Obsidian's default stylesheet.

Install

Install in Obsidian

  1. Open Settings → Appearance → Themes, then Manage.
  2. Search for “GitHub Flavored Markdown” and install it. Obsidian keeps community themes updated.
  3. Or create the folder below and save both theme.css and manifest.json in it, then reload Obsidian.
Theme folder
.obsidian/themes/GitHub Flavored Markdown/theme.css
.obsidian/themes/GitHub Flavored Markdown/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#0d1117
Secondary background#161b22
Border#30363d
Text#c9d1d9
Muted text#8b949e
Text accent#4493f8
Accent background#4493f8
Selection background#4493f866
Highlight background#ff000066
Red#fdac54
Orange#ffa198
Yellow#d29922
Green#a5d6ff
Cyan#a5d6ff
Blue#6cb6ff
Purple#d2a8ff
Pink#f778ba
Code background#161b22
Code text#8b949e
H1#c9d1d9
H2#c9d1d9
H3#c9d1d9
Base 00#0d1117
Base 10#161b22
Base 20#161b22
Base 25#010409
Base 30#30363d
Base 35#21262d
Base 40#30363d
Base 50#6e7681
Base 60#999999
Base 70#8b949e
Base 100#c9d1d9

Light

Background#ffffff
Secondary background#f6f8fa
Border#d0d7de
Text#1f2328
Muted text#57606a
Text accent#0969da
Selection background#0969da33
Highlight background#ff000066
Red#b35900
Orange#fa4549
Yellow#bd8e37
Green#218bff
Cyan#2db7b5
Blue#086ddd
Purple#876be0
Pink#c32b74
Code background#f6f8fa
Code text#57606a
H1#1f2328
H2#1f2328
H3#1f2328
Base 00#ffffff
Base 05#fcfcfc
Base 10#f6f8fa
Base 20#f6f8fa
Base 25#f6f8fa
Base 30#d0d7de
Base 35#d4d4d4
Base 40#bdbdbd
Base 50#6e7781
Base 60#707070
Base 70#57606a
Base 100#1f2328

Contrast — Dark

A cool, balanced dark palette anchored on #0D1117, pairing note text (#C9D1D9) at 12.26:1 (AAA). 7 of 8 graded roles clear WCAG AA (4.5:1+); Faint (#6E7681, 4.11:1) sits below 4.5:1 for softer contrast.

Background

#0D1117

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H6heading text in a note
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #C9D1D9

    12.26:1AAA

  • Muted

    #8B949E

    6.15:1AA

  • Faint

    #6E7681

    4.11:1Fail

  • H1–H6

    #C9D1D9

    12.26:1AAA

  • Accent

    #4493F8

    6.10:1AA

  • Code

    #8B949Eon #161B22

    5.62:1AA

  • Selection

    #C9D1D9on #4493F866

    6.29:1AA

  • Highlight

    #C9D1D9on #FF000066

    7.95:1AAA

AA is 4.5:1 for normal text, 3:1 only for large text (at least 24px, or 18.7px bold). AAA is 7:1 (4.5:1 for large text). Code and terminal text are normal text, so anything under 4.5:1 fails.

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.

Contrast — Light

A neutral, muted light palette anchored on #FFFFFF, pairing note text (#1F2328) at 15.79:1 (AAA). All 8 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#FFFFFF

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H6heading text in a note
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Note

    #1F2328

    15.79:1AAA

  • Muted

    #57606A

    6.38:1AA

  • Faint

    #6E7781

    4.54:1AA

  • H1–H6

    #1F2328

    15.79:1AAA

  • Accent

    #0969DA

    5.19:1AA

  • Code

    #57606Aon #F6F8FA

    6.00:1AA

  • Selection

    #1F2328on #0969DA33

    11.84:1AAA

  • Highlight

    #1F2328on #FF000066

    7.72:1AAA

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded.