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

I recognise that `inverted-colors` is separate and insufficient, we need a solution for Dark Mode.

However, I'm not sure we can get away with treating it entirely separately. As a user, if you strongly prefer dark mode, it seems like we should do the best we can to offer the user that, both as os/browser vendors and as website authors.

I suspect that the current proposal might not offer the best we can because, if I understand correctly, we would leave the user with two bad choices:

* Use inverted mode, and have darkness everywhere, but not very well done design-wise.
* Use dark mode, and have nice designs for the OS and small number of websites, with the rest being mostly too bright.

We should develop a long-term vision that resolves this. It might still involve the media query as proposed, but I think we should think how it fits in with the above before we decide.

The following is just an example, but one way it could work (perhaps) is to encourage users to enable both and have it "just work". For that to work, a web app would need to be able to "turn off" inverted colour mode and communicate to the os/browser that it takes full responsibility for dark mode. Such signal could be built on top of this media query (e.g. some kind of header or meta tag indicating ahead of time to the browser that the page takes responsibility and will provide a dark mode). Anyhow, this example is just clarify the intended outcome. I have no preference for what technique we'd use.

-- 
GitHub Notification of comment by Krinkle
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2735#issuecomment-420032679 using your GitHub account

Received on Monday, 10 September 2018 19:32:57 UTC