In macOS, you can choose a light or dark mode, and you can choose it to switch automatically based on what time it is or how dark it is. It would be nice if Inkdrop followed that setting in macOS & iOS too.
1 Like
Yeah that’d be nice to support.
Thank you for the suggestion.
1 Like
Electron has a guide to dark mode; I’m going to see if a theme can simply use the prefers-color-scheme media query.
Yeah, the following code works:
window.matchMedia('(prefers-color-scheme: dark)').matches
So, we can use the default dark mode based on the system preferences.
But it should not be switched automatically if you have custom themes.
Will be supported in the next version
Fixed in v5.5.2-beta.1
1 Like