Skip to content

NoahGiesel/dark-mode-theme-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with Create React App

useDarkTheme.js is our custom hook to import where it is needed.

App.js is (in this case) our target.

App.css in body we declare our colors as variable (to make things more scalable), adding our custom .dark-mode class with accent colors when switching to dark mode .

npm start

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

The page will reload if you make edits.
You will also see any lint errors in the console.

About

Custom hook for localStorage theming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published