You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love added support for the upcoming variable units syntax.
:host {
--hem:1em;
}
.wrapper {
width:20--hem;
}
Suggested solution
In postcss-custom-properties, I imagine this would be a trivial addition to the transformations, given that the discussion around it suggests that 20--hem is nothing but syntax sugar for calc(20 * var(--hem))
What would you want to propose?
I would love added support for the upcoming variable units syntax.
Suggested solution
In postcss-custom-properties, I imagine this would be a trivial addition to the transformations, given that the discussion around it suggests that
20--hem
is nothing but syntax sugar forcalc(20 * var(--hem))
Additional context
No response
Validations
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: