Re: [csswg-drafts] [mediaqueries-5] UA guidance on light vs no-preference (#3857)

From a developers point of view, it _feels_ strange to have a `dark` option but no `light` option. Especially since the values map to the OS preferences which also provide (at minimum) two values. If an OS would only provide a `dark` mode, it would have been a checkbox-like interface, but instead they all went for a radio-button like interface making the choice for either of them explicit. That kind of explicitness is what I'd like to see in my code as well. I can see scenarios where the design of my site is colourful by default, extra bright on the `light` choice and extra dark on the `dark` choice.

In the examples of @litherum and @AmeliaBR, Android and Windows show an in-between state, which gives your 3 options. From a users perspective, that would be my ideal situation.

To illustrate why, as a _user_, I want to _explicitly_ state a light theme: when walking outside, reading in sunlight, an explicit light theme would be welcoming. The most ideal situation for me would be that a setting is available in the browser which overrides the OS setting. In the case of an OS _without_ a `light`/`dark` setting but with a browser that _does_, temporarily choose a `light` theme is an explicit choice of the user.

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

Received on Wednesday, 19 June 2019 11:41:48 UTC