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

Dark mode toggle #4

Open
MUDITJAINN opened this issue Oct 3, 2024 · 7 comments
Open

Dark mode toggle #4

MUDITJAINN opened this issue Oct 3, 2024 · 7 comments

Comments

@MUDITJAINN
Copy link
Owner

MUDITJAINN commented Oct 3, 2024

Expected Behavior:

Toggle Switch: A switch or button should be added to the website header or settings section, allowing users to easily toggle between light and dark modes.

Persistent Mode: The selected mode (dark or light) should persist across sessions using local storage or cookies, so the user's preference is saved when they revisit the site.

UI Elements: All UI elements (background, text, buttons, etc.) should dynamically update based on the selected theme without any layout breaking or style inconsistencies.

Accessibility: Ensure that text contrast and readability remain optimal in both light and dark modes for all users.

Implement a theme switcher using React's state management (such as useState or useContext) to manage and store the selected theme. Apply dynamic CSS styling to adjust the website's colors based on the theme, and store the user's preference in local storage for persistence across sessions.

@farhan-sayeed
Copy link

farhan-sayeed commented Oct 3, 2024

Hi @MUDITJAINN, can you assign this to me & share more details required for this issue

@mayank-0789
Copy link

Hi @MUDITJAINN can you please assign this issue to me , I would love to work on it

@lightning-sagar
Copy link

hey can i work on this?? pls

@Anurag-singh-thakur
Copy link

Hi @MUDITJAINN I have already on several website for the dark and light themes and i make sure it will be very much responsive than your expectations. here is an example of responsiveness a website made by me.... link (https://voting-app-frontend-67ba.onrender.com/) .can i work on that please ???

@MUDITJAINN
Copy link
Owner Author

@Anurag-singh-thakur go for it.

@MUDITJAINN
Copy link
Owner Author

@farhan-sayeed new features and issues are always welcome.

@Anurag-singh-thakur
Copy link

@Anurag-singh-thakur go for it.

I am currenlty working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants