you can just make class and after that with js add some toggle event listener on button
you can make it with css with toggle:checked and after that make the root color changes
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It works BUT how to add toggling button?
*if it is in dark mode, toggle in light & vice versa?
you can just make class and after that with js add some toggle event listener on button
you can make it with css with toggle:checked and after that make the root color changes