summaryrefslogtreecommitdiffstats
path: root/src/scopes/_body.vars.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-11-19 10:19:18 +0100
committerVolpeon <git@volpeon.ink>2024-11-19 10:19:18 +0100
commit0577b8d19c08e4a0d99b6da615747cf801c9cb97 (patch)
treede9749e737d6a3877c9c6e1b723b868227b5fb91 /src/scopes/_body.vars.scss
parentNavbar: Better icon integration (diff)
downloadiro-design-0577b8d19c08e4a0d99b6da615747cf801c9cb97.tar.gz
iro-design-0577b8d19c08e4a0d99b6da615747cf801c9cb97.tar.bz2
iro-design-0577b8d19c08e4a0d99b6da615747cf801c9cb97.zip
Add body scope
Diffstat (limited to 'src/scopes/_body.vars.scss')
-rw-r--r--src/scopes/_body.vars.scss9
1 files changed, 9 insertions, 0 deletions
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 @@
1@use 'iro-sass/src/props';
2@use '../core.vars' as core;
3
4$font-size: props.def(--s-body--font-size, props.get(core.$font-size--150)) !default;
5
6$paragraph--margin-bs: props.def(--s-body--paragraph--margin-bs, props.get(core.$size--300)) !default;
7$block--margin-b: props.def(--s-body--block--margin-b, calc(2 * props.get($paragraph--margin-bs))) !default;
8
9$img--max-block-size: props.def(--s-body--img--max-block-size, calc(100vh - props.get(core.$size--2400))) !default;