Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to change mode based on dusk/dawn? #128

Open
ColonelGerdauf opened this issue Mar 5, 2023 · 2 comments
Open

Option to change mode based on dusk/dawn? #128

ColonelGerdauf opened this issue Mar 5, 2023 · 2 comments

Comments

@ColonelGerdauf
Copy link

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.

@nt1m
Copy link
Owner

nt1m commented Mar 6, 2023

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?

@ColonelGerdauf
Copy link
Author

ColonelGerdauf commented Mar 6, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants