swiSwift457 downloadsAuto-switch CSS snippets, themes— or toggle manually via status bar/floating button. Supports local image backgrounds, font switching with color/opacity/margin
Quickly toggle Obsidian CSS Snippets from a status bar popup.


main.js and manifest.json from the latest releaseSwiftSnippets in your vault's .obsidian/plugins/ directoryCannot read properties of null error when editing snippets via right-click menu on macOS; click event no longer bubbles to overlay and closes popup prematurely-light/-dark suffix (e.g. 田-light.png + 田-dark.png) auto-switch when toggling dark/light modess- preset snippets are remembered; no longer recreated on plugin reload.obsidian/snippets/ss-*.css files with .theme-dark/.theme-light selectors for automatic dark/light mode adaptation__bg__ key instead of localized name, preventing duplicate groups on language switch; auto-migrates old "背景"/"Background" groupselectron.shell to child_process.exec for reliable folder openingoverflow-x: hiddenposition: fixed with dynamic position tracking{ passive: false } to wheel event listener to eliminate Chrome violation warningsetTimeout to avoid blocking the click handler and eliminate long-task violationpic folder; auto-detected and displayed as pill-shaped chips_getPluginDir() with fallback chain to fix image loading path issuesscrollbar-gutter: stable prevents chip reflow when scrollbar appearsscrollbar-gutter: stable to prevent chip reflow when scrollbar appearsThis plugin is desktop-only because it uses Node.js APIs for file operations.
MIT
If you find this plugin helpful, consider buying me a coffee! / 如果这个插件对你有帮助,请考虑支持我!
