Skip to main content
Coding Theme

Nyan for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1a1a2e
Secondary background#16162a
Border#2a2a44
Text#d8d0e8
Muted text#a8a8c0
Text accent#f5a0bc
Accent background#f5a0bc
Selection background#f5a0bc33
Highlight background#f0d07040
Code background#14142a
Code text#d8d0e8
Base 00#1a1a2e
Base 05#1e1e34
Base 10#22223a
Base 20#2a2a44
Base 25#30304c
Base 30#383856
Base 35#424260
Base 40#50506e
Base 50#6a6a88
Base 60#8888a4
Base 70#a8a8c0
Base 100#e8e8f0

Light

Background#fdf6f0
Secondary background#f8ede3
Border#e8d8c8
Text#3c3028
Muted text#7c6e62
Text accent#e87da4
Accent background#e87da4
Selection background#e87da42e
Highlight background#f0d07059
Code background#f0e8dc
Code text#5e544c
Base 00#fdf6f0
Base 05#f6ece2
Base 10#f0e3d6
Base 20#e8d8c8
Base 25#e0cebc
Base 30#d6c2ae
Base 35#c8b49e
Base 40#b8a28c
Base 50#9a8878
Base 60#7c6e62
Base 70#5e544c
Base 100#2c2420

Contrast — Dark

A cool, balanced dark palette anchored on #1A1A2E, pairing note text (#D8D0E8) at 11.45:1 (AAA). 7 of 8 graded roles clear WCAG AA (4.5:1+); Faint (#6A6A88, 3.27:1) sits below 4.5:1 for softer contrast.

Background

#1A1A2E

  • 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

    #D8D0E8

    11.45:1AAA

  • Muted

    #A8A8C0

    7.33:1AAA

  • Faint

    #6A6A88

    3.27:1Fail

  • Accent

    #F5A0BC

    8.64:1AAA

  • Code

    #D8D0E8on #14142A

    12.12:1AAA

  • Selection

    #D8D0E8on #F5A0BC33

    7.56:1AAA

  • Highlight

    #D8D0E8on #F0D07040

    6.05:1AA

  • On accent

    #1A1A2Eon #F5A0BC

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

Contrast — Light

A warm, vivid light palette anchored on #FDF6F0, pairing note text (#3C3028) at 11.92:1 (AAA). 5 of 8 graded roles clear WCAG AA (4.5:1+); Faint (#9A8878, 3.18:1), Accent (#E87DA4, 2.48:1), and On accent (#FFFFFF, 2.65:1) sit below 4.5:1 for softer contrast.

Background

#FDF6F0

  • 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
Light
Temperature
Warm
Saturation
Vivid
  • Note

    #3C3028

    11.92:1AAA

  • Muted

    #7C6E62

    4.60:1AA

  • Faint

    #9A8878

    3.18:1Fail

  • Accent

    #E87DA4

    2.48:1Fail

  • Code

    #5E544Con #F0E8DC

    6.06:1AA

  • Selection

    #3C3028on #E87DA42E

    10.22:1AAA

  • Highlight

    #3C3028on #F0D07059

    10.58:1AAA

  • On accent

    #FFFFFFon #E87DA4

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