Skip to content

jsonslim/reactjs-coding-test

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Dark Mode Coding Challenge πŸŒ™ Β  medium time

Β 

Goals / Outcomes ✨

  • Using state and global state
  • DOM manipulation

Β 

Pre-requisites βœ…

None

Β 

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

Β 

What's Already Been Done 🏁

  • Basic app UI (mobile responsive)
  • Dark mode and light mode styles/themes

Β 

Screenshots πŸŒ„

Β  screenshot-light screenshot-dark

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 40.9%
  • SCSS 31.6%
  • HTML 27.5%