Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 693 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 693 Bytes

Dark Mode with Styled Components

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.

Screen Shot 2019-06-02 at 3 (4)

Local Setup

  1. Clone this repository with git clone https://github.com/tsnolan23/dark-mode-toggle
  2. Change into the repo directory with cd dark-mode-toggle
  3. Install dependencies with yarn install
  4. Start up the app yarn start