Skip to content

nimishjn/theme-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Toggle Theme in ReactJs

A comprehensive guide to toggle between dark theme and light theme in ReactJs.

Article: https://nimishjn.medium.com/toggle-theme-in-reactjs-4095dd35c69d
CodeSandbox: https://codesandbox.io/s/theme-toggle-h54n8

Folder structure

root
β”œβ”€β”€ public
β”‚   β”œβ”€β”€ favicon.ico
β”‚   β”œβ”€β”€ index.html
β”‚   └── manifest.json
β”‚
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   └── asset files
β”‚   β”‚
β”‚   β”œβ”€β”€ Components
β”‚   β”‚   β”œβ”€β”€ Header
β”‚   β”‚   β”‚   β”œβ”€β”€ Header.js
β”‚   β”‚   β”‚   └── header.css
β”‚   β”‚   β”‚
β”‚   β”‚   └── Landing
β”‚   β”‚       β”œβ”€β”€ Landing.js
β”‚   β”‚       └── landing.css
β”‚   β”‚
β”‚   β”œβ”€β”€ App.css
β”‚   β”œβ”€β”€ App.js
β”‚   β”œβ”€β”€ index.js
β”‚   └── Theme.js
β”‚
β”œβ”€β”€ .gitignore
β”œβ”€β”€ README.MD
β”œβ”€β”€ package-lock.json
└── package.json
(end)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors