Skip to main content
Coding Theme

Sanctum for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#000000
Secondary background#000000
Border#262625
Text#c7c5c2
Muted text#8e8c8b
Selection background#66996180
Highlight background#669961b3
Code text#8e8c8b

Light

Background#fdfefe
Secondary background#fdfefe
Border#e2e0dc
Text#161616
Muted text#545151
Selection background#f68d4580
Highlight background#f68d45b3
Code background#e2e0dc80
Code text#545151

Contrast — Dark

A neutral, muted dark palette anchored on #000000, pairing note text (#C7C5C2) at 12.19:1 (AAA). 4 of 6 graded roles clear WCAG AA (4.5:1+); Faint (#3A3838, 1.80:1) and Highlight (#C7C5C2, 3.50:1) sit below 4.5:1 for softer contrast.

Background

#000000

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

    #C7C5C2

    12.19:1AAA

  • Muted

    #8E8C8B

    6.27:1AA

  • Faint

    #3A3838

    1.80:1Fail

  • Code

    #8E8C8B

    6.27:1AA

  • Selection

    #C7C5C2on #66996180

    5.43:1AA

  • Highlight

    #C7C5C2on #669961B3

    3.50:1Fail

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. Not set here: Accent.

Contrast — Light

A cool, balanced light palette anchored on #FDFEFE, pairing note text (#161616) at 17.91:1 (AAA). 5 of 6 graded roles clear WCAG AA (4.5:1+); Faint (#A9A8A5, 2.35:1) sits below 4.5:1 for softer contrast.

Background

#FDFEFE

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

    #161616

    17.91:1AAA

  • Muted

    #545151

    7.77:1AAA

  • Faint

    #A9A8A5

    2.35:1Fail

  • Code

    #545151on #E2E0DC80

    6.82:1AA

  • Selection

    #161616on #F68D4580

    11.69:1AAA

  • Highlight

    #161616on #F68D45B3

    9.81: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. Not set here: Accent.