Skip to main content
Coding Theme

One Dark Pro for Obsidian

One Dark Pro by Donghang is an Obsidian theme with dark mode and 2K 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 “One Dark Pro” 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/One Dark Pro/theme.css
.obsidian/themes/One Dark Pro/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#282c34
Secondary background#21252b
Border#3e4451
Text#abb2bf
Muted text#7f848e
Text accent#61afef
Accent background#61afef
Selection background#61afef3d
Highlight background#e5c07b47
Red#e06c75
Orange#d19a66
Yellow#e5c07b
Green#98c379
Cyan#56b6c2
Blue#61afef
Purple#c678dd
Code background#1f2329
Code text#abb2bf

Light

Background#fafafa
Secondary background#f0f0f1
Border#d9d9dc
Text#383a42
Muted text#696c77
Text accent#4078f2
Accent background#4078f2
Selection background#4078f229
Highlight background#c1840133
Code background#f0f0f1
Code text#383a42

Contrast — Dark

A cool, balanced dark palette anchored on #282C34, pairing note text (#ABB2BF) at 6.56:1 (AA). 4 of 8 graded roles clear WCAG AA (4.5:1+); Muted (#7F848E, 3.72:1), Faint (#5C6370, 2.31:1), Selection (#ABB2BF, 4.20:1), and Highlight (#ABB2BF, 3.44:1) sit below 4.5:1 for softer contrast.

Background

#282C34

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

    #ABB2BF

    6.56:1AA

  • Muted

    #7F848E

    3.72:1Fail

  • Faint

    #5C6370

    2.31:1Fail

  • Accent

    #61AFEF

    5.92:1AA

  • Code

    #ABB2BFon #1F2329

    7.40:1AAA

  • Selection

    #ABB2BFon #61AFEF3D

    4.20:1Fail

  • Highlight

    #ABB2BFon #E5C07B47

    3.44:1Fail

  • On accent

    #1F2329on #61AFEF

    6.67:1AA

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.