Re: [csswg-drafts] [css-ui-4] choosing background colors for accent-color for contrast (#6159)

> There can be more than two colors used in the control, tho, so this still wouldn't solve everything; magic will always be required unless we explicitly specify what set of colors are allowed to be used on controls.

True, but there's usually a need to have some sort of background and foreground color. The rest of the colors are mostly decorative. Asking the author for two colors ensures there can be contrast when the engine deems it necessary.

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


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

Received on Tuesday, 30 March 2021 17:35:09 UTC