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

https://github.com/khianvictorycalderon/react-light-dark-theme

A react project that demonstrates the basic of light and dark theme
https://github.com/khianvictorycalderon/react-light-dark-theme

dark-theme light-dark-theme light-theme react theme-changer

Last synced: 6 months ago
JSON representation

A react project that demonstrates the basic of light and dark theme

Awesome Lists containing this project

README

          

# Light Dark Theme

This is a react project that demonstrates the basic of light and dark theme.
Use useState if you want to declare more variables.
I used ternary operator instead of if else so that the code looks so much cleaner but slightly more complicated than if else statement.