This simple application explores how you can use Styled Component's ThemeProvider
to allow a user to toggle between a light and a dark mode. Once a user has set a preference, it is saved into local storage to remember their choice upon returning.
- Clone this repository with
git clone https://github.com/tsnolan23/dark-mode-toggle
- Change into the repo directory with
cd dark-mode-toggle
- Install dependencies with
yarn install
- Start up the app
yarn start