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

Event listener for isDarkMode #66

Open
rphillips-nz opened this issue Jul 21, 2020 · 0 comments
Open

Event listener for isDarkMode #66

rphillips-nz opened this issue Jul 21, 2020 · 0 comments

Comments

@rphillips-nz
Copy link

The current static method works great, but I'd have to poll in order to respond to users changing the system preference. It would be great to have a callback method (or something similar) in order to change light/dark themes on the fly like I see some other applications doing.

At the moment my app just reads it on load rather than polling.

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

1 participant