vendor/assets/scss/motion-ui/effects/_shake.scss in foundation-rails-6.4.3.0 vs vendor/assets/scss/motion-ui/effects/_shake.scss in foundation-rails-6.5.1.0
- old
+ new
@@ -4,10 +4,10 @@
@function shake($intensity: 7%) {
$right: (0, 10, 20, 30, 40, 50, 60, 70, 80, 90);
$left: (5, 15, 25, 35, 45, 55, 65, 75, 85, 95);
$keyframes: (
- name: 'shake-#{($intensity / 1%)}',
+ name: -mui-string-safe('shake-#{$intensity}'),
$right: (transform: translateX($intensity)),
$left: (transform: translateX(-$intensity)),
);
@return $keyframes;