- Using state and global state
- DOM manipulation
None
- 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 roothtml
element
- Utilise the existing dark-mode scss file by adding a
- When in Dark mode:
- The button icon should be
faSun
- The button icon colour should be
(#FFA500)
. You can use thecolor
prop on theIcon
component.
- The button icon should be
- 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
- Basic app UI (mobile responsive)
- Dark mode and light mode styles/themes