summaryrefslogtreecommitdiffstats
path: root/src/scopes/_body.vars.scss
blob: 414e0c1cd52568565ad47a9d4cb0720a60f6ddf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@use "pkg:iro-sass/props";
@use "../core.vars" as core;

@use "../layouts/container.vars" as container;

$font-size: props.def(--s-body--font-size, props.get(core.$font-size--150)) !default;
$line-height: props.def(
	--s-body--line-height,
	calc(props.get(core.$font--standard--line-height) + 0.1)
) !default;
$paragraph--margin-bs: props.def(
	--s-body--paragraph--margin-bs,
	props.get(core.$size--300)
) !default;
$paragraph--max-inline-size: props.def(
	--s-body--paragraph--max-inline-size,
	props.get(container.$fixed)
) !default;
$img--max-block-size: props.def(--s-body--img--max-block-size, none) !default;

$strong--text-color: props.def(
	--s-body--strong--text-color,
	props.get(core.$theme, --heading),
	"color"
) !default;