Skip to main content
Coding Theme

Lockett for Obsidian

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

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#1c2b40
Secondary background#182437
Border#f3eee41f
Text#f3eee4
Muted text#a9b3b0
Text accent#c89a56
Accent background#b8843e
Selection background#b8843e47
Highlight background#c89a5652
Code background#f3eee40f
Code text#c89a56
H1#f3eee4
H2#f3eee4
H3#e7dfd1

Light

Background#f3eee4
Secondary background#ece5d7
Border#1c2b4024
Text#23282e
Muted text#4a6360
Text accent#9c6e30
Accent background#b8843e
Selection background#b8843e38
Highlight background#b8843e4d
Code background#1c2b400f
Code text#1c2b40
H1#1c2b40
H2#1c2b40
H3#1c2b40

Contrast — Dark

A cool, balanced dark palette anchored on #1C2B40, pairing note text (#F3EEE4) at 12.36:1 (AAA). 9 of 11 graded roles clear WCAG AA (4.5:1+); Faint (#6E7B82, 3.28:1) and On accent (#1C2B40, 4.36:1) sit below 4.5:1 for softer contrast.

Background

#1C2B40

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H2heading text in a note
  • H3–H4heading text in a note
  • H5–H6heading text in a note
  • 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

    #F3EEE4

    12.36:1AAA

  • Muted

    #A9B3B0

    6.64:1AA

  • Faint

    #6E7B82

    3.28:1Fail

  • H1–H2

    #F3EEE4

    12.36:1AAA

  • H3–H4

    #E7DFD1

    10.80:1AAA

  • H5–H6

    #A9B3B0

    6.64:1AA

  • Accent

    #C89A56

    5.59:1AA

  • Code

    #C89A56on #F3EEE40F

    4.75:1AA

  • Selection

    #F3EEE4on #B8843E47

    8.38:1AAA

  • Highlight

    #F3EEE4on #C89A5652

    7.06:1AAA

  • On accent

    #1C2B40on #B8843E

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

Contrast — Light

A warm, balanced light palette anchored on #F3EEE4, pairing note text (#23282E) at 12.83:1 (AAA). 7 of 10 graded roles clear WCAG AA (4.5:1+); Faint (#8D8676, 3.12:1), Accent (#9C6E30, 3.87:1), and On accent (#F3EEE4, 2.83:1) sit below 4.5:1 for softer contrast.

Background

#F3EEE4

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H4heading text in a note
  • H5–H6heading text in a note
  • 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
Balanced
  • Note

    #23282E

    12.83:1AAA

  • Muted

    #4A6360

    5.59:1AA

  • Faint

    #8D8676

    3.12:1Fail

  • H1–H4

    #1C2B40

    12.36:1AAA

  • H5–H6

    #4A6360

    5.59:1AA

  • Accent

    #9C6E30

    3.87:1Fail

  • Code

    #1C2B40on #1C2B400F

    11.11:1AAA

  • Selection

    #23282Eon #B8843E38

    10.47:1AAA

  • Highlight

    #23282Eon #B8843E4D

    9.66:1AAA

  • On accent

    #F3EEE4on #B8843E

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