summaryrefslogtreecommitdiffstats
path: root/src/scopes/_body.vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-11-21 17:40:06 +0100
committerVolpeon <git@volpeon.ink>2024-11-21 17:40:06 +0100
commit993174463185e79b89cccb61dc180fe007f49541 (patch)
treea6b75b7bdb7b905076fd13367366d5b65a214ebf /src/scopes/_body.vars.scss
parentBody scope (diff)
downloadiro-design-993174463185e79b89cccb61dc180fe007f49541.tar.gz
iro-design-993174463185e79b89cccb61dc180fe007f49541.tar.bz2
iro-design-993174463185e79b89cccb61dc180fe007f49541.zip
Body scope: Limit paragraph width
Diffstat (limited to 'src/scopes/_body.vars.scss')
-rw-r--r--src/scopes/_body.vars.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/scopes/_body.vars.scss b/src/scopes/_body.vars.scss
index dfaec77..79556fa 100644
--- a/src/scopes/_body.vars.scss
+++ b/src/scopes/_body.vars.scss
@@ -1,6 +1,9 @@
1@use 'iro-sass/src/props'; 1@use 'iro-sass/src/props';
2@use '../core.vars' as core; 2@use '../core.vars' as core;
3 3
4$font-size: props.def(--s-body--font-size, props.get(core.$font-size--150)) !default; 4@use '../layouts/container.vars' as container;
5$paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default; 5
6$img--max-block-size: props.def(--s-body--img--max-block-size, calc(100vh - props.get(core.$size--2400))) !default; 6$font-size: props.def(--s-body--font-size, props.get(core.$font-size--150)) !default;
7$paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default;
8$paragraph--max-inline-size: props.def(--s-body--paragraph--max-inline-size, props.get(container.$fixed)) !default;
9$img--max-block-size: props.def(--s-body--img--max-block-size, calc(100vh - props.get(core.$size--2400))) !default;