Skip to main content
Coding Theme

Allium for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#211f23
Secondary background#2c1c27
Border#a32d7f36
Text#d8bcd8
Muted text#e499e4a2
Text accent#d560b1
Accent background#a32d7f
Selection background#e499e4a2
Highlight background#a32d7f52
Code text#e499e4a2
H1#d8bcd8
H2#c4a5c4
H3#ac81ac
Base 00#211f23
Base 05#211f23
Base 10#211f23
Base 20#2c1c27
Base 25#252429
Base 30#a32d7f36
Base 35#a540a55f
Base 40#a32d7f36
Base 50#e499e4a2
Base 60#d8bcd8
Base 70#d8bcd8
Base 100#d8bcd8

Light

Background#f2faeb
Secondary background#f1e4f1
Border#a32d7f36
Text#30222b
Muted text#412438cd
Text accent#d560b1
Accent background#a32d7f
Selection background#a32d8053
Highlight background#a32d7f52
Code text#412438cd
Base 00#f2faeb
Base 05#f2faeb
Base 10#f2faeb
Base 20#f1e4f1
Base 25#412438
Base 30#a32d7f36
Base 35#c8a2c85f
Base 40#a32d7f36
Base 50#412438cd
Base 60#412438
Base 70#412438
Base 100#412438

Contrast — Dark

A cool, muted dark palette anchored on #211F23, pairing note text (#D8BCD8) at 9.42:1 (AAA). 6 of 13 graded roles clear WCAG AA (4.5:1+); Muted (#E499E4A2, 3.96:1), Faint (#E499E4A2, 3.96:1), H4 (#946A94, 3.69:1), H5 (#835783, 2.84:1), H6 (#805380, 2.69:1), Code (#E499E4A2, 3.96:1), and Selection (#D8BCD8, 2.37:1) sit below 4.5:1 for softer contrast.

Background

#211F23

  • 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
  • Highlighthighlighted text
Appearance
Dark
Temperature
Cool
Saturation
Muted
  • Note

    #D8BCD8

    9.42:1AAA

  • Muted

    #E499E4A2

    3.96:1Fail

  • Faint

    #E499E4A2

    3.96:1Fail

  • H1

    #D8BCD8

    9.42:1AAA

  • H2

    #C4A5C4

    7.41:1AAA

  • H3

    #AC81AC

    5.05:1AA

  • H4

    #946A94

    3.69:1Fail

  • H5

    #835783

    2.84:1Fail

  • H6

    #805380

    2.69:1Fail

  • Accent

    #D560B1

    4.77:1AA

  • Code

    #E499E4A2

    3.96:1Fail

  • Selection

    #D8BCD8on #E499E4A2

    2.37:1Fail

  • Highlight

    #D8BCD8on #A32D7F52

    7.47: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 neutral, vivid light palette anchored on #F2FAEB, pairing note text (#30222B) at 14.14:1 (AAA). 6 of 7 graded roles clear WCAG AA (4.5:1+); Accent (#D560B1, 3.20:1) sits below 4.5:1 for softer contrast.

Background

#F2FAEB

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

    #30222B

    14.14:1AAA

  • Muted

    #412438CD

    7.07:1AAA

  • Faint

    #412438CD

    7.07:1AAA

  • Accent

    #D560B1

    3.20:1Fail

  • Code

    #412438CD

    7.07:1AAA

  • Selection

    #30222Bon #A32D8053

    8.32:1AAA

  • Highlight

    #30222Bon #A32D7F52

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