-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Persist theme in localstrorage #91
Comments
It would be nice if it kept the configuration that the user chose. Go for it! |
Yes, We can store the current theme in local-storage (when a user visits the website it will be set to Thus, When a user visits the site theme will be set as per the user's selected theme (by default it will be set to |
I would like to work on it, unless some else took it up. Let me know :) |
@jsrikrishna11 Go for it :) |
After choosing a theme other than the default theme which is
'light'
. If I refresh the page, the page theme is being reset to'light'
. This is because, on reload it is callinguseState('light')
again.Is it even an issue?
The text was updated successfully, but these errors were encountered: