Auto Accent

unlisted

by Helalsoft

Automatically switches Obsidian's accent color based on light or dark mode

Updated 2mo agoMIT
View on GitHub

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

  1. Download the latest release (obsidian-auto-accent.zip).
  2. Extract the contents into your vault's plugin folder: <vault>/.obsidian/plugins/obsidian-auto-accent/.
  3. Reload Obsidian and enable the plugin in Settings → Community plugins.

Manual Installation (Development)

  1. Clone this repository.
  2. Run bun install to install dependencies.
  3. Run bun run build to compile the plugin.
  4. Copy main.js and manifest.json to 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.