Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Optimize Dark Mode Toggle Functionality (#35)
This PR simplifies and optimizes the dark mode toggle logic. It ensures correct functionality when the color mode preference is set to 'system'. Now, the button works seamlessly for all initial states, including 'system', and correctly toggles between 'dark' and 'light' modes.
- Loading branch information