Skip to content

Add Dark Mode Toggle on GSoC Program Page#887

Open
Aarya-Chaudhari wants to merge 6 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:gdark
Open

Add Dark Mode Toggle on GSoC Program Page#887
Aarya-Chaudhari wants to merge 6 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:gdark

Conversation

@Aarya-Chaudhari
Copy link
Contributor

📋 Description

This PR introduces a dedicated Dark Mode toggle on the GSoC program page to improve readability and user experience, especially during long browsing sessions. Users can now seamlessly switch between light and dark themes using a toggle button added to the navbar. The selected theme is saved in localStorage to persist across page reloads.

Changes Made
Added a Dark Mode toggle button in the navbar of gsoc.html
Implemented dark theme styles using CSS variables and a dark-mode body class
Updated background, text, cards, sections, and footer colors for dark mode compatibility
Added JavaScript logic to:
Toggle dark mode on click
Persist user preference using localStorage
Dynamically update the toggle icon (🌙 / ☀️)
Ensured no changes to existing layout, animations, or responsiveness

📸 Screenshots (MANDATORY for UI/UX changes)

Screenshot 2026-02-19 092600
  • This PR includes UI/UX changes → Screenshots attached
  • This PR does NOT include UI/UX changes

Closes #861

@Aarya-Chaudhari
Copy link
Contributor Author

Hello @sayeeg-11
I have raised a PR resolving issue #861 and have aslo resolved merge conflicts.
Please review and let me know if any changes needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add Dark Mode Toggle on GSoC Program Page

1 participant

Comments