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

Persisting Dark Mode Preference Across Visits #295

Closed
anuragbansall opened this issue Oct 8, 2024 · 6 comments
Closed

Persisting Dark Mode Preference Across Visits #295

anuragbansall opened this issue Oct 8, 2024 · 6 comments

Comments

@anuragbansall
Copy link
Contributor

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.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

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.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

Thanks for creating the issue in BuddyTrail!
Before you start working on your PR, please make sure to:

  • ⭐ Star the repository if you haven't already.
  • Pull the latest changes to avoid any merge conflicts.
  • Attach before & after screenshots in your PR for clarity.
  • Include the issue number in your PR description for better tracking.
    Don't forget to follow @PriyaGhosal – Project Admin – for more updates!

We're excited to see your contribution as part of GSSOC Extended Edition 2024 and Hacktoberfest! 🎉
Happy open-source contributing!

@anuragbansall
Copy link
Contributor Author

@PriyaGhosal , I have fixed the issue and raised a PR. Please consider reviewing it. Thank you!

Copy link
Contributor

github-actions bot commented Oct 8, 2024

Hello @anuragbansall! Your issue #295 has been closed. Thank you for your contribution!

Copy link
Contributor

github-actions bot commented Oct 9, 2024

Hello @anuragbansall! Your issue #295 has been closed. Thank you for your contribution!

Copy link
Contributor

github-actions bot commented Oct 9, 2024

Hello @anuragbansall! Your issue #295 has been closed. Thank you for your contribution!

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

No branches or pull requests

1 participant