Re: [csswg-drafts] [css-color] color-contrast() should support ranges of candidate colors, not just discrete color candidates (#7360)

Considering there's been some WCAG3 discussion of maximum contrasts, too, e.g for large text...so as not to burn one's retinas :)

Maybe more than a single range syntax might be appropriate.  Think some along the lines of min(), max(), minmax(), maxmin(), and clamp(). In the clamp(min, preferred, max) maybe even mid() for preferred.

Also perhaps consider a "by" increment, and or a "using" named-curve.

Feel free to separate any/all of these into their own issues. 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 19 June 2022 14:57:46 UTC