summaryrefslogtreecommitdiffstats
path: root/src/layouts/_container.vars.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/_container.vars.scss')
-rw-r--r--src/layouts/_container.vars.scss22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/layouts/_container.vars.scss b/src/layouts/_container.vars.scss
new file mode 100644
index 0000000..8b2258a
--- /dev/null
+++ b/src/layouts/_container.vars.scss
@@ -0,0 +1,22 @@
1@use 'iro-sass/src/iro-sass' as iro;
2@use '../props';
3@use '../vars';
4
5$fixed-125: props.def(--l-container--fixed-125, iro.fn-px-to-rem(720px)) !default;
6$fixed: props.def(--l-container--fixed, iro.fn-px-to-rem(610px)) !default;
7$fixed-75: props.def(--l-container--fixed-75, iro.fn-px-to-rem(500px)) !default;
8
9$fixed-sizes: (
10 'fixed-125': $fixed-125,
11 'fixed': $fixed,
12 'fixed-75': $fixed-75
13) !default;
14
15$pad-i: props.def(--l-container--pad-i, props.get(vars.$size--400)) !default;
16$pad-b: props.def(--l-container--pad-b, props.get(vars.$size--800)) !default;
17
18$pad-i--sm: props.def(--l-container--pad-i, props.get(vars.$size--200), 'sm') !default;
19$pad-b--sm: props.def(--l-container--pad-b, props.get(vars.$size--600), 'sm') !default;
20
21$pad-i--xs: props.def(--l-container--pad-i, props.get(vars.$size--150), 'xs') !default;
22$pad-b--xs: props.def(--l-container--pad-b, props.get(vars.$size--450), 'xs') !default;