W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

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

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Thu, 14 Feb 2019 00:19:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-463431303-1550103592-sysbot+gh@w3.org>
I'm proposing that the only indicator (`<meta>`) that we want is a single marker, indicating that the page will render correctly if the system theme is dark.  This would allow UAs to have one behavior when this indicator is present, and a different one when it is absent (at least under some conditions, if they wish to do so).

What I'm suggesting is that I don't want to create a set of Web pages that don't work correctly if the system controls are light, because I'd rather not make the problem of pages that don't work in certain situations worse than it already is.  I prefer this both because I'd like to be able to honor the user preference for what controls are as much as possible (both since honoring the user's preference is good and since doing so makes those controls more recognizable to the user) and because some implementations (on some platforms) may be unable to produce an appropriate light and dark theme at will.

GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3299#issuecomment-463431303 using your GitHub account
Received on Thursday, 14 February 2019 00:19:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC