Skip to main content
Coding Theme

Electrocution for Obsidian

Electrocution by Ashly Lorenzana is an Obsidian theme with dark and light modes and 738 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 “Electrocution” 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/Electrocution/theme.css
.obsidian/themes/Electrocution/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#ffffff
Secondary background#f3f3f3
Border#000000
Text#000000
Muted text#222222
Text accent#7a00ff
Accent background#ff2bd6
Code background#000000
Code text#39ff14

Light

Background#ffffff
Secondary background#f3f3f3
Border#000000
Text#000000
Muted text#222222
Text accent#7a00ff
Accent background#ff2bd6
Code background#000000
Code text#39ff14

Contrast — Dark

A neutral, muted dark palette anchored on #FFFFFF, pairing note text (#000000) at 21.00:1 (AAA). All 5 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
Appearance
Dark
Temperature
Neutral
Saturation
Muted
  • Note

    #000000

    21.00:1AAA

  • Muted

    #222222

    15.90:1AAA

  • Faint

    #444444

    9.73:1AAA

  • Accent

    #7A00FF

    6.41:1AA

  • Code

    #39FF14on #000000

    15.48: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 5 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
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Note

    #000000

    21.00:1AAA

  • Muted

    #222222

    15.90:1AAA

  • Faint

    #444444

    9.73:1AAA

  • Accent

    #7A00FF

    6.41:1AA

  • Code

    #39FF14on #000000

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