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
Some design system libraries provide units as .75rem rather than 0.75rem. I'd like to be able to use the value directly from a library. It would be great if Plumber supported this.
I haven't thoroughly tested this, but I think something like this would work:
constunitRegExp=/^((?:\d*\.)?\d+)([a-z]{1,4})$/;
The text was updated successfully, but these errors were encountered:
Some design system libraries provide units as
.75rem
rather than0.75rem
. I'd like to be able to use the value directly from a library. It would be great if Plumber supported this.I haven't thoroughly tested this, but I think something like this would work:
The text was updated successfully, but these errors were encountered: