Add Dark Mode Support
Fixes Issue
Closes #1838
Changes proposed
- Added Dark Mode Support in Tailwind Config File
- Installed next-themes package which enables us to change to dark mode programmatically
- Added Dark Mode Toggle Button
- Fixed Text that weren't changing on switching
Check List (Check all the applicable boxes)
- [x] My code follows the code style of this project.
- [x] My change requires changes to the documentation.
- [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed.
- [x] This PR does not contain plagiarized content.
- [x] The title of my pull request is a short description of the requested changes.
Screenshots
Note to reviewers
I found that the menu button for mobile-view doesn't work, should I create a new issue and PR for it?
How can I fix this?
I would also be open to suggestions on my work.
Sorry @Keshraf for my slow reply, I will take a look today
I found that the menu button for mobile-view doesn't work, should I create a new issue and PR for it?
I just saw your comment @Keshraf, it would be better to fix it in this PR
Okay @eddiejaoude, I will fix it in this PR 👍
Welcome @Keshraf! Thank you so much for your first pull request!
Sorry @Keshraf I just realised we might be talking about different menu buttons. Are you talking about the light/dark mode or the "hamburger" one? If for the existing button that is not required for this PR, sorry I assumed you meant for your new button
Please clarify and we can hopefully get this merged soon, thanks 👍
Sorry @Keshraf I just realised we might be talking about different menu buttons. Are you talking about the light/dark mode or the "hamburger" one? If for the existing button that is not required for this PR, sorry I assumed you meant for your new button
Please clarify and we can hopefully get this merged soon, thanks 👍
I was talking about the "hamburger menu" button. Should I add it to this PR?
Yes please, if you can add it to this PR as it is related to the changes here 👍
Sorry you have some conflicts to resolve now because other PRs have been merged in