loaders.css icon indicating copy to clipboard operation
loaders.css copied to clipboard

/ deprecation warning outside of calc when processing using SASS package

Open Waaflee opened this issue 2 years ago • 1 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/loaders.css/src/animations/ball-scale-multiple.scss b/node_modules/loaders.css/src/animations/ball-scale-multiple.scss
index ecd61fb..dff1fe0 100644
--- a/node_modules/loaders.css/src/animations/ball-scale-multiple.scss
+++ b/node_modules/loaders.css/src/animations/ball-scale-multiple.scss
@@ -30,7 +30,7 @@ $size: 60px;
   @include ball-scale-multiple();
 
   position: relative;
-  transform: translateY(-$size / 2);
+  transform: translateY(calc(-$size / 2));
 
   > div {
     @include balls();

This issue body was partially generated by patch-package.

Waaflee avatar Oct 24 '22 18:10 Waaflee

any alternative repo ?

danny007in avatar Sep 24 '23 05:09 danny007in