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

CODE CHANGE: Enhance Dashboard with Dark Mode Toggle and Sidebar Functionality #1880

Open
4 tasks done
ak-0404 opened this issue Nov 2, 2024 · 2 comments
Open
4 tasks done

Comments

@ak-0404
Copy link

ak-0404 commented Nov 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the code change

Describe the feature
This enhanced JavaScript code provides a smooth toggle between light and dark modes using a single function for the sun and moon buttons, with the user’s preference saved in local storage for persistence. It also allows users to toggle a sidebar menu that slides in and out with smooth transitions. Additionally, keyboard shortcuts are included for accessibility, enabling users to toggle dark mode (using the "d" key) and the sidebar (using the "m" key).

Add ScreenShots
-Original Code
image
DARK MODE
image

Proposed solution

This enhanced JavaScript code provides a smooth toggle between light and dark modes using a single function for the sun and moon buttons, with the user’s preference saved in local storage for persistence. It also allows users to toggle a sidebar menu that slides in and out with smooth transitions. Additionally, keyboard shortcuts are included for accessibility, enabling users to toggle dark mode (using the "d" key) and the sidebar (using the "m" key).

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC'24 contributor
  • I want to work on this issue
Copy link
Contributor

github-actions bot commented Nov 2, 2024

Thank you for creating this issue! 🎉 Your issue will soon be reviewed by either the PA or a mentor. Please note that Level 1 is temporary and can be changed during the review. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Copy link
Contributor

github-actions bot commented Nov 2, 2024

Thanks for creating the issue in BuddyTrail!
Before you start working on your PR, please make sure to:

  • ⭐ Star the repository if you haven't already.
  • Pull the latest changes to avoid any merge conflicts.
  • Attach before & after screenshots in your PR for clarity.
  • Include the issue number in your PR description for better tracking.
    Don't forget to follow @PriyaGhosal – Project Admin – for more updates!

We're excited to see your contribution as part of GSSOC Extended Edition 2024 and Hacktoberfest! 🎉
Happy open-source contributing!

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

1 participant