Skip to content

mrbhawnish/dark-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module Project: Composing Stateful Logic - Dark Mode

  • Built a custom hook that let's you save data to localStorage
  • Built a second custom hook that sets the dark-mode class on the body element
  • Composed the two new hooks together to be able to set and persist user's dark mode preference in the app

About

SPA showcasing graph data that can be switched to dark/light mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 43.5%
  • SCSS 37.2%
  • HTML 19.3%