Skip to content

fixed theme toggle bug#69

Open
shivchauhan795 wants to merge 1 commit intocode100x:mainfrom
shivchauhan795:toggle-fixing
Open

fixed theme toggle bug#69
shivchauhan795 wants to merge 1 commit intocode100x:mainfrom
shivchauhan795:toggle-fixing

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