Open sv410 opened 3 days ago
đź‘‹ Thank you @sv410 for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!
@sv410 give me the proper way how you implement this
@thakuratul2 A Dark and Light Mode Toggle allows users to switch between two visual themes: a dark theme (usually with darker backgrounds and lighter text) and a light theme (with lighter backgrounds and darker text). The toggle is typically a button or switch on the user interface that, when clicked, changes the overall style of the webpage to match the selected theme. How to Implement It:
body
element (e.g., dark-mode
). This class will activate the dark mode styles. JavaScript can also store the user’s preference in localStorage
, so their selected theme persists across page reloads or sessions.2. one for light mode (the default) an
I think you can work on it, but make sure to maintain the code styling, because you have to make changes in so many files. Also, we are using redux tookit
, for state management, you can use that one as-well if you want.
And one more thing, can you share the colour combinations that you are going to add for dark mode?
It will be helpful if you can make a change in the home page
first with your choice of colour combination, and if that fits then we are good to go.
hey i would like to work on this issue i have previously added features like dark mode toggler so i can do it now also assign me this under gssoc-ext hacktoberfest level1