YES, Dark Mode Toggles _should_ be a browser feature. I wrote about this before: brm.us/dark-mode-ov... Find the link to the Chrome Bug in the post, and hit the star next to it to "upvote" the bug. (I even have a prototype extension to provide this for you: brm.us/chrome-dark-...) #cssday
Post
brm.usDark Mode Toggles Should be a Browser FeatureWhen implementing Dark Mode and ways to toggle it, developers currently need to duplicate code and roll their own toggle implementation. What if, instead, browsers would take care of all that?
This proposal is NOT about automatically creating dark modes. Instead, this proposal is about exposing a button that lets you override the value for prefers-color-scheme. This this, the dark mode styling remains a responsibility of the website to implement.
0 reposts1 like