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

I've been using the same technique that @kizu describes to work around the lack of `inherit()`, particularly in design system scenarios where color layer adaptations are needed for accessibility. I'd love to see `inherit()` make it into the spec as it's a much cleaner solution than the container query hacks for this type of thing.

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


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

Received on Tuesday, 7 May 2024 17:58:50 UTC