Skip to main content
Coding Theme

Rationale for Obsidian

Rationale by davidszp 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 “Rationale” 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/Rationale/theme.css
.obsidian/themes/Rationale/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#000000
Secondary background#000000
Border#3d3a36
Text#e8e4de
Muted text#a09a92
Text accent#b8956e
Accent background#b8956e
Selection background#b8956e33
Highlight background#b8956e40
Code background#252321
Code text#e8e4de
H1#e8e4de
H2#e8e4de
H3#e8e4de

Light

Background#faf8f5
Secondary background#e8e3db
Border#d4cec4
Text#3d3935
Muted text#6b6560
Text accent#8b7355
Accent background#8b7355
Selection background#8b735526
Highlight background#8b735533
Code background#f3f0eb
Code text#3d3935
H1#3d3935
H2#3d3935
H3#3d3935

Contrast — Dark

A neutral, muted dark palette anchored on #000000, pairing note text (#E8E4DE) at 16.58:1 (AAA). All 10 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#000000

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H4heading text in a note
  • H5–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

    #E8E4DE

    16.58:1AAA

  • Muted

    #A09A92

    7.53:1AAA

  • Faint

    #7A756E

    4.59:1AA

  • H1–H4

    #E8E4DE

    16.58:1AAA

  • H5–H6

    #A09A92

    7.53:1AAA

  • Accent

    #B8956E

    7.56:1AAA

  • Code

    #E8E4DEon #252321

    12.36:1AAA

  • Selection

    #E8E4DEon #B8956E33

    13.02:1AAA

  • Highlight

    #E8E4DEon #B8956E40

    11.82:1AAA

  • On accent

    #1E1C1Aon #B8956E

    6.11:1AA

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 #FAF8F5, pairing note text (#3D3935) at 10.79:1 (AAA). 7 of 10 graded roles clear WCAG AA (4.5:1+); Faint (#8A857E, 3.45:1), Accent (#8B7355, 4.23:1), and On accent (#FAF8F5, 4.23:1) sit below 4.5:1 for softer contrast.

Background

#FAF8F5

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H4heading text in a note
  • H5–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

    #3D3935

    10.79:1AAA

  • Muted

    #6B6560

    5.41:1AA

  • Faint

    #8A857E

    3.45:1Fail

  • H1–H4

    #3D3935

    10.79:1AAA

  • H5–H6

    #6B6560

    5.41:1AA

  • Accent

    #8B7355

    4.23:1Fail

  • Code

    #3D3935on #F3F0EB

    10.06:1AAA

  • Selection

    #3D3935on #8B735526

    9.06:1AAA

  • Highlight

    #3D3935on #8B735533

    8.52:1AAA

  • On accent

    #FAF8F5on #8B7355

    4.23:1Fail

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.