Skip to content

Commit d5f7bc6

Browse files
committed
rename transitions
1 parent 9da22fb commit d5f7bc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/preset-tailwind/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ export const transforms = {
602602
}
603603

604604
export const transitions = {
605-
transitionProperty: {
605+
property: {
606606
none: 'none',
607607
all: 'all',
608608
default: 'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform',
@@ -611,13 +611,13 @@ export const transitions = {
611611
shadow: 'box-shadow',
612612
transform: 'transform',
613613
},
614-
transitionTimingFunction: {
614+
timingFunction: {
615615
linear: 'linear',
616616
in: 'cubic-bezier(0.4, 0, 1, 1)',
617617
out: 'cubic-bezier(0, 0, 0.2, 1)',
618618
'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
619619
},
620-
transitionDuration: {
620+
duration: {
621621
'75': '75ms',
622622
'100': '100ms',
623623
'150': '150ms',

0 commit comments

Comments
 (0)