]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Added prototype-spacing-multiplier variable
authorharry <harmanmanchanda182@gmail.com>
Tue, 7 Feb 2017 17:22:30 +0000 (22:52 +0530)
committerharry <harmanmanchanda182@gmail.com>
Tue, 7 Feb 2017 17:22:30 +0000 (22:52 +0530)
scss/prototype/_spacing.scss

index 0d829c29a8cb4739a0ffa998301c33e8e8a5e881..41d7cbe83dec40a9d5afdfab537be485d26eb3ec 100644 (file)
@@ -13,9 +13,11 @@ $prototype-spacing-classes: (
   padding: p
 ) !default;
 
+$prototype-spacing-multiplier: 10 !default;
+
 /// Default value for `prototype-spacer`
 /// @type Number
-$prototype-spacer: rem-calc(10px) !default;
+$prototype-spacer: rem-calc($prototype-spacing-multiplier) !default;
 
 /// Default value for Horizontal spacing. 
 /// @type Boolean
@@ -50,8 +52,7 @@ $prototype-spacers-count: 5 !default;
       $length-x:   map-get($lengths, x);
       $length-y:   map-get($lengths, y);
       
-      // Multiply `$size` by 10
-      $size: ($size * 10);
+      $size: ($size * $prototype-spacing-multiplier);
 
       // Positive Margin & Padding
       .#{$abbrev}-a-#{$size} {