Skip to main content
Coding Theme

Elegance for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#353843
Secondary background#27262f
Border#666666
Muted text#ffffff
Text accent#f8ad5d
Accent background#ffb86c
Selection background#4e5b9a
Highlight background#ffff00b2

Light

Background#ffffff
Secondary background#f7f5f4
Border#434343
Text#060606
Muted text#000000
Text accent#c46200
Accent background#ffb86c
Selection background#2c4dbc33
Highlight background#7500004b

Contrast — Dark

A cool, muted dark palette anchored on #353843, pairing muted text (#FFFFFF) at 11.67:1 (AAA). All 4 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#353843

  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • On accenta button label on the accent color
Appearance
Dark
Temperature
Cool
Saturation
Muted
  • Muted

    #FFFFFF

    11.67:1AAA

  • Faint

    #F48DFF

    5.61:1AA

  • Accent

    #F8AD5D

    6.18:1AA

  • On accent

    #000000on #FFB86C

    12.32: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. Not set here: Note, Code.

Contrast — Light

A neutral, muted light palette anchored on #FFFFFF, pairing note text (#060606) at 20.26:1 (AAA). 5 of 7 graded roles clear WCAG AA (4.5:1+); Accent (#C46200, 4.12:1) and On accent (#FFFFFF, 1.70:1) sit below 4.5:1 for softer contrast.

Background

#FFFFFF

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Selectiontext inside a selection
  • Highlighthighlighted text
  • On accenta button label on the accent color
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Note

    #060606

    20.26:1AAA

  • Muted

    #000000

    21.00:1AAA

  • Faint

    #E3006A

    4.69:1AA

  • Accent

    #C46200

    4.12:1Fail

  • Selection

    #060606on #2C4DBC33

    14.73:1AAA

  • Highlight

    #060606on #7500004B

    10.67:1AAA

  • On accent

    #FFFFFFon #FFB86C

    1.70: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. Not set here: Code.