Skip to content

fixed theme toggle bug #69

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shivchauhan795
Copy link

Fixed the bug of the theme toggle button.

Description: When we open the website then in toggle button the 'sun' is highlighted but the website is in dark mode. And after clicking on the toggle the toggle switch to dark but theme remain same as dark. Then again when we click on toggle then it starts working correctly.

This is extra step and create a bad UX.

Fixed the bug.

Here is the Screenshot of before and After.

Before:
Screenshot 2025-04-09 212727

After:
Screenshot 2025-04-09 224344

@hkirat please merge the PR.

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

Successfully merging this pull request may close these issues.

1 participant