Skip to main content
Coding Theme

Prime for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#0d1117
Secondary background#131922
Text#fafbfc
Muted text#c0c0c0
Text accent#9ca0fa
Accent background#9cfaf6
Selection background#9efaf666
Red#ff4140
Orange#fac79e
Yellow#faf69c
Green#a0fa9c
Blue#9cfaf6
Purple#9ca0fa
Pink#fa9ccf
Code background#1a1b26
Code text#a9b1d6
H1#9ca0fa
H2#9cfaf6
H3#a0fa9c
Base 00#0d1117
Base 05#131922
Base 10#19212d
Base 20#1f2938
Base 25#263142
Base 30#2c394d
Base 35#324158
Base 40#384963
Base 50#3e516e
Base 60#445979
Base 70#4a6184
Base 100#5d79a4

Light

Background#f9fafc
Secondary background#eff1f5
Text#0d1117
Muted text#747474
Text accent#8c90f9
Accent background#0bd0c8
Selection background#0ac2ba66
Red#f6535a
Orange#f37c1d
Yellow#c0b90a
Green#0bd065
Blue#0bd0c8
Purple#8c90f9
Pink#fa9ccf
Code background#d5d6db
Code text#343b59
H1#8c90f9
H2#0bd0c8
H3#0bd065
Base 00#f9fafc
Base 05#eff1f5
Base 10#e5e8ee
Base 20#dadfe8
Base 25#d0d6e1
Base 30#c5ccdb
Base 40#bbc3d4
Base 50#b0bace
Base 60#a6b1c7
Base 70#9ba8c1

Contrast — Dark

A cool, balanced dark palette anchored on #0D1117, pairing note text (#FAFBFC) at 18.26:1 (AAA). All 13 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#0D1117

  • 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
  • On accenta button label on the accent color
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #FAFBFC

    18.26:1AAA

  • Muted

    #C0C0C0

    10.40:1AAA

  • Faint

    #AEA8BA

    8.20:1AAA

  • H1

    #9CA0FA

    7.95:1AAA

  • H2

    #9CFAF6

    15.69:1AAA

  • H3

    #A0FA9C

    15.00:1AAA

  • H4

    #FAF69C

    16.87:1AAA

  • H5

    #FAC79E

    12.37:1AAA

  • H6

    #FA9CCF

    9.66:1AAA

  • Accent

    #9CA0FA

    7.95:1AAA

  • Code

    #A9B1D6on #1A1B26

    8.09:1AAA

  • Selection

    #FAFBFCon #9EFAF666

    5.41:1AA

  • On accent

    #0D1117on #9CFAF6

    15.69: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 cool, balanced light palette anchored on #F9FAFC, pairing note text (#0D1117) at 18.12:1 (AAA). 3 of 13 graded roles clear WCAG AA (4.5:1+); Muted (#747474, 4.47:1), Faint (#8D8D8D, 3.17:1), H1 (#8C90F9, 2.69:1), H2 (#0BD0C8, 1.84:1), H3 (#0BD065, 1.96:1), H4 (#C0B90A, 1.97:1), H5 (#F37C1D, 2.60:1), H6 (#FA9CCF, 1.87:1), Accent (#8C90F9, 2.69:1), and On accent (#F9FAFC, 1.84:1) sit below 4.5:1 for softer contrast.

Background

#F9FAFC

  • 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
  • On accenta button label on the accent color
Appearance
Light
Temperature
Cool
Saturation
Balanced
  • Note

    #0D1117

    18.12:1AAA

  • Muted

    #747474

    4.47:1Fail

  • Faint

    #8D8D8D

    3.17:1Fail

  • H1

    #8C90F9

    2.69:1Fail

  • H2

    #0BD0C8

    1.84:1Fail

  • H3

    #0BD065

    1.96:1Fail

  • H4

    #C0B90A

    1.97:1Fail

  • H5

    #F37C1D

    2.60:1Fail

  • H6

    #FA9CCF

    1.87:1Fail

  • Accent

    #8C90F9

    2.69:1Fail

  • Code

    #343B59on #D5D6DB

    7.55:1AAA

  • Selection

    #0D1117on #0AC2BA66

    13.07:1AAA

  • On accent

    #F9FAFCon #0BD0C8

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