Skip to main content
Coding Theme

Cosmical for Obsidian

Cosmical by m-torrus is an Obsidian theme with dark and light modes and 5.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 “Cosmical” 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/Cosmical/theme.css
.obsidian/themes/Cosmical/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#2e2e2e
Secondary background#1f1f1f
Border#3d3d3d
Text#ffffff
Muted text#b6b6b6
Text accent#ffcb64
Accent background#d98b09
Red#dc4646
Orange#cd7d3c
Yellow#dcd232
Green#73fa3c
Cyan#3cfae6
Blue#3ca0e6
Purple#6450d2
Pink#d53cc8
Code background#262626
Code text#eeeeee
Base 00#181818
Base 05#1f1f1f
Base 10#262626
Base 20#2e2e2e
Base 30#353535
Base 40#3d3d3d
Base 50#454545
Base 60#4d4d4d
Base 70#555555
Base 100#ffffff

Light

Background#ffffff
Secondary background#ebebeb
Border#d7d7d7
Text#000000
Muted text#282828
Text accent#773000
Accent background#974e00
Red#dc4646
Orange#cd7d3c
Yellow#dcd232
Green#73fa3c
Cyan#3cfae6
Blue#3ca0e6
Purple#6450d2
Pink#d53cc8
Code background#f5f5f5
Code text#000000
Base 00#ffffff
Base 05#f5f5f5
Base 10#ebebeb
Base 20#e1e1e1
Base 30#d7d7d7
Base 40#cecece
Base 50#c4c4c4
Base 60#b7b7b7
Base 70#a8a8a8
Base 100#000000

Contrast — Dark

A neutral, muted dark palette anchored on #2E2E2E, pairing note text (#FFFFFF) at 13.57:1 (AAA). 4 of 5 graded roles clear WCAG AA (4.5:1+); Faint (#7A7A7A, 3.16:1) sits below 4.5:1 for softer contrast.

Background

#2E2E2E

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
Appearance
Dark
Temperature
Neutral
Saturation
Muted
  • Note

    #FFFFFF

    13.57:1AAA

  • Muted

    #B6B6B6

    6.69:1AA

  • Faint

    #7A7A7A

    3.16:1Fail

  • Accent

    #FFCB64

    9.03:1AAA

  • Code

    #EEEEEEon #262626

    13.04: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 neutral, muted light palette anchored on #FFFFFF, pairing note text (#000000) at 21.00:1 (AAA). All 6 graded roles clear WCAG AA (4.5:1+) for normal code and UI text.

Background

#FFFFFF

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Accentlinks and highlighted text
  • Codeinline code in the note
  • On accenta button label on the accent color
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Note

    #000000

    21.00:1AAA

  • Muted

    #282828

    14.74:1AAA

  • Faint

    #555555

    7.45:1AAA

  • Accent

    #773000

    9.51:1AAA

  • Code

    #000000on #F5F5F5

    19.26:1AAA

  • On accent

    #FFFFFFon #974E00

    6.16:1AA

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.