Skip to main content
Coding Theme

Cairn for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#262019
Secondary background#1e1a14
Border#443a2b
Text#e8dcc4
Muted text#b0a086
Selection background#d9714f38
Highlight background#f8dc4c5c
Code background#201b15
Code text#cdb083

Light

Background#fbf5e6
Secondary background#f3ecdd
Border#cbb795
Text#3f3528
Muted text#6e5f4c
Selection background#bf5b3d2e
Highlight background#f8dc4ca6
Code background#f5ecd8
Code text#5a432c

Contrast — Dark

A warm, balanced dark palette anchored on #262019, pairing note text (#E8DCC4) at 11.86:1 (AAA). 4 of 6 graded roles clear WCAG AA (4.5:1+); Faint (#857759, 3.66:1) and Highlight (#E8DCC4, 4.33:1) sit below 4.5:1 for softer contrast.

Background

#262019

  • 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
Warm
Saturation
Balanced
  • Note

    #E8DCC4

    11.86:1AAA

  • Muted

    #B0A086

    6.30:1AA

  • Faint

    #857759

    3.66:1Fail

  • Code

    #CDB083on #201B15

    8.24:1AAA

  • Selection

    #E8DCC4on #D9714F38

    8.60:1AAA

  • Highlight

    #E8DCC4on #F8DC4C5C

    4.33: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 warm, vivid light palette anchored on #FBF5E6, pairing note text (#3F3528) at 11.02:1 (AAA). 5 of 6 graded roles clear WCAG AA (4.5:1+); Faint (#9A8A72, 3.08:1) sits below 4.5:1 for softer contrast.

Background

#FBF5E6

  • 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
Warm
Saturation
Vivid
  • Note

    #3F3528

    11.02:1AAA

  • Muted

    #6E5F4C

    5.67:1AA

  • Faint

    #9A8A72

    3.08:1Fail

  • Code

    #5A432Con #F5ECD8

    7.85:1AAA

  • Selection

    #3F3528on #BF5B3D2E

    8.84:1AAA

  • Highlight

    #3F3528on #F8DC4CA6

    9.43: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.