Skip to main content
Coding Theme

OneNice for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1f2329
Secondary background#181b20
Border#7a818e
Text#dcddde
Muted text#a9abac
Text accent#61afef
Selection background#ffffff1a
Highlight background#8a9a5b

Light

Background#e6e6e6
Secondary background#dcdcdc
Border#a0a1a7
Text#383a42
Muted text#2d2f30
Text accent#4078f2
Selection background#00000050
Highlight background#8a9a5b

Contrast — Dark

A cool, balanced dark palette anchored on #1F2329, pairing note text (#DCDDDE) at 11.60:1 (AAA). 4 of 6 graded roles clear WCAG AA (4.5:1+); Faint (#535965, 2.24:1) and Highlight (#DCDDDE, 2.25:1) sit below 4.5:1 for softer contrast.

Background

#1F2329

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #DCDDDE

    11.60:1AAA

  • Muted

    #A9ABAC

    6.84:1AA

  • Faint

    #535965

    2.24:1Fail

  • Accent

    #61AFEF

    6.67:1AA

  • Selection

    #DCDDDEon #FFFFFF1A

    8.47:1AAA

  • Highlight

    #DCDDDEon #8A9A5B

    2.25:1Fail

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

Contrast — Light

A neutral, muted light palette anchored on #E6E6E6, pairing note text (#383A42) at 9.08:1 (AAA). 3 of 6 graded roles clear WCAG AA (4.5:1+); Accent (#4078F2, 3.24:1), Selection (#383A42, 4.22:1), and Highlight (#383A42, 3.70:1) sit below 4.5:1 for softer contrast.

Background

#E6E6E6

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Note

    #383A42

    9.08:1AAA

  • Muted

    #2D2F30

    10.77:1AAA

  • Faint

    #101012

    15.22:1AAA

  • Accent

    #4078F2

    3.24:1Fail

  • Selection

    #383A42on #00000050

    4.22:1Fail

  • Highlight

    #383A42on #8A9A5B

    3.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.