-
Notifications
You must be signed in to change notification settings - Fork 21
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
Comments
Hi @MUDITJAINN, can you assign this to me & share more details required for this issue |
Hi @MUDITJAINN can you please assign this issue to me , I would love to work on it |
hey can i work on this?? pls |
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 ??? |
@Anurag-singh-thakur go for it. |
@farhan-sayeed new features and issues are always welcome. |
I am currenlty working on it |
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.
The text was updated successfully, but these errors were encountered: