]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix SASS Deprecations 10550/head
authorJesse Doyle <jdoyle@ualberta.ca>
Thu, 17 Aug 2017 22:27:06 +0000 (16:27 -0600)
committerJesse Doyle <jdoyle@ualberta.ca>
Thu, 17 Aug 2017 22:43:09 +0000 (16:43 -0600)
* Use the `unquote` function as suggested to resolve
  deprecation warnings with SASS >= 3.4.20.
* Fixes https://github.com/zurb/foundation-sites/issues/10534.

SEE: https://github.com/sass/sass/issues/1778

scss/xy-grid/_gutters.scss

index 3ab987ea13544e76893147e210eec25e25484f3c..e8efb714d54d77a5902214d21619803320839d06 100644 (file)
@@ -30,7 +30,7 @@
 
       // Loop through each gutter position
       @each $value in $gutter-position {
-        #{$gutter-type}-#{$value}: #{$operator}$gutter;
+        #{$gutter-type}-#{$value}: unquote("#{$operator}#{$gutter}");
       }
     }
   }
@@ -39,7 +39,7 @@
 
     // Loop through each gutter position
     @each $value in $gutter-position {
-      #{$gutter-type}-#{$value}: #{$operator}$gutter;
+      #{$gutter-type}-#{$value}: unquote("#{$operator}#{$gutter}");
     }
   }
 }