Skip to content
A simple app that allows toggling between light and dark mode
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public feat: adjust page title Jun 2, 2019
src feat: add comments for medium articles Jun 2, 2019
.gitignore Initial commit from Create React App May 31, 2019
README.md feat: customize readme Jun 2, 2019
package.json feat: prepare deployment Jun 2, 2019
yarn.lock feat: prepare deployment Jun 2, 2019

README.md

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
You can’t perform that action at this time.