Switch for Light/Dark mode instead of two shortcuts

Now turning on Light/Dark mode can be achieved by setting two separate shortcuts. I would like to see it as one shortcut (switch), like the star/unstar option recently added.

27 Likes

Yeah anything like this should be simply “toggle” with a single command to do it.

2 Likes

Adding onto this, I’d love to see automatic toggling based on the current system theme. Not sure how prevalent this is on Windows/Linux, but at least MacOS will automatically switch between dark/light mode based on time of day.

6 Likes

FYI, I filed a separate feature request for auto light/dark mode, as per Silver’s recommendation.

5 Likes

Please allow one hotkey to toggle either dark or light themes. Currently these two options require two separate hotkeys.

This request is similar to the Star/unstar current file hotkey.

13 Likes

Came here to write exactly this.
No point of two hotkeys, when we are actually toggling between light and dark, we can’t use them both at the same time.
A toggle key serves a double purpose, while a “Use light theme” and “Use dark theme” serve only one and confuse me, as I need to ask myself the following:

  1. Which theme am I using?
  2. Which theme do I need to switch to?
  3. What was the hotkey for that?

Edit: this feature request is a duplicate of Switch for Light/Dark mode instead of two shortcuts

3 Likes

yes please

Present in Obs hotkey section.

1 Like

Agreed.

Came here to ask for this. No need for 2 shortcuts when we could use a single command/shortcut for the toggle.

1 Like

As there are only two colour schemes wouldn’t it make more sense to have a hotkey for “toggle colour mode” instead of two separate hotkeys for “use dark mode” and “use light mode”?

I just noticed GitHub - chrisgrieser/obsidian-theme-design-utilities: Some Utilities and Quality-of-Life Features for Designers of Obsidian Themes has a single command for toggling dark and light mode that you can set as a hotkey. :partying_face:

Color schemes are theme-based.

If you are on Mac OS with Monterey or above installed there is a simple way to create a keyboard shortcut to toggle from dark to light globally (which is actually much better than toggling it only in Obsidian…).

Then you just have to set the base color scheme of Obsidian to “Adapt to system” and there you are.

Here is a screenshot of the shortcut

There are a few other functions that are entirely part of my obsidian workflow but that are actually set globally in the Mac OS shortcut app. For example looking for a word in a local or online dictionary, internet search or setting timers. It very practical because those functions can also be used in other apps.

1 Like