A retro-styled theme toggle component with pixel art sun and moon icons.
Click to toggle between light and dark themes
Add the ThemeProvider to your root layout and add the suppressHydrationWarning prop to the html tag.
suppressHydrationWarning