From 0577b8d19c08e4a0d99b6da615747cf801c9cb97 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 19 Nov 2024 10:19:18 +0100 Subject: Add body scope --- src/scopes/_body.vars.scss | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/scopes/_body.vars.scss (limited to 'src/scopes/_body.vars.scss') diff --git a/src/scopes/_body.vars.scss b/src/scopes/_body.vars.scss new file mode 100644 index 0000000..98f23bd --- /dev/null +++ b/src/scopes/_body.vars.scss @@ -0,0 +1,9 @@ +@use 'iro-sass/src/props'; +@use '../core.vars' as core; + +$font-size: props.def(--s-body--font-size, props.get(core.$font-size--150)) !default; + +$paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default; +$block--margin-b: props.def(--s-body--block--margin-b, calc(2 * props.get($paragraph--margin-bs))) !default; + +$img--max-block-size: props.def(--s-body--img--max-block-size, calc(100vh - props.get(core.$size--2400))) !default; -- cgit v1.2.3-70-g09d2