1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 22:24:11 +03:00
css/modules/primer-marketing-support/lib/layout.scss
2017-11-17 12:06:01 -08:00

24 lines
582 B
SCSS

// Overrides $spacers variable from primer-support
// Increases standard spacing scale by 16px step increments after 40px
// i.e. After 40px, we have 72, 88, 104 and 120px
$spacers: (
0,
round($spacer / 2),
$spacer,
$spacer * 2,
$spacer * 3,
$spacer * 4,
$spacer * 5,
$spacer * 7,
$spacer * 9,
$spacer * 11,
$spacer * 13,
$spacer * 15
) !default;
// Adds aliases
$spacer-7: nth($spacers, 8) !default; // 72px
$spacer-8: nth($spacers, 9) !default; // 88px
$spacer-9: nth($spacers, 10) !default; // 104px
$spacer-10: nth($spacers, 11) !default; // 120px