Re: [csswg-drafts] [css-values-4] inherit() function: like var() for parent value, for any property (#2864)

Here's a rad use case with `color-contrast()` from [Color 5](https://drafts.csswg.org/css-color-5/#colorcontrast)

```css
p {
  color: color-contrast(
    inherit(background-color) 
    vs 
    var(--brand-1), var(--brand-2), var(--brand-3), 
    white, black)
  ;
}
```

On brand, dynamic and high contrast text color on 🤷🏻 

-- 
GitHub Notification of comment by argyleink
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2864#issuecomment-810428789 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:06:50 UTC