Navigation Menu

Skip to content

tsnolan23/dark-mode-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple app that allows toggling between light and dark mode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published