W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [mediaqueries-5] Dark Mode in CSS

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 Jun 2018 08:19:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-394984252-1528273193-sysbot+gh@w3.org>
I think this is definitely something we need to address, but the major difficulty here is that there is significant overlap between several related features, and we have not yet found a good way to slice the problem up:
* Preference for a light-on-dark mode vs dark-on-light vs no preference
* Preference for a low-contrast mode vs high-contrast mode vs no preference
* The UA has forcibly inverted the colors, at a pixel level
* The UA has forcibly boosted / reduced contrast, at a pixel level
* The UA has forcibly inverted the colors, by changing the styles of elements in the page
* The UA has forcibly boosted / reduced contrast, by changing the styles of elements in the page
* The page is viewed in a brightly lit environment, using a device which is washed out and is hard to read in such situations (eg. LCD, not paper or e-ink)
* The page is in a dimly lit environment, using a device which is blinding in such situations (e.g. LCD)
* The page is in a dimly lit environment, using a device which has no built-in light and is hard to see in such situations (e-ink)
* … and probably more …

Some of these are commonly wanted together, but not always, and which combinations are desirable or not depend on personal preferences but also on accessibility related concerns.

Having a dozen media queries for this is almost certainly not the right solution, but how many are needed is unclear. So far, I don't think anyone has been able to come of with a proposal that covered this problem space reasonably well. 

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2735#issuecomment-394984252 using your GitHub account
Received on Wednesday, 6 June 2018 08:20:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 June 2018 08:20:02 UTC