Closed justinfernald closed 2 months ago
Latest commit: 3ad87d186c82d03426d7a063cf93205147105d87
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Note that React also has this implemented for their style prop: https://github.com/facebook/react/pull/25601
What:
Added scale as a unitless property.
Why:
Since scale is a fairly new well adopted property and does not take px value but instead will take unitless values or percentages and it strange to put:
scale: "2"
MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/scale W3: https://www.w3.org/TR/css-transforms-2/#propdef-scaleHow:
These changes were implemented by modifying the unitless package
Checklist: