Skip to content
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

Add Dark/Light Mode Toggle to Contact Us Page for Improved User Accessibility #1100

Closed
wants to merge 2 commits into from

Conversation

byteom
Copy link
Contributor

@byteom byteom commented Nov 8, 2024

What does this PR do?

This PR adds dark mode functionality to the Contact Us page, enhancing user experience by allowing users to toggle between light and dark themes. The implementation includes new CSS for theme variables and JavaScript for toggling modes and persisting user preference.

Motivation: Improving accessibility and visual comfort for users in different lighting environments.

Dependencies: No additional dependencies were required for this change.

Fixes #974

image

Type of change

  • New Feature: Introduces dark/light mode functionality to the Contact Us page.

  • Chore: Refactored existing CSS to support theming with variables.

  • Bug fix (non-breaking change which fixes an issue)

  • Chore (refactoring code, technical debt, workflow improvements)

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots

image

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ticket-booking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2024 8:48pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gssoc-ext hacktoberfest-accepted level1 GirlScript Summer of Code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Dark/Light Mode Not Working on Multiple Pages
2 participants