Re: [csswg-drafts] [css-values-5] if() conditions with calc() comparisons (#11104)

Just to add, this would make it possible to use `if()` with relative colors.

Currently, there is no way to do something like `oklch(from var(--color) if(l < .65, var(--dark-math), var(--light-math)))`.

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


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

Received on Friday, 24 January 2025 16:23:01 UTC