Design comparison
SolutionDesign
Solution retrospective
The other thing is the toggle it works but if the user setting is on dark mood it doesn't work, the prefers-color-scheme: dark or prefers-color-scheme: light doesn't work.
update: switched state to useReducer much cleaner now : )
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord