From 365c56edcc36b5b92902bac01ce44b43d01e8685 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 18 Oct 2024 18:08:24 +0200 Subject: Refactoring --- src/layouts/_media.vars.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/layouts/_media.vars.scss (limited to 'src/layouts/_media.vars.scss') 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 @@ +@use '../props'; +@use '../vars'; + +$gap: props.def(--l-media--gap, props.get(vars.$size--150)) !default; + +$gapless: props.def(--l-media--gapless, 0) !default; +$sm: props.def(--l-media--sm, props.get(vars.$size--100)) !default; +$lg: props.def(--l-media--lg, props.get(vars.$size--300)) !default; +$xl: props.def(--l-media--xl, props.get(vars.$size--450)) !default; + +$sizes: ( + 'gapless': $gapless, + 'sm': $sm, + 'lg': $lg, + 'xl': $xl, +) !default; -- cgit v1.2.3-70-g09d2