You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a dark mode switch toggle to convert light mode to dark mode.
Proposed Solution
HTML: Contains a button to trigger the toggle and a heading for context.
CSS: Defines both light and dark mode styles. The dark mode styles are applied when the dark-mode class is added to the body tag.
JavaScript: Adds or removes the dark-mode class from the body and the button when the button is clicked, toggling between dark and light mode.
Alternatives Considered
Additional Context
This solution ensures a smooth transition between themes, and the button itself changes appearance when in dark mode.
Are you participating in GSSoC?
Yes
The text was updated successfully, but these errors were encountered:
Thank you for raising this issue! We'll look into it as soon as possible. Please ensure that the issue is not duplicate, and you read CONTRIBUTING.md carefully. Your contributions are highly appreciated! 😊
✨ Feature Request
Description of the Feature
Dark mode for the website
Problem Statement
Adding a dark mode switch toggle to convert light mode to dark mode.
Proposed Solution
HTML: Contains a button to trigger the toggle and a heading for context.
CSS: Defines both light and dark mode styles. The dark mode styles are applied when the dark-mode class is added to the body tag.
JavaScript: Adds or removes the dark-mode class from the body and the button when the button is clicked, toggling between dark and light mode.
Alternatives Considered
Additional Context
This solution ensures a smooth transition between themes, and the button itself changes appearance when in dark mode.
Are you participating in GSSoC?
Yes
The text was updated successfully, but these errors were encountered: