W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [css-color-adjust-1] Let pages opt in to any scheme (#3859)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Sat, 27 Apr 2019 23:31:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-487327490-1556407912-sysbot+gh@w3.org>
I disagree that this is something that would be misused.  If a website design really works for both light and dark styles, as implemented by any current or future browser, it's unlikely to break for anything in between.  I think the worse issue is in not allowing authors to create forward-focused stylesheets that also respect user preferences.

I'd go one step forward, and argue that `any` should include _any_ user agent color scheme, including ones that haven't yet been standardized in CSS with a particular name.

A keyword like `any` is clear enough.  But we could go with `color-scheme: whatever` or `color-scheme: as-you-wish` if you really don't want anyone using it without thinking about anything other than character counts.

> A user can always force a page into supporting a color scheme

But this isn't about users _forcing_ color schemes.  This is about authors stating that this page or *section* of a page, can safely be styled in any color scheme.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3859#issuecomment-487327490 using your GitHub account
Received on Saturday, 27 April 2019 23:31:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:07 UTC