Problem
The whole fluid scale is built in, but there's no ergonomic way to mint a one-off fluid value (a specific clamp() between two sizes) without hand-writing it. This is the main DX gap in the functions area. (Already noted under roadmap "Under consideration".)
Scope
- When CSS
@function has cross-engine support, ship an optional/functions.css exposing --fluid(min, max) (and friends) built on our fluid inputs.
- Until then, document the
clamp() recipe on our knobs as the interim.
Acceptance
Problem
The whole fluid scale is built in, but there's no ergonomic way to mint a one-off fluid value (a specific
clamp()between two sizes) without hand-writing it. This is the main DX gap in the functions area. (Already noted under roadmap "Under consideration".)Scope
@functionhas cross-engine support, ship anoptional/functions.cssexposing--fluid(min, max)(and friends) built on our fluid inputs.clamp()recipe on our knobs as the interim.Acceptance
clamp()recipe now--fluid()(+ friends) shipped once@functionsupport allows