Skip to content

Commit

Permalink
fix(preset-mini): transform-cpu (#3730)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-He95 committed Apr 16, 2024
1 parent 28e4976 commit a3170ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/preset-mini/src/_rules/transform.ts
Expand Up @@ -15,7 +15,7 @@ const transformCpu = [
'rotate(var(--un-rotate))',
'rotateX(var(--un-rotate-x))',
'rotateY(var(--un-rotate-y))',
// 'rotateZ(var(--un-rotate-z))',
'rotateZ(var(--un-rotate-z))',
'skewX(var(--un-skew-x))',
'skewY(var(--un-skew-y))',
'scaleX(var(--un-scale-x))',
Expand Down
2 changes: 1 addition & 1 deletion test/assets/output/preset-mini-targets.css
Expand Up @@ -1027,7 +1027,7 @@ unocss .scope-\[unocss\]\:block{display:block;}
.preserve-3d{transform-style:preserve-3d;}
.preserve-flat{transform-style:flat;}
.transform{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
.transform-cpu{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y));}
.transform-cpu{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y));}
.transform-gpu{transform:translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
.transform-none{transform:none;}
.transform-unset{transform:unset;}
Expand Down

0 comments on commit a3170ae

Please sign in to comment.