https://github.com/angelmtztrc/tailwindcss-darkmode
A basic example of Dark/Light mode with TailwindCSS and ReactJS.
https://github.com/angelmtztrc/tailwindcss-darkmode
javascript postcss reactjs tailwindcss
Last synced: about 2 months ago
JSON representation
A basic example of Dark/Light mode with TailwindCSS and ReactJS.
- Host: GitHub
- URL: https://github.com/angelmtztrc/tailwindcss-darkmode
- Owner: angelmtztrc
- License: mit
- Created: 2020-09-28T13:29:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T13:39:35.000Z (almost 6 years ago)
- Last Synced: 2025-02-03T18:56:05.150Z (over 1 year ago)
- Topics: javascript, postcss, reactjs, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 215 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tailwind CSS Dark Mode - ReactJS
Little React app to create dark / light mode in tailwindcss
## Setting up
You need to install all of the dependencies of the project:
```sh
yarn install
# or
npm install
```
Then, you need to generate the build of tailwindcss with the following command:
```sh
yarn build-css:dev
# or
npm build-css:dev
# if you need production build
yarn build-css:prod
# or
npm build-css:prod
```
Now, you can run the ReactJS App:
```sh
yarn start
# or
npm start
```
## This project use
All the important library's that the project use.
- ReactJS
- PostCSS
- Tailwind CSS
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
[MIT LICENSE](LICENSE) - Angel Martinez