Skip to main content
Coding Theme

HearthCode for Obsidian

HearthCode by HearthCode is an Obsidian theme with dark and light modes and 1.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 “HearthCode” 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/HearthCode/theme.css
.obsidian/themes/HearthCode/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1b1d1a
Secondary background#191815
Border#3c3a32
Text#d2bea2
Muted text#a99983
Text accent#82b8e0
Accent background#82b8e0
Selection background#cb93222e
Highlight background#cb932257
Code background#262723e6
Code text#c3bfb9
H1#d4b84f
H2#93ce75
H3#8ebb7f

Light

Background#e7e5d8
Secondary background#d4d1c4
Border#c3c0b5
Text#342d28
Muted text#47413b
Text accent#2d5688
Accent background#2d5688
Selection background#b8791126
Highlight background#b8791157
Code background#d1cdc1e6
Code text#46423d
H1#83640f
H2#3e752b
H3#46703f

Contrast — Dark

A neutral, muted dark palette anchored on #1B1D1A, pairing note text (#D2BEA2) at 9.39:1 (AAA). 13 of 14 graded roles clear WCAG AA (4.5:1+); Faint (#685F52, 2.70:1) sits below 4.5:1 for softer contrast.

Background

#1B1D1A

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2heading text in a note
  • H3heading text in a note
  • H4heading text in a note
  • H5heading text in a note
  • H6heading text in a note
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Dark
Temperature
Neutral
Saturation
Muted
  • Note

    #D2BEA2

    9.39:1AAA

  • Muted

    #A99983

    6.11:1AA

  • Faint

    #685F52

    2.70:1Fail

  • H1

    #D4B84F

    8.70:1AAA

  • H2

    #93CE75

    9.15:1AAA

  • H3

    #8EBB7F

    7.73:1AAA

  • H4

    #CAA46C

    7.30:1AAA

  • H5

    #77A7D2

    6.66:1AA

  • H6

    #A1927E

    5.59:1AA

  • Accent

    #82B8E0

    7.98:1AAA

  • Code

    #C3BFB9on #262723E6

    8.31:1AAA

  • Selection

    #D2BEA2on #CB93222E

    6.99:1AA

  • Highlight

    #D2BEA2on #CB932257

    5.09:1AA

  • On accent

    #191815on #82B8E0

    8.35: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 warm, balanced light palette anchored on #E7E5D8, pairing note text (#342D28) at 10.69:1 (AAA). 11 of 14 graded roles clear WCAG AA (4.5:1+); Faint (#7F7A71, 3.37:1), H1 (#83640F, 4.37:1), and H2 (#3E752B, 4.38:1) sit below 4.5:1 for softer contrast.

Background

#E7E5D8

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1heading text in a note
  • H2heading text in a note
  • H3heading text in a note
  • H4heading text in a note
  • H5heading text in a note
  • H6heading text in a note
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Light
Temperature
Warm
Saturation
Balanced
  • Note

    #342D28

    10.69:1AAA

  • Muted

    #47413B

    7.95:1AAA

  • Faint

    #7F7A71

    3.37:1Fail

  • H1

    #83640F

    4.37:1Fail

  • H2

    #3E752B

    4.38:1Fail

  • H3

    #46703F

    4.54:1AA

  • H4

    #7E5A2A

    4.90:1AA

  • H5

    #1768A6

    4.65:1AA

  • H6

    #615950

    5.43:1AA

  • Accent

    #2D5688

    5.93:1AA

  • Code

    #46423Don #D1CDC1E6

    6.41:1AA

  • Selection

    #342D28on #B8791126

    9.27:1AAA

  • Highlight

    #342D28on #B8791157

    7.64:1AAA

  • On accent

    #FAF5EFon #2D5688

    6.92:1AA

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.