-
-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style: add dark mode toggle functionality #2715
base: main
Are you sure you want to change the base?
style: add dark mode toggle functionality #2715
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, @SnowyCrest! 🎉 Thank you for submitting your first pull request. Your contribution is valuable and we appreciate your efforts to improve our project.
We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related Issue: #2714
Description
I have added functionality for users to choose between dark and light mode on the website. This is done through editing the tailwind CSS config and creating a handler for the two modes.
Since the styling of the text and layout was hardcoded to be black, I have also made sure the text is readable and clear on both themes.
Screenshots
Here's how the different modes look on the Homepage and the Projects, though this applies to all of the pages.
Homepage - Light Mode
Homepage - Dark Mode
Projects - Light Mode
Projects - Dark Mode