Skip to content
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

Add dark mode #155

Open
5 tasks done
RahulPrasadYadav opened this issue Jan 18, 2025 · 23 comments
Open
5 tasks done

Add dark mode #155

RahulPrasadYadav opened this issue Jan 18, 2025 · 23 comments

Comments

@RahulPrasadYadav
Copy link

Description

Dark mode reduces glare and minimizes eye strain, especially in low-light environments.
It softens the brightness of the screen, making it more comfortable to read for extended periods.

Screenshots

Image

Checklist

  • I have checked the existing issues.
  • I follow Contributing Guidelines of this project.
  • I am a SWOC'25 contributor.
  • I am a KWOC'24 contributor.

Code of Conduct

Copy link

Hey @RahulPrasadYadav, Welcome to 💖TelMedSphere !!! 🎊
Thanks for opening an issue! 🙌 Please wait for the issue to get reviewed. If it is relevant, it will get assigned to you.
Happy Coding !!! ✨

@PratikMane0112
Copy link
Owner

Hey @RahulPrasadYadav, please give more information about, how you are going to implement this feature !!!!

@PratikMane0112 PratikMane0112 added the 🤔 question Further information is requested label Jan 18, 2025
@RahulPrasadYadav
Copy link
Author

Use useState to toggle between light and dark modes.
Store the user’s theme preference in localStorage.
light and dark modes using CSS classes.
DarkModeToggle component to your main layout or navbar.

@PratikMane0112
Copy link
Owner

PratikMane0112 commented Jan 18, 2025

@RahulPrasadYadav Thanks for elaborating but Can you make it tailwind & use context API for toggling with UseState?

@RahulPrasadYadav
Copy link
Author

yesss

@PratikMane0112
Copy link
Owner

Which page or component you are interested off ?

@RahulPrasadYadav
Copy link
Author

i try to all page

@PratikMane0112
Copy link
Owner

PratikMane0112 commented Jan 18, 2025

Okay !!!! But be aware that

  • codebase of website is huge & you should match color theme of website.
  • You have to make it using the color palettes in color.js & and tailwind.config.js file.
  • You must add toggle button in header, with functionality of it keeping same after login & log out.

Are you still ready then I can assign it to you ?

@RahulPrasadYadav
Copy link
Author

Okey don't worry

@PratikMane0112
Copy link
Owner

Okay!!!! Try out for single page of About Us first !!!! Then then let me know, if you are continuing.....

@PratikMane0112 PratikMane0112 added SWOC Advance and removed 🤔 question Further information is requested labels Jan 18, 2025
@RahulPrasadYadav
Copy link
Author

Okey thankk you

@Sakshamjain98
Copy link

Assign me this issue under iwoc

@PratikMane0112
Copy link
Owner

@Sakshamjain98 Thank you for your interest, please proceed. Also you can do it in chunks

@Sakshamjain98
Copy link

Should I split this work into the chunks like

  1. Adding the dark mode at home page
  2. Adding the dark mode at about page
    etc

So should I have to raise different issue?
Or make a pr for particular page
And when it get merge
Then start working of the dark mode of next component

@PratikMane0112
Copy link
Owner

PratikMane0112 commented Jan 29, 2025

No need to create diff issue each time but feel free to create a new PR each time for each page & mentioned this issue in all of those PR.

@Sakshamjain98
Copy link

Okay so each pr count seperately for the score count?

@PratikMane0112
Copy link
Owner

Okay so each pr count seperately for the score count?

Yes but that will depend on level of your work & contributions in codebase

@PratikMane0112
Copy link
Owner

PratikMane0112 commented Jan 29, 2025

You can refer tailwind.config & colors.js files for color schema

@Sakshamjain98
Copy link

Okay thanks

@Shiv10122003
Copy link

please assign issue to me under iwoc

@PratikMane0112
Copy link
Owner

please assign issue to me under iwoc

You can work but before confirm about which or component other contributors are working

@Shiv10122003
Copy link

okk apologies sir

@Shiv10122003 Shiv10122003 mentioned this issue Feb 3, 2025
10 tasks
@Shiv10122003
Copy link

#234 is updated one

@Shiv10122003 Shiv10122003 mentioned this issue Feb 4, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants