Skip to content

Commit 81c42eb

Browse files
authoredMar 28, 2021
Update README.md
1 parent f110134 commit 81c42eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎dark-mode/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
### Difficulty: Medium | Time required: ~ 30 minutes
44

5+
 
56
# Requirements
67
- Add dark-mode switching functionality to the *existing* dark-mode button
78
- Utilise the *existing* dark-mode scss file by adding a `dark-mode` class to the root `html` element
89
- When in Dark mode:
910
- The button icon should be `faSun`
1011
- The button icon colour should be `(#FFA500)`. You can use the `color` prop on the `Icon` component.
1112

13+
 
1214
# Think about
1315
- How we would use Dark mode on other potential routes/components in a bigger application. Would your solution work for this?
1416
- How we can apply a class to the `html` DOM element

0 commit comments

Comments
 (0)
Failed to load comments.