add theme provider and navbar toggle for dark/light mode#19
Open
Harika2011 wants to merge 2 commits into
Open
Conversation
|
@Harika2011 is attempting to deploy a commit to the Mehren's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
Hii @Harika2011 nice to meet you, you are just in 10 class and know about open source and github hats off to you buddy. Keep going more high freind |
Contributor
|
see @Harika2011 first when you work on issue and then you have to create the PR for that issue becuase you have to mention the issue you are solving on you pr description. So first asked into the issue or create new issue in that ask like can i assign these issue , i would love to work on these issue in these way... |
Author
|
Thanks for your feedback .Will follow these steps in the future. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Hi Mehren!
My name is Harika. I’m currently in 10th grade, and I'm very excited to be contributing to NSoC for the first time!
I’ve submitted this Pull Request to add a dark and light mode toggle to the site. I wanted to help improve the user experience while keeping the UI clean. Please let me know if my code looks okay or if you have any feedback to help me improve it.
What I did:
Created a ThemeProvider using React Context for global state management.
Added a toggle button in the Navbar with icon switching (🌙/☀️).
Configured Tailwind CSS to support class-based dark mode throughout the app.
Thank you!