Skip to main content
Coding Theme

Sugar for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1e1e1e
Secondary background#262626
Border#383838
Text#ececf0
Muted text#9a93a8
Text accent#ffd4b0
Accent background#c0b0ff
Selection background#c0b0ff40
Highlight background#61d0ff47
Code background#46415f
Code text#9fedd8
H1#ffe9a0
H2#ffb8d0
H3#9fedd8

Light

Background#fbf6ee
Secondary background#f6eee1
Border#d9c4a6
Text#3b2a19
Muted text#9c7c57
Text accent#a2632b
Accent background#b07a38
Selection background#966e3c2e
Highlight background#61d0ff47
Code background#efe4d3
Code text#7a9a1e
H1#d79410
H2#b5547e
H3#7a9a1e

Contrast — Dark

A neutral, muted dark palette anchored on #1E1E1E, pairing note text (#ECECF0) at 14.14:1 (AAA). 13 of 14 graded roles clear WCAG AA (4.5:1+); Faint (#6A6390, 3.01:1) sits below 4.5:1 for softer contrast.

Background

#1E1E1E

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

    #ECECF0

    14.14:1AAA

  • Muted

    #9A93A8

    5.64:1AA

  • Faint

    #6A6390

    3.01:1Fail

  • H1

    #FFE9A0

    13.82:1AAA

  • H2

    #FFB8D0

    10.33:1AAA

  • H3

    #9FEDD8

    12.36:1AAA

  • H4

    #B0D8FF

    11.20:1AAA

  • H5

    #C0B0FF

    8.64:1AAA

  • H6

    #9A93A8

    5.64:1AA

  • Accent

    #FFD4B0

    12.14:1AAA

  • Code

    #9FEDD8on #46415F

    7.14:1AAA

  • Selection

    #ECECF0on #C0B0FF40

    8.11:1AAA

  • Highlight

    #ECECF0on #61D0FF47

    7.36:1AAA

  • On accent

    #1E1E1Eon #C0B0FF

    8.64: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 warm, vivid light palette anchored on #FBF6EE, pairing note text (#3B2A19) at 12.74:1 (AAA). 3 of 14 graded roles clear WCAG AA (4.5:1+); Muted (#9C7C57, 3.59:1), Faint (#B49B7C, 2.46:1), H1 (#D79410, 2.39:1), H2 (#B5547E, 4.30:1), H3 (#7A9A1E, 3.01:1), H4 (#4E8D8A, 3.54:1), H5 (#B07A38, 3.43:1), H6 (#9C7C57, 3.59:1), Accent (#A2632B, 4.48:1), Code (#7A9A1E, 2.58:1), and On accent (#FFFFFF, 3.69:1) sit below 4.5:1 for softer contrast.

Background

#FBF6EE

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

    #3B2A19

    12.74:1AAA

  • Muted

    #9C7C57

    3.59:1Fail

  • Faint

    #B49B7C

    2.46:1Fail

  • H1

    #D79410

    2.39:1Fail

  • H2

    #B5547E

    4.30:1Fail

  • H3

    #7A9A1E

    3.01:1Fail

  • H4

    #4E8D8A

    3.54:1Fail

  • H5

    #B07A38

    3.43:1Fail

  • H6

    #9C7C57

    3.59:1Fail

  • Accent

    #A2632B

    4.48:1Fail

  • Code

    #7A9A1Eon #EFE4D3

    2.58:1Fail

  • Selection

    #3B2A19on #966E3C2E

    10.27:1AAA

  • Highlight

    #3B2A19on #61D0FF47

    11.04:1AAA

  • On accent

    #FFFFFFon #B07A38

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