Skip to content

Conversation

@TANMAY-G-PROG
Copy link
Contributor

Issue No 38

Rationale for this change

This PR implements light/dark mode functionality for two pages of the website to improve user experience and accessibility. The feature allows users to toggle between light and dark themes, providing better readability options and reducing eye strain in different lighting conditions.

What changes are included in this PR?

  • Added theme toggle functionality with light/dark mode switching
  • Implemented CSS variables for consistent theming across both pages
  • Added theme persistence using localStorage to remember user preference
  • Updated styling for both pages to support dark mode variants
  • Added smooth transitions between theme changes
  • Ensured proper contrast ratios for accessibility compliance

Page 1 Screenshots:

Before (Light Mode):
image

After (Dark Mode):
image

Page 2 Screenshots:

Before (Light Mode):
image

After (Dark Mode):
image

Are these changes tested?

  • Manual testing performed on both pages
  • Theme toggle functionality verified
  • localStorage persistence tested across browser sessions
  • Cross-browser compatibility tested (Chrome, Firefox, Safari)
  • Accessibility testing completed for contrast ratios

Are there any user-facing changes?

Yes, this PR introduces user-facing changes:

  • New theme toggle button/switch on both pages
  • Visual appearance changes when switching between light and dark modes
  • Theme preference is now saved and restored on subsequent visits
  • Improved readability in both light and dark environments

@vercel
Copy link

vercel bot commented Aug 31, 2025

@TANMAY-G-PROG is attempting to deploy a commit to the eccentriccoder01's projects Team on Vercel.

A member of the Team first needs to authorize it.

@TANMAY-G-PROG
Copy link
Contributor Author

Here the vercel is asking permission to authorise am i allowed to authorise or should i leave it as it is

@eccentriccoder01
Copy link
Owner

eccentriccoder01 commented Sep 1, 2025

Great work @TANMAY-G-PROG! Don't worry about the Vercel Preview...I'm merging this now, feel free to work on more issues or create new ones, and check out my other GSSoC25 projects too:

  • TalkHeal TalkHeal
  • SaralSeva SaralSeva
  • Venturalink Venturalink
  • Spamlyser Spamlyser
     
    Thanks for improving SaralSeva 🧡

@eccentriccoder01 eccentriccoder01 added bug Something isn't working good first issue Good for newcomers gssoc25 level 1 labels Sep 1, 2025
@eccentriccoder01 eccentriccoder01 merged commit 2d86632 into eccentriccoder01:main Sep 1, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working good first issue Good for newcomers gssoc25 level 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dark Theme not consistent across Privacy Poilcy and linking policy pages

2 participants