Skip to content

davido242/tailwindcss-light-dark-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the app

This is a react web app, illustrating the use of dark and light theme using tailwindcss,

It also persists the state from dark theme using localStorage to hold the selected theme, It toggles with a button for light and dark mode

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

npm run build

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

How it looks on Dark Mode

image

How it looks on Light Mode

image

About

Side project to grasp the logic of tailwind Css Light and Dark Mode system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published