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

Re: [csswg-drafts] [mediaqueries-5] Clarification on prefers-color-scheme issues (#3278)

From: danosek via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Dec 2018 09:57:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-445756681-1544435833-sysbot+gh@w3.org>
Here are my thoughts from **designer's perspective**. I know you're there is a gray area regarding definition of `@media (prefers-color-scheme: no-preference)` and `@media (prefers-color-scheme)` but let me explain the bigger picture with [this example](https://codepen.io/danoshekk/full/XoWOrZ).

I the near future (I hope), there should be no distinction between light and dark theme, as there is no distinction between user's device screen size. We should only to adapt the content and its visual properties to match user's device (whether it's a size or theme preference to something else) with media queries.

The thing is, you should only clearly define default design when there is no support for `prefers-color-scheme`. In the end, this design is just one of the themes - light or dark. It only depends whether your default design should be light or dark. That's it :)



-- 
GitHub Notification of comment by danosek
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3278#issuecomment-445756681 using your GitHub account
Received on Monday, 10 December 2018 09:57:15 UTC

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