Skip to content
 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dark Mode Pairing/Small Coding Challenge 🌙

Difficulty: Medium | Time required: ~ 30 minutes

Requirements

  • Add dark-mode switching functionality to the existing dark-mode button
    • Utilise the existing dark-mode scss file by adding a dark-mode class to the root html element
  • When in Dark mode:
    • The button icon should be faSun
    • The button icon colour should be (#FFA500). You can use the color prop on the Icon component.

Think about

  • How we would use Dark mode on other potential routes/components in a bigger application. Would your solution work for this?
  • How we can apply a class to the html DOM element

screenshot-light screenshot-dark

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages