Skip to main content
Coding Theme

Lapfly for Obsidian

Lapfly by John Cattrall is an Obsidian theme with dark and light modes and 471 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 “Lapfly” 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/Lapfly/theme.css
.obsidian/themes/Lapfly/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Selection background#58a6ff33
Highlight background#b8ff004d
Red#f85149
Orange#f0883e
Yellow#e3b341
Green#3fb950
Cyan#39d0f0
Blue#58a6ff
Purple#bc8cff
Pink#f97583
Code background#0d1117
Code text#e6edf3
Base 00#080c14
Base 05#0d1117
Base 10#161b22
Base 20#1c2333
Base 25#21262d
Base 30#30363d
Base 35#3d444d
Base 40#484f58
Base 50#6e7681
Base 60#8b949e
Base 70#aeb6c0
Base 100#e6edf3

Light

Selection background#0969da26
Highlight background#9a67002e
Red#cf222e
Orange#bc4c00
Yellow#9a6700
Green#1a7f37
Cyan#1b7c83
Blue#0969da
Purple#8250df
Pink#bf3989
Base 00#ffffff
Base 05#f6f8fa
Base 10#eaeef2
Base 20#dfe3e8
Base 25#d0d7de
Base 30#afb8c1
Base 35#8c959f
Base 40#6e7781
Base 50#57606a
Base 60#424a53
Base 70#2d333b
Base 100#1f2328

Contrast — Dark

A cool, balanced dark palette anchored on #080C14, pairing note text (#E6EDF3) at 16.56:1 (AAA). 5 of 6 graded roles clear WCAG AA (4.5:1+); Faint (#6E7681, 4.26:1) sits below 4.5:1 for softer contrast.

Background

#080C14

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #E6EDF3

    16.56:1AAA

  • Muted

    #AEB6C0

    9.55:1AAA

  • Faint

    #6E7681

    4.26:1Fail

  • Code

    #E6EDF3on #0D1117

    16.01:1AAA

  • Selection

    #E6EDF3on #58A6FF33

    12.15:1AAA

  • Highlight

    #E6EDF3on #B8FF004D

    7.06: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. Not set here: Accent.

Contrast — Light

A neutral, muted light palette anchored on #FFFFFF, pairing note text (#1F2328) at 15.79: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
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Light
Temperature
Neutral
Saturation
Muted
  • Note

    #1F2328

    15.79:1AAA

  • Muted

    #2D333B

    12.74:1AAA

  • Faint

    #57606A

    6.38:1AA

  • Selection

    #1F2328on #0969DA26

    12.77:1AAA

  • Highlight

    #1F2328on #9A67002E

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