-
Notifications
You must be signed in to change notification settings - Fork 360
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
Persisting Dark Mode Preference Across Visits #295
Comments
Thank you for creating this issue! 🎉 Your issue will soon be reviewed by either the PA or a mentor. Please note that Level 1 is temporary and can be changed during the review. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊 You can also check our CONTRIBUTING.md for guidelines on contributing to this project. |
Thanks for creating the issue in BuddyTrail!
We're excited to see your contribution as part of GSSOC Extended Edition 2024 and Hacktoberfest! 🎉 |
@PriyaGhosal , I have fixed the issue and raised a PR. Please consider reviewing it. Thank you! |
Hello @anuragbansall! Your issue #295 has been closed. Thank you for your contribution! |
Hello @anuragbansall! Your issue #295 has been closed. Thank you for your contribution! |
Hello @anuragbansall! Your issue #295 has been closed. Thank you for your contribution! |
Hi @PriyaGhosal ,
I noticed that when users reload the site, their last dark mode preference isn't saved, and the site defaults back to light mode. I'd like to fix this so that when users revisit the site, their last selected theme is saved and applied automatically, preventing the need to change it every time.
I plan to implement this using either localStorage or cookies. Kindly assign this issue to me.
The text was updated successfully, but these errors were encountered: