mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-24 22:47:26 +00:00
17 lines
375 B
SCSS
17 lines
375 B
SCSS
|
// stylelint-disable property-blacklist
|
||
|
@mixin transition($transition...) {
|
||
|
@if $enable-transitions {
|
||
|
@if length($transition) == 0 {
|
||
|
transition: $transition-base;
|
||
|
} @else {
|
||
|
transition: $transition;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@if $enable-prefers-reduced-motion-media-query {
|
||
|
@media screen and (prefers-reduced-motion: reduce) {
|
||
|
transition: none;
|
||
|
}
|
||
|
}
|
||
|
}
|