Skip to content

Commit 8b0f3ee

Browse files
committed
add !default in marketing/support/variables; plan removal of unused marketing vars
1 parent 8177332 commit 8b0f3ee

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/marketing/support/variables.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ $h000-size: 64px !default;
2424
$h000-size-mobile: 48px !default;
2525

2626
// Colors
27-
$green-mktg: mix($green-500, $green-400, 50%);
28-
$blue-mktg: mix($blue-400, $blue-500, 42%);
27+
$green-mktg: mix($green-500, $green-400, 50%) !default;
28+
$blue-mktg: mix($blue-400, $blue-500, 42%) !default;
2929

3030
// Animations
31-
$transition-time: 0.4s;
31+
$transition-time: 0.4s !default;
3232

3333
// Increases primer-core scale first by 8px for spacer-7 then by 16px step increments for spacer-8 to spacer-12
3434
// i.e. After 40px, we have 48, 64, 80, 96, etc.
@@ -39,8 +39,10 @@ $spacer-10: $spacer * 12 !default; // 96px
3939
$spacer-11: $spacer * 14 !default; // 112px
4040
$spacer-12: $spacer * 16 !default; // 128px
4141

42-
$marketingSpacers: $spacer-7, $spacer-8, $spacer-9, $spacer-10, $spacer-11, $spacer-12;
43-
$allSpacers: $spacer-1, $spacer-2, $spacer-3, $spacer-4, $spacer-5, $spacer-6, $spacer-7, $spacer-8, $spacer-9, $spacer-10, $spacer-11, $spacer-12;
42+
// TODO@14.0.0: remove $marketingSpacers (unused)
43+
$marketingSpacers: $spacer-7, $spacer-8, $spacer-9, $spacer-10, $spacer-11, $spacer-12 !default;
44+
// TODO@14.0.0: remove $allSpacers (unused)
45+
$allSpacers: $spacer-1, $spacer-2, $spacer-3, $spacer-4, $spacer-5, $spacer-6, $spacer-7, $spacer-8, $spacer-9, $spacer-10, $spacer-11, $spacer-12 !default;
4446

4547
$marketing-spacers: (
4648
7: $spacer-7,

0 commit comments

Comments
 (0)