Re: [csswg-drafts] CSS Color; light-dark() should be applicable on more properties. (#10577)

We can't extend it. It being a `<color>` means it can be grammar-checked in 'color', in gradients, etc. If it can be multiple types, then we can't grammar-check it and have to treat it like `var()` - that's what I was referring to.

If you meant "add a second function that's just like light-dark() but for images", at that point we might as well do the full thing. It's not meaningfully *harder*.

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


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

Received on Tuesday, 16 July 2024 20:40:17 UTC