Re:CSS Only dark mode
by austin-cheney on Saturday June 24, 2023 @05:59AM
(#36457227)
It should be the user that is granted control of this regardless of the mechanism. It is more convenient for the user to have a JS toggle in the browser, but a less convenient approach can also be provided on the back end. To the back end the only difference to the HTML, which is just string data, is a single class name on a single element.
[ Parent
| on HN ]
There are no comments on this comment yet.