Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

CSS Snippet Designer

jeffjberryjeffjberry156 downloads

Design CSS snippets visually for typography, colors, shadows and UI elements.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

CSS Snippet Designer interface

A visual styling studio for Obsidian. Tune typography, colors, shadows, backgrounds and UI elements with live controls, then save the result as a standard CSS snippet.

Desktop only — requires Obsidian 1.7.2 or newer.

Features

  • Live preview across both Reading View and Live Preview
  • Generates plain CSS in real time, ready to copy and share
  • Curated presets and procedural background patterns
  • Shadows, glows and animations, with reduced-motion support
  • Fenced output that preserves your own CSS between saves
  • Built-in structural CSS validation before anything is written

The designer

The CSS Snippet Designer panel — the Typography tab

Switch between Presets, Typography, Colors, UI Elements, and Shadows & Outlines; every control updates the live preview and the generated snippet in real time.

Live CSS generation

The generated CSS pane with a Copy Code button

Every control change updates the Obsidian UI instantly and writes the matching plain CSS in real time. The live snippet appears in a code pane with a Copy Code button, so you can copy and share your CSS just like any other snippet.

Installation

Copy main.js, manifest.json, and styles.css into .obsidian/plugins/css-snippet-designer/ inside your vault, then reload Obsidian and enable CSS Snippet Designer under Settings → Community plugins.

Development

npm install
npm run dev
npm run check
npm run build

dev runs esbuild in watch mode, check runs typecheck, lint, tests, and a smoke load, and build produces the production bundle.

Pure TypeScript with no runtime dependencies. All CSS is produced by pure generator functions and validated before it reaches disk. The suite covers 288 tests running on Node's built-in test runner.

AI disclosure

This plugin was developed with the assistance of AI coding tools. All code is reviewed, tested, and maintained by Jeffrey Berry. AI can make mistakes — if you find one, please Open an issue. This is my first app, and I'm still learning — thank you for your patience and feedback.

Privacy

This plugin runs entirely offline: it makes no network requests and collects no telemetry. It writes to the system clipboard only when you click Copy Code.

License

MIT. Bundled fonts and their licenses are listed in THIRD-PARTY-NOTICES.md.

HealthExcellent
ReviewCaution
About
Design custom Obsidian styles with a visual studio that tunes typography, colors, backgrounds, shadows and UI elements using live controls. Preview changes in Reading and Live Preview while generating validated plain CSS in real time, with presets, procedural backgrounds, animations and fenced output.
ThemingCSSAppearance
Details
Current version
1.0.2
Last updated
Last week
Created
2 weeks ago
Updates
3 releases
Downloads
156
Compatible with
Obsidian 1.7.2+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
jeffjberryjeffjberry
GitHubjeffjberry
  1. Community
  2. Plugins
  3. Theming
  4. CSS Snippet Designer

Related plugins

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Contextual Typography

Add a data-tag-name attribute to all top-level divs in preview mode containing the child's tag name, allowing contextual typography styling.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Custom Font Loader

Customize your vault with any font you want (+ Support for Android and iOS).

Lapel

Show the heading levels in the gutter of the editor.

Show Whitespace

CSS styles and CM6 extensions to highlight whitespace in Source and Live Preview modes.

Snippetor

Create and tweak common snippets.

Fontsource

Load custom fonts from Fontsource into your notes.

Focus Mode

Add a toggle to hide interface elements so you can focus on your note.