Skip to content

Commit a0ecdf6

Browse files
committed
support tailwind v1.0.0
1 parent 285b0fe commit a0ecdf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

animate/animate.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const keyframesSlideOut = require('./keyframes/slideOut');
1313
const keyframesFadeIn = require('./keyframes/fadeIn');
1414
const keyframesFadeOut = require('./keyframes/fadeOut');
1515

16-
module.exports = function (variants) {
17-
return function ({ addUtilities }) {
16+
module.exports = function () {
17+
return function ({ addUtilities, variants }) {
1818

1919
addUtilities({
2020
'.animated': {
@@ -345,6 +345,6 @@ module.exports = function (variants) {
345345
'@keyframes fadeOutRightBig': keyframesFadeOut.keyframeFadeOutRightBig,
346346
'@keyframes fadeOutUp': keyframesFadeOut.keyframeFadeOutUp,
347347
'@keyframes fadeOutUpBig': keyframesFadeOut.keyframeFadeOutUpBig
348-
}, variants)
348+
}, variants(variants))
349349
};
350350
};

0 commit comments

Comments
 (0)