You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a theme switcher button in the navbar that allows users to manually toggle between light and dark themes, independent of their system preferences.
Problem It Solves
The CSS currently includes dark mode media queries that only respond to system preferences. Users have no manual control to choose their preferred theme, limiting accessibility and user choice. Students studying at night may prefer dark mode regardless of system settings, while others may prefer light mode during the day.
Proposed Solution
Create a ThemeToggle component with sun/moon icons
Add theme state management using localStorage for persistence
Integrate ThemeToggle in app/components/navbar.tsx
Update CSS to respect both system preferences and manual user selection
Add smooth transitions between theme changes
Ensure all components and pages properly support both themes
Consider adding a "system default" option
Additional Context
The dark mode CSS already exists in globals.css (lines 19-24), so this primarily requires adding the UI control and state management. The current implementation uses CSS variables for theming, making it straightforward to implement manual theme switching.
Activity
mayannkkk19 commentedon Jul 5, 2026
Hey @sahitya0xsingh , i would like to work upon this issue under GSSoC'26.
Could you please assign this issue to me?
ankurkrgupta22122006-oss commentedon Jul 14, 2026
please assign this issue to me
mahek-builds commentedon Jul 26, 2026
Hey @sahitya0xsingh , i would like to work upon this issue under GSSoC'26.
Could you please assign this issue to me?
/assign
saniya-s4 commentedon Jul 31, 2026
Hi @sahitya0xsingh ,
I have reviewed the issue and understood the proposed feature. I would like to work on this issue under GSSoC 2026.
Could you please assign it to me if it's available?
Thank you!