Closed Sakyasekhar closed 22 hours ago
Hey @Sakyasekhar The issue has been assigned to you. You can start working on it.
@TheOpenInnovator I have made the PR, please check it.
Hi @TheOpenInnovator,
Thank you for assigning the issue to me. I have already submitted a pull request (PR), but it seems that after my PR, another PR from @Mukku27 was merged, which also addresses the dark mode issue and has caused conflicts with my PR.
I’ve resolved the conflicts and updated my PR, but I wanted to make sure you’re aware of the situation before proceeding.
Looking forward to your guidance on how we should move forward. Thanks again!
Hey @Sakyasekhar We have something for you under the PR #16 . Please do check and hope you start working on it.
@TheOpenInnovator , I fixed it just now, check it out.
Congratulations @Sakyasekhar Your PR has been merged.
When a user enables dark mode, the website switches to the dark theme as expected. However, the dark mode setting does not persist after a page refresh, causing the site to revert back to the default light mode. This behavior affects user experience, as users need to re-enable dark mode after each refresh.
Steps to Reproduce:
Expected Behavior:
The dark mode setting should be remembered even after a page refresh, so the website remains in dark mode if it was enabled previously.
Actual Behavior:
The website resets to light mode on page refresh, regardless of the user’s previous dark mode selection.
Suggested Solution:
Store the dark mode preference in the user's local storage or cookies. On page load, check for the stored preference and apply the appropriate theme based on the saved setting.
Request:
@TheOpenInnovator , could you please assign this issue to me? I would be happy to work on it and implement the solution.