zeon-studio / nextplate

Nextplate is a free starter template built with Next.js and TailwindCSS. It provides you with almost everything you need to jump-start your Next.js project. Try Nextplate and save yourself hours of work.
https://zeon.studio/preview?project=nextplate
MIT License
413 stars 252 forks source link

Checkbox Doesn't Shift Left When Initial Theme is Dark, but Theme Switches Successfully #28

Closed impiia closed 6 months ago

impiia commented 6 months ago

If the initial theme is dark, the checkbox does not shift to the left when the theme is toggled, even though the theme changes as expected. This issue does not occur if the initial theme is light. Changing defaultChecked to checked in the ThemeSwitcher component resolves the issue.

DifficultPhil commented 6 months ago

I noticed this bug too