feat: implement comprehensive dark/light mode toggle across the platform (#16)#32
Open
nitishchaubeyy wants to merge 3 commits into
Open
feat: implement comprehensive dark/light mode toggle across the platform (#16)#32nitishchaubeyy wants to merge 3 commits into
nitishchaubeyy wants to merge 3 commits into
Conversation
|
@nitishchaubeyy is attempting to deploy a commit to the Mehren's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Hey @Mehren7 - following up on this PR. Let me know if I should make any changes! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description 🌓
This PR resolves #16 by fully integrating a robust Dark/Light mode theme system into the Parampara platform.
Rather than just adding a toggle button, this implementation ensures a seamless, full-site dark mode experience that transitions smoothly without flashes of incorrect themes.
Scope of Work & Enhancements 💡
next-themesto handle system preferences and client-side theme switching without hydration mismatches.tailwind.config.tsto use theclassstrategy for precise control over dark mode tokens.dark:Tailwind variants to:app/layout.tsxandapp/globals.css(Global base styling)components/Navbar.tsx(Including mobile hamburger menu)app/page.tsx(Hero, Featured Cards, Info sections)components/InstructorCard.tsx(Dynamic cards)app/instructor/[id]/page.tsx(Dynamic profile pages)app/about/page.tsx(Static info pages)transition-colors duration-300to all major components so the theme switches elegantly without jarring instant color changes.Testing ✅
Closes #16