Re: [csswg-drafts] [css-color-6] color-contrast() should distinguish foreground and background (#7359)

More syntax ideas:

- `contrast-color(foreground red using wcag2(AA) vs blue, white, yellow)`
- `contrast-color(foreground red using wcag2(AA) / blue, white, yellow)` _(to make it more clear that it’s not 4 comma-separated items but something measured against 3 items)_

It’s a lot of words, but – to me – it’s very readable.

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


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

Received on Tuesday, 2 August 2022 18:32:29 UTC