Skip to main content
Coding Theme

Brainhack for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Code background#292929
Base 00#292929

Light

Secondary background#ffffff
Code background#eaeaea
Base 00#ffffff

Contrast — Dark

A neutral, muted dark palette anchored on #292929, pairing faint text (#626262) at 2.38:1 (Fail).

Background

#292929

  • Fainthints and placeholders
Appearance
Dark
Temperature
Neutral
Saturation
Muted
  • Faint

    #626262

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

Contrast — Light

A neutral, muted light palette anchored on #FFFFFF, pairing faint text (#A1A1A1) at 2.58:1 (Fail).

Background

#FFFFFF

  • Fainthints and placeholders
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Faint

    #A1A1A1

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