diff options
author | Volpeon <git@volpeon.ink> | 2024-10-18 18:08:24 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-18 18:08:24 +0200 |
commit | 365c56edcc36b5b92902bac01ce44b43d01e8685 (patch) | |
tree | 644611792591a76e605068d0c9e230fad6a633e7 /src/layouts/_media.vars.scss | |
parent | Revamped variable management (diff) | |
download | iro-design-365c56edcc36b5b92902bac01ce44b43d01e8685.tar.gz iro-design-365c56edcc36b5b92902bac01ce44b43d01e8685.tar.bz2 iro-design-365c56edcc36b5b92902bac01ce44b43d01e8685.zip |
Refactoring
Diffstat (limited to 'src/layouts/_media.vars.scss')
-rw-r--r-- | src/layouts/_media.vars.scss | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/layouts/_media.vars.scss b/src/layouts/_media.vars.scss new file mode 100644 index 0000000..3444611 --- /dev/null +++ b/src/layouts/_media.vars.scss | |||
@@ -0,0 +1,16 @@ | |||
1 | @use '../props'; | ||
2 | @use '../vars'; | ||
3 | |||
4 | $gap: props.def(--l-media--gap, props.get(vars.$size--150)) !default; | ||
5 | |||
6 | $gapless: props.def(--l-media--gapless, 0) !default; | ||
7 | $sm: props.def(--l-media--sm, props.get(vars.$size--100)) !default; | ||
8 | $lg: props.def(--l-media--lg, props.get(vars.$size--300)) !default; | ||
9 | $xl: props.def(--l-media--xl, props.get(vars.$size--450)) !default; | ||
10 | |||
11 | $sizes: ( | ||
12 | 'gapless': $gapless, | ||
13 | 'sm': $sm, | ||
14 | 'lg': $lg, | ||
15 | 'xl': $xl, | ||
16 | ) !default; | ||