ceaser-easing 0.6 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,14 +5,14 @@
|
|
5
5
|
$ceaser-legacy: false !default
|
6
6
|
|
7
7
|
@function ceaser($type: $ease)
|
8
|
-
@if $legacy
|
8
|
+
@if $ceaser-legacy
|
9
9
|
$easingValue: returnEaseType($type)
|
10
10
|
@return cubic-bezier(unquote($easingValue))
|
11
11
|
@else
|
12
12
|
@return cubic-bezier(unquote($type))
|
13
13
|
|
14
14
|
@mixin ceaser-transition($type: $ease, $properties: all, $duration: 500ms, $delay: 0ms)
|
15
|
-
@if $legacy
|
15
|
+
@if $ceaser-legacy
|
16
16
|
$easingValue : returnEaseType($type)
|
17
17
|
@include transition($properties $duration cubic-bezier(unquote($easingValue)) $delay)
|
18
18
|
@else
|