Re: [csswg-drafts] [css-ui] Add a way for authors to indicate that they want dark-mode form controls etc (#3299)

@tomayac - I would think it allows a page to opt into, not out of the user agent applied transformation. I mean, by default, the web did not intend dark mode controls. So this should remain the default for backward compatibility. If the user indicates it supports dark mode, then it opts into this transformation.

Anyway, @aaaxx - since a media query for dark mode is also planned, you could use it at the `<link` level -
<link rel="stylesheet" media="prefers-color-scheme: dark" href="...">
(Note - this is pseudo-code, I do not remember if this is the exact syntax)

GitHub Notification of comment by phistuck
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 3 April 2019 09:22:02 UTC