- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Apr 2019 22:40:52 +0000
- To: public-css-archive@w3.org
If the page uses `color-scheme: dark;`, they'll get dark inputs when the UA supports dark mode, and either the user wants dark mode or doesn't care. The only difference from `color-scheme: only dark` is that `only dark` will also do dark inputs when the UA supports dark mode but the user specifically wants not dark-mode. Importantly, tho, they'll still get light inputs *when the UA doesn't support dark mode at all*. So, since the only difference between `dark` and `only dark` is a case where they're not respecting an explicit user choice at all, and `only dark` does *not* ensure dark controls in the first place (in particular, Firefox on Linux might not be able to support dark mode), I'm sympathetic to the "don't allow `only dark`" position. If the page *really* wants to ensure dark controls, it'll need to style them from scratch anyway. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3881#issuecomment-487768811 using your GitHub account
Received on Monday, 29 April 2019 22:40:54 UTC