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: rcabanier via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Feb 2019 05:36:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-463066259-1550036178-sysbot+gh@w3.org>
@dbaron I think the following tag is an indicator that a page is capable of rendering with dark and light:
`<meta name="supported-color-schemes" content="light dark">`

I don't quite understand what you mean by:

>  This would allow UAs capable of doing so to, if they wish, when the system theme is dark and a page does _not_ have this indicator, render the "system" controls as colors as a light theme instead of the dark one.

First you say that there should be an indicator but then you ask for behavior if there is no indicator. Maybe you can rephrase?

> Given that, today, pages all work with light themes, it seems like it would be a step backward to allow pages to do the opposite, and force dark controls/colors when the user has a light system theme.

Why is that? If a UA supports this tag and CSS property, it can do transformations for pages that specify `dark`. 

-- 
GitHub Notification of comment by rcabanier
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3299#issuecomment-463066259 using your GitHub account
Received on Wednesday, 13 February 2019 05:36:20 UTC

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