Skip to main content
Coding Theme

Elementra for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#0d0a15
Secondary background#08060e
Border#322748
Text#ede7f7
Muted text#bab0c9
Text accent#b07df0
Accent background#7c5cff
Code background#08060e
Code text#ede7f7

Light

Background#f5f5f7
Secondary background#ededf1
Border#d8d8df
Text#202124
Muted text#696b75
Text accent#5630b5
Accent background#7c5cff
Code background#ededf1
Code text#202124

Contrast — Dark

A cool, balanced dark palette anchored on #0D0A15, pairing note text (#EDE7F7) at 16.21:1 (AAA). 4 of 5 graded roles clear WCAG AA (4.5:1+); Faint (#7F738D, 4.42:1) sits below 4.5:1 for softer contrast.

Background

#0D0A15

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #EDE7F7

    16.21:1AAA

  • Muted

    #BAB0C9

    9.46:1AAA

  • Faint

    #7F738D

    4.42:1Fail

  • Accent

    #B07DF0

    6.56:1AA

  • Code

    #EDE7F7on #08060E

    16.66: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, muted light palette anchored on #F5F5F7, pairing note text (#202124) at 14.78:1 (AAA). 4 of 5 graded roles clear WCAG AA (4.5:1+); Faint (#92949E, 2.77:1) sits below 4.5:1 for softer contrast.

Background

#F5F5F7

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
Appearance
Light
Temperature
Cool
Saturation
Muted
  • Note

    #202124

    14.78:1AAA

  • Muted

    #696B75

    4.86:1AA

  • Faint

    #92949E

    2.77:1Fail

  • Accent

    #5630B5

    7.75:1AAA

  • Code

    #202124on #EDEDF1

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