Skip to content

Commit 6c8e59d

Browse files
committed
fix: ensure all default Sass spacing scale config can be overwritten (ex. lang-specific spacing options like we have with Japanese)
1 parent 698b160 commit 6c8e59d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/styles/01-settings/settings-spacing/_settings-spacing.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010
// Unit on which all spacing is based
1111
/// Bolt gutter spacing value
12-
$bolt-spacing-gutter: 2rem;
12+
$bolt-spacing-gutter: 2rem !default;
1313
/// Bolt default leading spacing value
1414
$bolt-spacing-leading: 1.65 !default;
1515
/// Bolt squished spacing value
16-
$bolt-spacing-squished: 0.5;
16+
$bolt-spacing-squished: 0.5 !default;
1717
/// Bolt stretched spacing value
18-
$bolt-spacing-stretched: 1.5;
18+
$bolt-spacing-stretched: 1.5 !default;
1919

2020
/// Bolt's definition of spacing scale. Used within 'export-data()' to JSON.
2121
/// @type Map
@@ -28,7 +28,7 @@ $bolt-spacing-values: (
2828
'large': 2,
2929
'xlarge': 4,
3030
'xxlarge': 8,
31-
);
31+
) !default;
3232

3333
@include bolt-export-data('spacing/scale.bolt.json', $bolt-spacing-values);
3434

0 commit comments

Comments
 (0)