Skip to main content
Coding Theme

Nightfox for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#192330
Secondary background#151d28
Border#243347
Red#c94f6d
Orange#f4a261
Yellow#dbc074
Green#81b29a
Cyan#63cdcf
Blue#719cd6
Purple#9d79d6
Pink#d67ad2
Code background#151d28
H1#d6d6d7
H2#d6d6d7
H3#d6d6d7
Base 00#131a24
Base 05#151d28
Base 10#192330
Base 20#212e3f
Base 25#243347
Base 30#29394f
Base 35#39506d
Base 40#496283
Base 50#5d728e
Base 60#71839b
Base 70#aeafb0
Base 100#cdcecf

Light

Background#f6f2ee
Secondary background#eae3dc
Border#d3c7bb
Red#a5222f
Orange#955f61
Yellow#ac5402
Green#396847
Cyan#287980
Blue#2848a9
Purple#6e33ce
Pink#a440b5
Code background#eae3dc
H1#302b5d
H2#302b5d
H3#302b5d
Base 00#e4dcd4
Base 05#eae3dc
Base 10#f6f2ee
Base 20#dbd1dd
Base 25#d3c7bb
Base 30#aab0ad
Base 35#a4a2a1
Base 40#9f9496
Base 50#99868a
Base 60#824d5b
Base 70#643f61
Base 100#3d2b5a

Contrast — Dark

A cool, balanced dark palette anchored on #192330, pairing note text (#CDCECF) at 10.06:1 (AAA). 3 of 4 graded roles clear WCAG AA (4.5:1+); Faint (#5D728E, 3.21:1) sits below 4.5:1 for softer contrast.

Background

#192330

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H6heading text in a note
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #CDCECF

    10.06:1AAA

  • Muted

    #AEAFB0

    7.21:1AAA

  • Faint

    #5D728E

    3.21:1Fail

  • H1–H6

    #D6D6D7

    10.91: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: Accent, Code.

Contrast — Light

A warm, balanced light palette anchored on #F6F2EE, pairing note text (#3D2B5A) at 11.14:1 (AAA). 3 of 4 graded roles clear WCAG AA (4.5:1+); Faint (#99868A, 3.07:1) sits below 4.5:1 for softer contrast.

Background

#F6F2EE

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H6heading text in a note
Appearance
Light
Temperature
Warm
Saturation
Balanced
  • Note

    #3D2B5A

    11.14:1AAA

  • Muted

    #643F61

    7.77:1AAA

  • Faint

    #99868A

    3.07:1Fail

  • H1–H6

    #302B5D

    11.57: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. Not set here: Accent, Code.