diff --git a/src/corePlugins.js b/src/corePlugins.js index fab1b56c7..26bdb4da1 100644 --- a/src/corePlugins.js +++ b/src/corePlugins.js @@ -2195,7 +2195,7 @@ export let transitionProperty = ({ matchUtilities, theme }) => { } }, }, - { values: theme('transitionProperty'), type: 'lookup' } + { values: theme('transitionProperty'), type: 'any' } ) } diff --git a/tests/arbitrary-values.test.css b/tests/arbitrary-values.test.css index 3eb51fa9c..3d6317010 100644 --- a/tests/arbitrary-values.test.css +++ b/tests/arbitrary-values.test.css @@ -448,6 +448,11 @@ --tw-backdrop-sepia: sepia(0.38); backdrop-filter: var(--tw-backdrop-filter); } +.transition-\[opacity\2c width\] { + transition-property: opacity, width; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-duration: 150ms; +} .delay-\[var\(--delay\)\] { transition-delay: var(--delay); } diff --git a/tests/arbitrary-values.test.html b/tests/arbitrary-values.test.html index 3c55dd904..1db1a4f26 100644 --- a/tests/arbitrary-values.test.html +++ b/tests/arbitrary-values.test.html @@ -60,6 +60,7 @@
+