Skip to main content
Coding Theme

VSCode Dark Modern for Obsidian

VSCode Dark Modern by leozague is an Obsidian theme with dark mode and 3.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 “VSCode Dark Modern” 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/VSCode Dark Modern/theme.css
.obsidian/themes/VSCode Dark Modern/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1e1e1e
Secondary background#181818
Border#2d2d2d
Text#d4d4d4
Muted text#858585
Accent background#569cd6
Code background#1e1e1e
Code text#d4d4d4
H1#ce9178
H2#6a9955
H3#dcdcaa
Base 00#1e1e1e
Base 05#1e1e1e
Base 10#181818
Base 20#252526
Base 25#2d2d2d
Base 30#333333
Base 35#3c3c3c
Base 40#474747
Base 50#636363
Base 60#808080
Base 70#ababab
Base 100#d4d4d4

Contrast — Dark

A neutral, muted dark palette anchored on #1E1E1E, pairing note text (#D4D4D4) at 11.24:1 (AAA). 9 of 11 graded roles clear WCAG AA (4.5:1+); Faint (#555555, 2.23:1) and On accent (#FFFFFF, 2.94:1) sit 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
  • Codeinline code in the note
  • On accenta button label on the accent color
Appearance
Dark
Temperature
Neutral
Saturation
Muted
  • Note

    #D4D4D4

    11.24:1AAA

  • Muted

    #858585

    4.51:1AA

  • Faint

    #555555

    2.23:1Fail

  • H1

    #CE9178

    6.30:1AA

  • H2

    #6A9955

    5.00:1AA

  • H3

    #DCDCAA

    11.79:1AAA

  • H4

    #9CDCFE

    11.17:1AAA

  • H5

    #A07CC5

    4.90:1AA

  • H6

    #4EC9B0

    8.18:1AAA

  • Code

    #D4D4D4on #1E1E1E

    11.24:1AAA

  • On accent

    #FFFFFFon #569CD6

    2.94: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: Accent.