2020-08-23 12:01:06 +02:00
|
|
|
// stylelint-disable property-blacklist
|
2018-12-09 08:21:01 +01:00
|
|
|
@mixin transition($transition...) {
|
|
|
|
@if $enable-transitions {
|
|
|
|
@if length($transition) == 0 {
|
|
|
|
transition: $transition-base;
|
|
|
|
} @else {
|
|
|
|
transition: $transition;
|
|
|
|
}
|
|
|
|
}
|
2020-08-23 12:01:06 +02:00
|
|
|
|
|
|
|
@if $enable-prefers-reduced-motion-media-query {
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
2018-12-09 08:21:01 +01:00
|
|
|
}
|