Re: [csswg-drafts] [css-ui-4] Authors should have access to accent-color value to use in their code (#5900)

A special keyword means that it needs to be preserved at computed-value time and it generally is more complex, yes, particularly when dealing with interpolation.

Why is custom accent-color special vs. e.g. custom background-color or custom any-other-color? Do we expect it to be as prevalent as `currentColor`? I honestly doubt so. Components that want to support custom accent colors could do something like `var(--accent-color, NativeAccentColor)` instead, or what not.

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


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

Received on Thursday, 21 October 2021 08:50:12 UTC