Putting aside that it’s a bad idea for accessibility reasons, is it possible to enforce dark mode on a web page in Safari, _without_ JS? Usual setup: the page uses implicitly light-mode CSS, with a prefers-color-scheme selector to specify the dark-mode styles (via :root variables). All works fine responding to the system setting. But, adding (say) a META color-scheme of “only dark” does nothing.
@mattgemmell wouldn’t the Noir extention allow this?
@Geoffairey I’m talking about the site itself, not the user. E.g. causing a given page on one’s own site to always be rendered with the dark-mode appearance, without resorting to using JS to toggle styles.
@mattgemmell @Geoffairey huh? Why not just dark colours in the first place then? Struggling to see your use case.
@mattgemmell @Geoffairey ah, OK. If you don't want to serve different CSS, but you are generating the CSS, could you have the same dark color variables used as defaults inside a 'body.dark-mode' selector, right?
For hand rolled CSS... Dunno...