Skip to content

Commit

Permalink
fix(preset-mini): remove units about 0 and none (#2153)close #2152
Browse files Browse the repository at this point in the history
* fix(preset-mini): handle value is 0

* fix(preset-mini): remove unit of 'none'

* chore: update
  • Loading branch information
zyyv committed Feb 6, 2023
1 parent f662a52 commit fff0699
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 50 deletions.
10 changes: 5 additions & 5 deletions packages/preset-mini/src/_theme/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ export const verticalBreakpoints = { ...breakpoints }

export const lineWidth = {
DEFAULT: '1px',
none: '0px',
none: '0',
}

export const spacing = {
'DEFAULT': '1rem',
'none': '0rem',
'none': '0',
'xs': '0.75rem',
'sm': '0.875rem',
'lg': '1.125rem',
Expand All @@ -33,7 +33,7 @@ export const spacing = {

export const duration = {
DEFAULT: '150ms',
none: '0ms',
none: '0s',
75: '75ms',
100: '100ms',
150: '150ms',
Expand All @@ -46,7 +46,7 @@ export const duration = {

export const borderRadius = {
'DEFAULT': '0.25rem',
'none': '0rem',
'none': '0',
'sm': '0.125rem',
'md': '0.375rem',
'lg': '0.5rem',
Expand Down Expand Up @@ -77,5 +77,5 @@ export const easing = {

export const ringWidth = {
DEFAULT: '1px',
none: '0px',
none: '0',
}
25 changes: 20 additions & 5 deletions packages/preset-mini/src/_utils/handlers/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ export function rem(str: string) {
return
const [, n, unit] = match
const num = parseFloat(n)
if (!Number.isNaN(num))
if (!Number.isNaN(num)) {
if (num === 0)
return '0'
return unit ? `${round(num)}${unit}` : `${round(num / 4)}rem`
}
}

export function px(str: string) {
Expand All @@ -62,8 +65,11 @@ export function px(str: string) {
return
const [, n, unit] = match
const num = parseFloat(n)
if (!Number.isNaN(num))
if (!Number.isNaN(num)) {
if (num === 0)
return '0'
return unit ? `${round(num)}${unit}` : `${round(num)}px`
}
}

export function number(str: string) {
Expand All @@ -87,8 +93,11 @@ export function fraction(str: string) {
return '100%'
const [left, right] = str.split('/')
const num = parseFloat(left) / parseFloat(right)
if (!Number.isNaN(num))
if (!Number.isNaN(num)) {
if (num === 0)
return '0'
return `${round(num * 100)}%`
}
}

const bracketTypeRe = /^\[(color|length|position|quoted|string):/i
Expand Down Expand Up @@ -180,8 +189,11 @@ export function time(str: string) {
return
const [, n, unit] = match
const num = parseFloat(n)
if (!Number.isNaN(num))
if (!Number.isNaN(num)) {
if (num === 0)
return '0'
return unit ? `${round(num)}${unit}` : `${round(num)}ms`
}
}

export function degree(str: string) {
Expand All @@ -190,8 +202,11 @@ export function degree(str: string) {
return
const [, n, unit] = match
const num = parseFloat(n)
if (!Number.isNaN(num))
if (!Number.isNaN(num)) {
if (num === 0)
return '0'
return unit ? `${round(num)}${unit}` : `${round(num)}deg`
}
}

export function global(str: string) {
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/cli.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`cli > builds uno.css 1`] = `

exports[`cli > supports directives transformer 1`] = `""`;

exports[`cli > supports directives transformer 2`] = `".btn-center{margin-top:0rem;margin-bottom:0rem;text-align:center;font-weight:500;}"`;
exports[`cli > supports directives transformer 2`] = `".btn-center{margin-top:0;margin-bottom:0;text-align:center;font-weight:500;}"`;

exports[`cli > supports unocss.config.js 1`] = `
"/* layer: shortcuts */
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/preset-attributify.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ exports[`attributify > fixture2 1`] = `
[relative=\\"\\"]{position:relative;}
[left-4=\\"\\"]{left:1rem;}
[top~=\\"\\\\31 \\\\/3\\"]{top:33.3333333333%;}
[m-0=\\"\\"]{margin:0rem;}
[m-0=\\"\\"]{margin:0;}
[ma=\\"\\"]{margin:auto;}
[mb--3=\\"\\"]{margin-bottom:-0.75rem;}
[mb-a=\\"\\"]{margin-bottom:auto;}
Expand Down
46 changes: 23 additions & 23 deletions test/__snapshots__/preset-mini.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exports[`preset-mini > targets 1`] = `
"/* layer: preflights */
*,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);}
/* layer: 1 */
.uno-layer-1\\\\:translate-0{--un-translate-x:0rem;--un-translate-y:0rem;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));}
.uno-layer-1\\\\:translate-0{--un-translate-x:0;--un-translate-y:0;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));}
/* layer: default */
.fw-\\\\$variable{font-weight:var(--variable);}
.items-\\\\$size{align-items:var(--size);}
Expand Down Expand Up @@ -87,7 +87,7 @@ exports[`preset-mini > targets 1`] = `
.is-hover\\\\:p-4px:is(:hover),
.not-hover\\\\:p-4px:not(:hover){padding:4px;}
.not-hover\\\\:p-3:not(:hover){padding:0.75rem;}
.p-none{padding:0rem;}
.p-none{padding:0;}
.p-unset{padding:unset;}
.pa{padding:auto;}
.\\\\!hover\\\\:px-10:hover{padding-left:2.5rem !important;padding-right:2.5rem !important;}
Expand All @@ -109,7 +109,7 @@ exports[`preset-mini > targets 1`] = `
.p-bs-2,
.pbs-2,
.pbs2{padding-block-start:0.5rem;}
.p-ie-none{padding-inline-end:0rem;}
.p-ie-none{padding-inline-end:0;}
.p-ie-revert{padding-inline-end:revert;}
.pbs-\\\\$title2{padding-block-start:var(--title2);}
.pis-10px{padding-inline-start:10px;}
Expand All @@ -127,7 +127,7 @@ exports[`preset-mini > targets 1`] = `
.all\\\\:m1\\\\/1 *{margin:100%;}
.m-\\\\[3em\\\\]{margin:3em;}
.m-0,
.m-none{margin:0rem;}
.m-none{margin:0;}
.m-1\\\\/2{margin:50%;}
.m-inherit{margin:inherit;}
*[open]:readonly .\\\\[\\\\*\\\\[open\\\\]\\\\:readonly_\\\\&\\\\]\\\\:\\\\[\\\\&\\\\[open\\\\]\\\\:disabled\\\\]\\\\:m-17[open]:disabled{margin:4.25rem;}
Expand All @@ -146,11 +146,11 @@ exports[`preset-mini > targets 1`] = `
.mt-\\\\[-10\\\\.2\\\\%\\\\]{margin-top:-10.2%;}
.mt-\\\\$height{margin-top:var(--height);}
.mt-6{margin-top:1.5rem;}
.next\\\\:mt-0+*{margin-top:0rem;}
.next\\\\:mt-0+*{margin-top:0;}
.m-block{margin-block-start:1rem;margin-block-end:1rem;}
.m-block-auto{margin-block-start:auto;margin-block-end:auto;}
.m-block-inherit{margin-block-start:inherit;margin-block-end:inherit;}
.m-inline-none{margin-inline-start:0rem;margin-inline-end:0rem;}
.m-inline-none{margin-inline-start:0;margin-inline-end:0;}
.mbs{margin-block-start:1rem;}
.mbs-\\\\[-10\\\\.2\\\\%\\\\]{margin-block-start:-10.2%;}
.mbs-\\\\$height{margin-block-start:var(--height);}
Expand Down Expand Up @@ -207,15 +207,15 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.stroke-size-1px,
.stroke-width-1,
.stroke-width-1px{stroke-width:1px;}
.stroke-size-none{stroke-width:0px;}
.stroke-size-none{stroke-width:0;}
.stroke-dash-\\\\[5\\\\,3\\\\,2\\\\]{stroke-dasharray:5,3,2;}
.stroke-dash-\\\\$variable{stroke-dasharray:var(--variable);}
.stroke-dash-1{stroke-dasharray:1;}
.stroke-offset-\\\\[1rem\\\\]{stroke-dashoffset:1rem;}
.stroke-offset-\\\\$variable{stroke-dashoffset:var(--variable);}
.stroke-offset-1,
.stroke-offset-1px{stroke-dashoffset:1px;}
.stroke-offset-none{stroke-dashoffset:0px;}
.stroke-offset-none{stroke-dashoffset:0;}
.stroke-\\\\[\\\\#123\\\\]{--un-stroke-opacity:1;stroke:rgba(17,34,51,var(--un-stroke-opacity));}
.stroke-\\\\[1rem\\\\]{stroke:1rem;}
.stroke-current{stroke:currentColor;}
Expand All @@ -233,15 +233,15 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.border-x{border-left-width:1px;border-right-width:1px;}
.border-b{border-bottom-width:1px;}
.border-e-4{border-inline-end-width:4px;}
.border-s-0{border-inline-start-width:0px;}
.border-s-0{border-inline-start-width:0;}
.border-t-2,
.border-t-size-2{border-top-width:2px;}
.border-inline{border-inline-start-width:1px;border-inline-end-width:1px;}
.border-be{border-block-end-width:1px;}
.border-bs-2{border-block-start-width:2px;}
.border-size-\\\\$variable,
.border-width-\\\\$variable{border-width:var(--variable);}
.border-size-none{border-width:0px;}
.border-size-none{border-width:0;}
.border-size-unset{border-width:unset;}
.border-width-\\\\[2em\\\\]{border-width:2em;}
.border-width-\\\\[calc\\\\(1em-1px\\\\)\\\\]{border-width:calc(1em - 1px);}
Expand Down Expand Up @@ -287,7 +287,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.rounded-1\\\\/2{border-radius:50%;}
.rounded-full{border-radius:9999px;}
.rounded-md{border-radius:0.375rem;}
.rounded-none{border-radius:0rem;}
.rounded-none{border-radius:0;}
.rounded-unset{border-radius:unset;}
.rounded-b-revert{border-bottom-left-radius:revert;border-bottom-right-radius:revert;}
.rounded-e{border-start-end-radius:0.25rem;border-end-end-radius:0.25rem;}
Expand Down Expand Up @@ -420,7 +420,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.underline{text-decoration-line:underline;}
.decoration-5,
.underline-5{text-decoration-thickness:5px;}
.decoration-size-none{text-decoration-thickness:0px;}
.decoration-size-none{text-decoration-thickness:0;}
.decoration-size-unset{text-decoration-thickness:unset;}
.underline-1rem{text-decoration-thickness:1rem;}
.underline-auto{text-decoration-thickness:auto;}
Expand All @@ -432,7 +432,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.underline-op80{--un-line-opacity:0.8;}
.decoration-offset-0\\\\.6rem,
.underline-offset-0\\\\.6rem{text-underline-offset:0.6rem;}
.decoration-offset-none{text-underline-offset:0px;}
.decoration-offset-none{text-underline-offset:0;}
.underline-offset-4{text-underline-offset:4px;}
.underline-offset-auto{text-underline-offset:auto;}
.underline-dashed{text-decoration-style:dashed;}
Expand Down Expand Up @@ -548,12 +548,12 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.ring,
.ring-px{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
.ring-10{--un-ring-width:10px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
.ring-none{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
.ring-none{--un-ring-width:0;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
.ring-size-px,
.ring-width-px{--un-ring-width:1px;}
.ring-offset{--un-ring-offset-width:1px;}
.ring-offset-4{--un-ring-offset-width:4px;}
.ring-offset-none{--un-ring-offset-width:0px;}
.ring-offset-none{--un-ring-offset-width:0;}
.ring-offset-size-\\\\$variable,
.ring-offset-width-\\\\$variable{--un-ring-offset-width:var(--variable);}
.ring-red2{--un-ring-opacity:1;--un-ring-color:rgba(254,202,202,var(--un-ring-opacity));}
Expand Down Expand Up @@ -588,7 +588,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.grow-10{flex-grow:10;}
.basis-auto{flex-basis:auto;}
.basis-none,
.flex-basis-0{flex-basis:0rem;}
.flex-basis-0{flex-basis:0;}
.flex-basis-\\\\$variable{flex-basis:var(--variable);}
.flex-basis-1\\\\/2{flex-basis:50%;}
.flex-row{flex-direction:row;}
Expand Down Expand Up @@ -628,7 +628,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.gap-\\\\$variable{grid-gap:var(--variable);gap:var(--variable);}
.gap-4{grid-gap:1rem;gap:1rem;}
.gap-inherit{grid-gap:inherit;gap:inherit;}
.gap-none{grid-gap:0rem;gap:0rem;}
.gap-none{grid-gap:0;gap:0;}
.gap2{grid-gap:0.5rem;gap:0.5rem;}
.-gap-y-5{grid-row-gap:-1.25rem;row-gap:-1.25rem;}
.flex-gap-y-1,
Expand Down Expand Up @@ -790,7 +790,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.outline-width-\\\\$variable{outline-width:var(--variable);}
.outline-size-4,
.outline-width-4{outline-width:4px;}
.outline-size-none{outline-width:0px;}
.outline-size-none{outline-width:0;}
.outline-size-unset{outline-width:unset;}
.outline-width-10px{outline-width:10px;}
.outline-width-revert{outline-width:revert;}
Expand All @@ -804,7 +804,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.outline-offset-\\\\$variable{outline-offset:var(--variable);}
.outline-offset-4{outline-offset:4px;}
.outline-offset-inherit{outline-offset:inherit;}
.outline-offset-none{outline-offset:0px;}
.outline-offset-none{outline-offset:0;}
.outline,
.outline-solid{outline-style:solid;}
.outline-hidden{outline-style:hidden;}
Expand Down Expand Up @@ -840,7 +840,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.inset-\\\\[5px\\\\]{inset:5px;}
.inset-\\\\$variable{inset:var(--variable);}
.inset-0,
.inset-none{inset:0rem;}
.inset-none{inset:0;}
.inset-5{inset:1.25rem;}
.inset-unset{inset:unset;}
.end-8{inset-inline-end:2rem;}
Expand All @@ -860,7 +860,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.inset-bs-5{inset-block-start:1.25rem;}
.inset-ie-revert{inset-inline-end:revert;}
.top-\\\\$top-height{top:var(--top-height);}
.top-0{top:0rem;}
.top-0{top:0;}
.float-left{float:left;}
.float-none{float:none;}
.float-unset{float:unset;}
Expand Down Expand Up @@ -916,7 +916,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.perspect-origin-top-right{-webkit-perspective-origin:top right;perspective-origin:top right;}
.-translate-full{--un-translate-x:-100%;--un-translate-y:-100%;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));}
.scope_class .scope-\\\\[\\\\.scope\\\\\\\\_class\\\\]\\\\:translate-0,
.translate-none{--un-translate-x:0rem;--un-translate-y:0rem;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));}
.translate-none{--un-translate-x:0;--un-translate-y:0;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));}
.translate-full{--un-translate-x:100%;--un-translate-y:100%;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));}
.-translate-x-full{--un-translate-x:-100%;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));}
.-translate-y-1\\\\/2{--un-translate-y:-50%;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));}
Expand Down Expand Up @@ -993,7 +993,7 @@ unocss .scope-\\\\[unocss\\\\]\\\\:block{display:block;}
.\\\\@xs\\\\/label\\\\:text-green{--un-text-opacity:1;color:rgba(74,222,128,var(--un-text-opacity));}
}
@layer base{
.layer-base\\\\:translate-0{--un-translate-x:0rem;--un-translate-y:0rem;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));}
.layer-base\\\\:translate-0{--un-translate-x:0;--un-translate-y:0;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));}
}
@layer utility{
.layer-\\\\[utility\\\\]\\\\:block{display:block;}
Expand Down

0 comments on commit fff0699

Please sign in to comment.