assets/stylesheets/material/variables/_spacer.scss in material-sass-4.0.0.beta3 vs assets/stylesheets/material/variables/_spacer.scss in material-sass-4.0.0
- old
+ new
@@ -1,33 +1,36 @@
$border-color: $black-divider !default;
-$border-color-solid: $black-divider-solid !default;
+$border-color-solid: #e1e1e1 !default;
$border-radius: 2px !default;
$border-width: 1px !default;
-$sizes: (
- 25: 25%,
- 50: 50%,
- 75: 75%,
- 100: 100%
-) !default;
+$sizes: () !default;
+$sizes: map-merge(
+ (
+ 25: 25%,
+ 50: 50%,
+ 75: 75%,
+ 100: 100%,
+ auto: auto
+ ),
+ $sizes
+);
$spacer: 1rem !default;
$spacer-xs: ($spacer * 0.25) !default;
$spacer-sm: ($spacer * 0.5) !default;
$spacer-lg: ($spacer * 1.5) !default;
$spacer-xl: ($spacer * 3) !default;
-$spacers: (
- 0: 0,
- no: 0,
- 1: $spacer-xs,
- xs: $spacer-xs,
- 2: $spacer-sm,
- sm: $spacer-sm,
- 3: $spacer,
- md: $spacer,
- 4: $spacer-lg,
- lg: $spacer-lg,
- 5: $spacer-xl,
- xl: $spacer-xl
-) !default;
+$spacers: () !default;
+$spacers: map-merge(
+ (
+ 0: 0,
+ 1: $spacer-xs,
+ 2: $spacer-sm,
+ 3: $spacer,
+ 4: $spacer-lg,
+ 5: $spacer-xl
+ ),
+ $spacers
+);