Obsidian-CSS-Snippets

Readable, organized Obsidian CSS snippets designed to eliminate confusion (area-feature-mode file naming system)

Obsidian-CSS-Snippets šŸŽ›ļø

File Naming System:

area-feature-mode.css

Vocabulary - Legend šŸ”‘

  • area → where the snippet applies
  • feature → what it changes
  • mode → when it applies

Feature

Describes what the snippet changes or does.

Examples:

  • header-colors → changes header colors
  • no-image-filenames → hides image filenames
  • link-styles → modifies link appearance
  • callouts → styles callout blocks
  • sidebar-cleanup → adjusts sidebar layout
  • card-layout → changes layout structure

Area

  • canvas āž canvas only
  • notes āž markdown notes
  • global āž everywhere
  • ui āž app interface (menu, sidebars, etc.)

Mode

  • editor → editing (source + live preview)
  • preview → reading view (fully rendered)
  • global → both / always active

Examples:

  • canvas-no-image-filenames-preview.css
  • global-header-colors-preview.css

Purpose

Readable, organized Obsidian CSS snippets designed to eliminate confusion (area-feature-mode file naming system)

Notes

I’m still learning, but I wanted to share this system in case it helps others. Constructive feedback is welcome.

Related

How to Install

  1. Download the repository ZIP below
  2. Unzip it and find the CSS snippet file
  3. Move the CSS file into your vault's .obsidian/snippets/ folder
  4. Open Obsidian → Settings → Appearance → CSS Snippets → Enable it

Stats

Stars

1

Forks

0

License

MIT

Last updated 4mo ago

Categories