vivaldi-fox icon indicating copy to clipboard operation
vivaldi-fox copied to clipboard

Option to change mode based on dusk/dawn?

Open ColonelGerdauf opened this issue 2 years ago • 3 comments

Setting the theme to change from light to dark and back based on defined times can make it awkward for where one's day-night cycle changes significantly throughout the year (from summer to winter).

I wonder then if it is feasible for the extension to determine what the actual sun rise and sun sets are, for each user.

ColonelGerdauf avatar Mar 05 '23 23:03 ColonelGerdauf

There are online APIs that give you the sun rise/sets times, but I'd prefer to avoid making the add-on rely on external APIs.

If you have a system dark theme that is set according to dusk/dawn already, potentially an option could be added to sync with the times the system theme switches, instead of using pre-defined times?

nt1m avatar Mar 06 '23 10:03 nt1m

Hmm... since it is a system theme, therefore non-removable via normal means, is it possible to retrieve values from it even when it is not active; AKA not the theme in use? There is some amount of delay between the cold start of Firefox, where the theme is loaded already, and the VivaldiFox extension loading up the customization.

Or maybe a VivaldiFox theme which preloads the extension settings for the 1st mode?

ColonelGerdauf avatar Mar 06 '23 18:03 ColonelGerdauf

@nt1m past a year old at this point, but I'd like your suggestion to be implemented (if you're still active). I use an app to change my system theme based on sunrise/sunset, so having a setting to toggle dark mode based on system theme would be very useful.

Kindanoob1664 avatar Jul 09 '24 05:07 Kindanoob1664