Skip to main content
Coding Theme

Slytherin for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#11171a
Secondary background#0e1315
Border#0e1314
Text#e4e4e4
Text accent#00805a
Accent background#090c0d
Selection background#00504c34
Highlight background#00503b80
Red#e6578a
Orange#f3c85b
Yellow#cfba00
Green#39f098
Cyan#81d5d0
Blue#04a5ff
Purple#b491ed
Pink#ec95ee
Code background#0c1011
Code text#e4e4e4
H1#e4e4e4
H2#e4e4e4
H3#e4e4e4

Light

Background#f6f9fb
Secondary background#eff3f6
Border#cfdae2
Text#141f25
Text accent#00e699
Accent background#00e699
Red#f51a68
Orange#fd9434
Yellow#c2ba8c
Green#34915e
Cyan#00c8c8
Blue#0477ff
Purple#9c7ad3
Pink#e135e4
Code background#e3edf2
Code text#141f25
H1#2e3d49
H2#2e3d49
H3#2e3d49
Base 00#f6f9fb
Base 10#eff3f6
Base 20#e3edf2
Base 25#cfdae2
Base 30#98acba
Base 35#52697a
Base 40#2e3d49
Base 50#1a2833
Base 60#141f28
Base 70#141f25
Base 100#070b0d

Contrast — Dark

A cool, balanced dark palette anchored on #11171A, pairing note text (#E4E4E4) at 14.22:1 (AAA). 5 of 7 graded roles clear WCAG AA (4.5:1+); Faint (#606060, 2.87:1) and Accent (#00805A, 3.64:1) sit below 4.5:1 for softer contrast.

Background

#11171A

  • Notethe note text on this background
  • Fainthints and placeholders
  • H1–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
Balanced
  • Note

    #E4E4E4

    14.22:1AAA

  • Faint

    #606060

    2.87:1Fail

  • H1–H6

    #E4E4E4

    14.22:1AAA

  • Accent

    #00805A

    3.64:1Fail

  • Code

    #E4E4E4on #0C1011

    15.04:1AAA

  • Selection

    #E4E4E4on #00504C34

    12.90:1AAA

  • Highlight

    #E4E4E4on #00503B80

    10.79: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. Not set here: Muted.

Contrast — Light

A cool, balanced light palette anchored on #F6F9FB, pairing note text (#141F25) at 15.85:1 (AAA). 5 of 6 graded roles clear WCAG AA (4.5:1+); Accent (#00E699, 1.55:1) sits below 4.5:1 for softer contrast.

Background

#F6F9FB

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H6heading text in a note
  • Accentlinks and highlighted text
  • Codeinline code in the note
Appearance
Light
Temperature
Cool
Saturation
Balanced
  • Note

    #141F25

    15.85:1AAA

  • Muted

    #141F25

    15.85:1AAA

  • Faint

    #141F28

    15.80:1AAA

  • H1–H6

    #2E3D49

    10.56:1AAA

  • Accent

    #00E699

    1.55:1Fail

  • Code

    #141F25on #E3EDF2

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