Skip to content

Commit 7a06be2

Browse files
committed
Added sizing variables
1 parent 2f52c4b commit 7a06be2

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

scss/core/variables/_sizing.scss

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,20 @@ $percentage-sizers: map-merge((
2929
15\/10: 150%,
3030
), $percentage-sizers);
3131

32-
// This variable affects the `.pc-*`, `.max-pc-*` classes.
32+
// This variable affects the `.w-screen-*`, `.max-w-screen-*` classes.
33+
$screen-width-sm: 640px !default;
34+
$screen-width-md: 768px !default;
35+
$screen-width-lg: 1024px !default;
36+
$screen-width-xl: 1280px !default;
37+
$screen-width-xxl: 1536px !default;
38+
39+
// Map
3340
$screen-widths: () !default;
3441
// stylelint-disable-next-line scss/dollar-variable-default
3542
$screen-widths: map-merge((
36-
screen-sm: 640px,
37-
screen-md: 768px,
38-
screen-lg: 1024px,
39-
screen-xl: 1280px,
40-
screen-xxl: 1536px
43+
screen-sm: $screen-width-sm,
44+
screen-md: $screen-width-md,
45+
screen-lg: $screen-width-lg,
46+
screen-xl: $screen-width-xl,
47+
screen-xxl: $screen-width-xxl
4148
), $screen-widths);

0 commit comments

Comments
 (0)