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

[csswg-drafts] [css-color-5] Add value multiplier for color-contrast() (#5497)

From: Sangwoo Ko via GitHub <sysbot+gh@w3.org>
Date: Fri, 04 Sep 2020 04:28:11 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-692697078-1599193690-sysbot+gh@w3.org>
sangwoo108 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-5] Add value multiplier for color-contrast() ==
https://drafts.csswg.org/css-color-5/#colorcontrast

Hi, all

the second parameter of color-contrast() is a list  of two or more colors. Would it be better if we add value multiplier?

```diff
- color-contrast( <color> vs <color>#  )
+ color-contrast( <color> vs <color>#{2} )
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5497 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 September 2020 04:28:12 UTC

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