Skip to content

tjbrennan/obsidian-color-cycler

Repository files navigation

Obsidian Color Cycler

Do you prefer the default Obsidian theme but get bored with your accent color quickly? Add some spice to your vanilla with Color cycler! Use this plugin to dynamically change the accent color via the ribbon menu or command palette. Cycle behavior can be configured to increment, random, or preset colors. Cycling can also happen automatically at a specified interval.

Color is defined using HSL.

Usage

  • Using the command palette: Color cycler: Cycle accent color
  • Using the ribbon menu: Click the Palette icon Screenshot 2024-02-28 at 13 01 42

Configuration

Status bar

The current HSL value of the accent color can be displayed in the status bar. This can be useful for debugging.

Separate theme settings

Color cycler can be configured to use one set of color behaviors across dark and light themes, or the settings can be split into separate dark and light theme behaviors.

Behavior

The plugin offers three different color cycling behaviors, each with their own advanced options:

  • Increment: Cycle through the color wheel at a specified angle
  • Random: Randomly select a color
  • Preset: Cycle through a list of preset colors

Timer

A timer can be set to automatically cycle the color at a specified interval in seconds. The timer resets when the plugin loads or the color is cycled manually.

Cycle color on load

The color can be cycled automatically when the plugin loads. This can be useful if you close the app before the timer has a chance to cycle the color.

Support

Thanks for using this plugin! If you encounter bugs or have a feature request, please create an issue on GitHub.

If you enjoy using this plugin, consider supporting my work:

Buy Me a Coffee at ko-fi.com