-
Notifications
You must be signed in to change notification settings - Fork 169
Add dark/light theme support #130
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
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
d76ab2b
to
9497899
Compare
Thanks Mohammed. Can you re-push without the indentation changes? |
i cant able to understand by means of indentation |
Please rebase these changes against head, which should fix |
9497899
to
d99a2b4
Compare
Please check one I have edited it |
This PR introduces a theme toggle feature that allows users to switch between light and dark modes across the website.
🔧 Key Changes:
Added two CSS files:
theme-dark.css
theme-light.css
Integrated a theme toggle button in the top navigation bar
Saved the selected theme using localStorage so it persists across sessions
Updated default.html to dynamically load the selected theme on page load
🧪 Tested on:
Desktop (Chrome, Firefox)
Mobile responsive check
Theme toggle works across all pages and persists reloads
📌 Notes:
Let me know if you'd like the theme colors tweaked or the toggle placed differently.