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

I think what this meta tag does gets pretty clear at the example of [WebKit's user-agent stylesheet]( (do a full text search for "dark").

To illustrate, here's one such CSS rule (using the [`:matches`]( pseudo class and WebKit-internal variables like `-apple-system-control-background` as well as WebKit-internal preprocessor directives):

input:matches([type="password"], [type="search"]) {
  -webkit-appearance: textfield;
    color: text;
    background-color: -apple-system-control-background;
    background-color: white;

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

Received on Wednesday, 3 April 2019 07:56:06 UTC