An open API service indexing awesome lists of open source software.

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.

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