Skip to main content
Coding Theme

Focus for Obsidian

Focus by Moritz Jung is an Obsidian theme with dark mode and 5.9K 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 “Focus” 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/Focus/theme.css
.obsidian/themes/Focus/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1a1a1a
Secondary background#121212
Border#222222
Text#909090
Muted text#707070
Text accent#a5e693
Accent background#a5e693
Selection background#ffffff33
Red#f5988f
Orange#ffc8a3
Yellow#f0e395
Green#a5e693
Cyan#8bf0db
Blue#97c0f3
Purple#ac9df2
Pink#eaa9ff
Code background#1a1a1a
Code text#909090
H1#ffffff
H2#ffffff
H3#ffffff
Base 00#1a1a1a
Base 05#1a1a1a
Base 10#1a1a1a
Base 20#121212
Base 25#121212
Base 30#222222
Base 35#303030
Base 40#505050
Base 50#707070
Base 60#909090
Base 70#a0a0a0
Base 100#ffffff

Contrast — Dark

A neutral, muted dark palette anchored on #1A1A1A, pairing note text (#909090) at 5.45:1 (AA). 4 of 7 graded roles clear WCAG AA (4.5:1+); Muted (#707070, 3.51:1), Faint (#505050, 2.15:1), and Selection (#909090, 2.87:1) sit below 4.5:1 for softer contrast.

Background

#1A1A1A

  • 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
  • Selectiontext inside a selection
Appearance
Dark
Temperature
Neutral
Saturation
Muted
  • Note

    #909090

    5.45:1AA

  • Muted

    #707070

    3.51:1Fail

  • Faint

    #505050

    2.15:1Fail

  • H1–H6

    #FFFFFF

    17.40:1AAA

  • Accent

    #A5E693

    11.88:1AAA

  • Code

    #909090on #1A1A1A

    5.45:1AA

  • Selection

    #909090on #FFFFFF33

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