Re: [csswg-drafts] Interpolate values between breakpoints (#6245)

> ([#](https://github.com/w3c/csswg-drafts/issues/6245#issuecomment-2661545284)) After talking thru the problem space and existing functions again, [@fantasai](https://github.com/fantasai) and I have come up with an amended proposal for the `*-mix()` family of functions.

I really like this proposal. Splitting it all in mix and map seems so obvious in hindsight.

As for the names: I see you are using `calc-mix` and `calc-map`. Naming the functions `value-mix` and `value-map` feels more natural to me, as you are mixing and mapping _values_. This aligns with the existing `color-mix`, in which you mix _colors_.

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


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

Received on Monday, 17 February 2025 08:23:12 UTC