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

Bug🪲 : Light mode gets turned off on refreshing a page #4462

Closed
1 task done
Tejashri-Taral opened this issue Jun 12, 2024 · 4 comments
Closed
1 task done

Bug🪲 : Light mode gets turned off on refreshing a page #4462

Tejashri-Taral opened this issue Jun 12, 2024 · 4 comments
Assignees
Labels
gssoc GSSoC24 program label

Comments

@Tejashri-Taral
Copy link

Give a brief about the bug ✍️

Description:
Here is the issue I encountered -
The light mode preference does not persist across page refreshes. Each time the page is refreshed, the mode resets to the default instead of maintaining the user-selected mode (dark or light).
I think it is due to the theme state is not being persisted when the page is refreshed.

What is the expected behavior? 🤔

Description:
The selected dark or light mode should persist across page refreshes.
If a user selects light mode, the page should remain in dark mode even after refreshing.

Provide step by step information reproduce the bug 📄

Description:
Steps to reproduce the behavior:

Go to the website.
Toggle the light mode switch to change the theme.
Refresh the page.
Observe that the theme reverts to the default mode instead of retaining the selected mode.

Select program in which you are contributing

GSSoC24

Code of Conduct

@kunjgit
Copy link
Owner

kunjgit commented Jun 12, 2024

Hey @Tejashri-Taral !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹️

@kunjgit kunjgit added the gssoc GSSoC24 program label label Jun 12, 2024
@DakshantJain
Copy link

Hello @kunjgit,

I loved your beautifully designed website! I noticed a few areas where improvements could make it even more amazing. I'd be thrilled to help enhance its look and functionality for the best results.

Please consider assigning this task to me—I guarantee you'll be pleased with the outcome.

Thank you!

Best,
Dakshant Jain

@Tejashri-Taral
Copy link
Author

/assign

@Tejashri-Taral Tejashri-Taral closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
@kunjgit
Copy link
Owner

kunjgit commented Jul 18, 2024

Hey @Tejashri-Taral ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

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

No branches or pull requests

3 participants