W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

Re: [csswg-drafts] [css-ui] make accent-color: <color>+ a list of alternatives, not complements (#5544)

From: Brad Kemper via GitHub <sysbot+gh@w3.org>
Date: Sat, 03 Oct 2020 06:02:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-703052820-1601704939-sysbot+gh@w3.org>
In the example used in last week's meeting about Coca-Cola red, if my page background was white, I would provide that red as the darkest color for the control, and a light tint of it as the light color (actually, the author could provide only one color if they chose, and the UA could do a light tint of it by default). If the page background was already Coca-Cola red, then I would probably provide a darker shade of it for the darkest color for the control. So, the guidance for others is that the darkest and lightest colors they provide should be either darker or lighter than the background of whatever is behind them. 

I believe the main differences between my concept and @fantasai's are:

- the native control doesn't change most of the places where it is pure black or white

- the author can provide up to four colors, knowing that probably not more than one or two will be used, but where the first ones have to contrast with white, the last ones have to contrast with black, and the first ones have to contrast with the last ones (less so for the middle ones). And the author only ignores that guidance at their own peril. 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 3 October 2020 06:02:22 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC