by swiSwift
Auto-switch CSS snippets, themes— or toggle manually via status bar/floating button. Supports local image backgrounds, font switching with color/opacity/margin
★ 2 stars↓ 4,123 downloadsUpdated 1mo agoMIT
SwiftSwitch
Quickly toggle Obsidian CSS Snippets from a status bar popup.

Features
- Status Bar Button — Click the SwiftSwitch button in the status bar to open the management popup
- Toggle Snippets — Click any snippet chip to enable/disable it instantly
- Custom Groups — Right-click empty space to add groups, then drag snippets into them
- Drag & Drop — Drag snippet chips between groups or back to "Ungrouped"
- Fold/Expand Groups — Click group header to collapse/expand, state is persisted
- i18n — Switch between Chinese and English via the CN/EN toggle in the popup header
- Right-click Menu — Copy content, edit, edit (open externally), delete, move to group
- Add New Snippet — Create new CSS snippets directly from the popup
- Eye Care Colors& Patterns — Textured backgrounds: linen, dots, grid, stripe, aurora, breathe
- Dark/Light Mode Auto-Switch — Eye care colors and floating button auto-adapt when switching modes
- Floating Button — Pin a draggable floating button with tangerine (dark) / grey (light) gradient style

Installation
From GitHub
- Download
main.jsandmanifest.jsonfrom the latest release - Create a folder named
SwiftSnippetsin your vault's.obsidian/plugins/directory - Place the downloaded files inside that folder
- Enable the plugin in Obsidian Settings → Community Plugins
From Obsidian Community Plugins (pending review)
- Open Settings → Community Plugins
- Search for "SwiftSwitch"
- Click Install, then Enable
Usage
- After enabling the plugin, a "SwiftSwitch" button appears in the status bar
- Click it to open the snippet management popup
- Click a snippet chip to toggle it on/off
- Right-click a chip for more options (edit, delete, copy, move to group)
- Right-click empty space in the popup to add a new group
- Drag snippets between groups to organize them
Development
This plugin is desktop-only because it uses Node.js APIs for file operations.
License
MIT
Sponsor / 赞助
If you find this plugin helpful, consider buying me a coffee! / 如果这个插件对你有帮助,请考虑支持我!

For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.