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

Added auto theme change based on system theme changes #57

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

samueljim
Copy link

If the user changes there system theme then this will automatically change the theme of nightwind. This will only happen if the user hasn't chosen a fixed/static theme

if the user hasn't set chosen a theme this code will switch the dark/light mode based on changes to the system theme after first page load
if the user hasn't set chosen a theme this code will switch the dark/light mode based on changes to the system theme after first page load
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

Successfully merging this pull request may close these issues.

1 participant