Skip to content

Commit 2e9d21c

Browse files
authored
Add scale to the list of unitless properties (#788)
1 parent 21afc23 commit 2e9d21c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/unitless-scale.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/css': patch
3+
---
4+
5+
Add `scale` to the list of unitless properties.

packages/css/src/transformCss.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const UNITLESS: Record<string, boolean> = {
5050
opacity: true,
5151
order: true,
5252
orphans: true,
53+
scale: true,
5354
tabSize: true,
5455
WebkitLineClamp: true,
5556
widows: true,

0 commit comments

Comments
 (0)