Skip to content

Commit 71e4b30

Browse files
committed
Fix SASS animations
1 parent 0d8c8ab commit 71e4b30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/styles/_mixins.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -200,22 +200,22 @@
200200

201201
@mixin animate($type: 'fade-in', $time: 1s, $delay: 0s) {
202202
@if $type == 'fade-in' {
203-
@extend .animate--fade-in;
203+
@extend %animate--fade-in;
204204
animation-duration: $time;
205205
animation-delay: $delay;
206206
}
207207
@if $type == 'fade-out' {
208-
@extend .animate--fade-out;
208+
@extend %animate--fade-out;
209209
animation-duration: $time;
210210
animation-delay: $delay;
211211
}
212212
@if $type == 'fsb' {
213-
@extend .animate--fade-and-slide-in-from-bottom;
213+
@extend %animate--fade-and-slide-in-from-bottom;
214214
animation-duration: $time;
215215
animation-delay: $delay;
216216
}
217217
@if $type == 'fsbr' {
218-
@extend .animate--fsbr;
218+
@extend %animate--fsbr;
219219
animation-duration: $time;
220220
animation-delay: $delay;
221221
}

0 commit comments

Comments
 (0)