Navigation Menu

Skip to content

Commit

Permalink
feat: customize readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnolan23 committed Jun 2, 2019
1 parent 04ee90c commit 26786a8
Showing 1 changed file with 8 additions and 64 deletions.
72 changes: 8 additions & 64 deletions README.md
@@ -1,68 +1,12 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
# Dark Mode with Styled Components

## Available Scripts
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.

In the project directory, you can run:
<img width="552" alt="Screen Shot 2019-06-02 at 3 (4)" src="https://user-images.githubusercontent.com/12575994/58767565-aa26e900-8552-11e9-8cb2-d4b244f454d9.png">

### `npm start`
### Local Setup

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
1. Clone this repository with `git clone https://github.com/tsnolan23/dark-mode-toggle`
1. Change into the repo directory with `cd dark-mode-toggle`
1. Install dependencies with `yarn install`
1. Start up the app `yarn start`

0 comments on commit 26786a8

Please sign in to comment.