fjohanssondev / podcast-app

https://podcast-app-henna.vercel.app
0 stars 0 forks source link

Create a toggle switch for Dark Mode #25

Open fjohanssondev opened 11 months ago

fjohanssondev commented 11 months ago

Use Zustand to control the state of wether it should be light or dark mode across the application. Always make use of Tailwinds dark: attribute when deciding on how each component should look with dark mode.

Save and read the state from the localStorage Web API

We'll make use of the next-themes to control the state of the theme.