Commit 814e5b7f authored by Andrew Luca's avatar Andrew Luca Committed by Mark Otto
Browse files

Extend spacers and sizes (#25101)

parent d16eb10e
Showing with 8 additions and 4 deletions
+8 -4
...@@ -114,23 +114,27 @@ $enable-print-styles: true !default; ...@@ -114,23 +114,27 @@ $enable-print-styles: true !default;
// variables. Mostly focused on spacing. // variables. Mostly focused on spacing.
// You can add more entries to the $spacers map, should you need more variation. // You can add more entries to the $spacers map, should you need more variation.
// stylelint-disable
$spacer: 1rem !default; $spacer: 1rem !default;
$spacers: ( $spacers: () !default;
$spacers: map-merge((
0: 0, 0: 0,
1: ($spacer * .25), 1: ($spacer * .25),
2: ($spacer * .5), 2: ($spacer * .5),
3: $spacer, 3: $spacer,
4: ($spacer * 1.5), 4: ($spacer * 1.5),
5: ($spacer * 3) 5: ($spacer * 3)
) !default; ), $spacers);
// This variable affects the `.h-*` and `.w-*` classes. // This variable affects the `.h-*` and `.w-*` classes.
$sizes: ( $sizes: () !default;
$sizes: map-merge((
25: 25%, 25: 25%,
50: 50%, 50: 50%,
75: 75%, 75: 75%,
100: 100% 100: 100%
) !default; ), $sizes);
// stylelint-enable
// Body // Body
// //
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment