Skip to main content
Coding Theme

Cardinal for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#000000
Secondary background#1e1e1e
Border#2d2d2d
Text#c5c5c5
Muted text#b4b3b3
Text accent#e1351ec8
Accent background#e1351ec8
Selection background#ff000054
Highlight background#ffd00066
Red#fb464c
Orange#e9973f
Yellow#e0de71
Green#44cf6e
Cyan#53dfdd
Blue#027aff
Purple#a882ff
Pink#fa99cd
Code background#111111
Code text#c5c5c5
Base 00#000000
Base 05#1c1c1c
Base 10#111111
Base 20#1e1e1e
Base 25#2a2a2a
Base 30#2d2d2d
Base 35#2d2d2d
Base 40#1c1c1c
Base 50#e1351ec8
Base 60#999999
Base 70#b4b3b3
Base 100#c5c5c5

Light

Background#fbf1e6
Secondary background#fbf1e6
Border#cec3ba
Text#1a1211
Muted text#1a1211
Text accent#e1351ec8
Accent background#e1351ec8
Selection background#ff000033
Highlight background#ffd00066
Red#e93147
Orange#ec7500
Yellow#e0ac00
Green#08b94e
Cyan#00bfbc
Blue#086ddd
Purple#7852ee
Pink#d53984
Code background#e9dfd4
Code text#1a1211
Base 00#fbf1e6
Base 05#e9dfd4
Base 10#e9dfd4
Base 20#fbf1e6
Base 25#e3e3e3
Base 30#cec3ba
Base 35#cec3ba
Base 40#e9dfd4
Base 50#e1351ec8
Base 60#707070
Base 70#1a1211
Base 100#1a1211

Contrast — Dark

A neutral, muted dark palette anchored on #000000, pairing note text (#C5C5C5) at 12.16:1 (AAA). 4 of 7 graded roles clear WCAG AA (4.5:1+); Faint (#E1351EC8, 3.19:1), Accent (#E1351EC8, 3.19:1), and Highlight (#C5C5C5, 4.33:1) sit below 4.5:1 for softer contrast.

Background

#000000

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

    #C5C5C5

    12.16:1AAA

  • Muted

    #B4B3B3

    10.03:1AAA

  • Faint

    #E1351EC8

    3.19:1Fail

  • Accent

    #E1351EC8

    3.19:1Fail

  • Code

    #C5C5C5on #111111

    10.94:1AAA

  • Selection

    #C5C5C5on #FF000054

    8.83:1AAA

  • Highlight

    #C5C5C5on #FFD00066

    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.

Contrast — Light

A warm, vivid light palette anchored on #FBF1E6, pairing note text (#1A1211) at 16.53:1 (AAA). 5 of 7 graded roles clear WCAG AA (4.5:1+); Faint (#E1351EC8, 3.10:1) and Accent (#E1351EC8, 3.10:1) sit below 4.5:1 for softer contrast.

Background

#FBF1E6

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

    #1A1211

    16.53:1AAA

  • Muted

    #1A1211

    16.53:1AAA

  • Faint

    #E1351EC8

    3.10:1Fail

  • Accent

    #E1351EC8

    3.10:1Fail

  • Code

    #1A1211on #E9DFD4

    14.02:1AAA

  • Selection

    #1A1211on #FF000033

    11.79:1AAA

  • Highlight

    #1A1211on #FFD00066

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