Skip to content

Conversation

@Mohit-kumar-007
Copy link

Added Dark Mode Support 🌙✨

Changes Made
Added a DarkModeToggle component (src/global_components/DarkModeToggle.js) to allow users to switch between light and dark themes.
Used localStorage to remember the user's theme preference.
Default theme is set based on system preferences.
Global Styling for Dark Mode

Created darkMode.css (src/styles/darkMode.css) to define dark and light mode styles.
Used CSS variables for easy theme management.

Included the DarkModeToggle component in the navigation sections of src/App.js.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant