Auto Accent
unlistedby Helalsoft
Automatically switches Obsidian's accent color based on light or dark mode
Updated 2mo agoMIT
Obsidian Auto Accent
Automatically switches Obsidian's accent color based on your system's light or dark theme.
Features
- Theme-Aware: Automatically detects whether Obsidian is in Light or Dark mode (respects both OS settings and manual overrides).
- Persistent: Saves the accent color to your global configuration, preventing flicker on startup.
- Customizable: Set different accent colors for light and dark modes in the plugin settings.
- Native Experience: Integrates seamlessly with Obsidian's internal styling API.
Installation
From GitHub
- Download the latest release (
obsidian-auto-accent.zip). - Extract the contents into your vault's plugin folder:
<vault>/.obsidian/plugins/obsidian-auto-accent/. - Reload Obsidian and enable the plugin in Settings → Community plugins.
Manual Installation (Development)
- Clone this repository.
- Run
bun installto install dependencies. - Run
bun run buildto compile the plugin. - Copy
main.jsandmanifest.jsonto your plugin folder.
Settings
Go to Settings → Auto accent to configure your preferred colors:
- Light mode accent: The color applied when Obsidian is in light mode.
- Dark mode accent: The color applied when Obsidian is in dark mode.
License
This project is licensed under the MIT License.
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.