summaryrefslogtreecommitdiffstats
path: root/src/objects/_dialog.vars.scss
blob: 8650e5145f18dcfe0e4b5abd75b06c3acaa35f38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@use "sass:map";
@use "pkg:iro-sass/props";
@use "../core.vars" as core;
@use "../layouts/container.vars" as container;

$pad-b: props.def(--o-dialog--pad-b, props.get(container.$pad-i)) !default;
$pad-i: props.def(--o-dialog--pad-b, props.get(container.$pad-i)) !default;
$rounding: props.def(--o-dialog--rounding, props.get(core.$rounding)) !default;

$border-width: props.def(--o-dialog--border-width, props.get(core.$border-width--thin)) !default;

$body--pad-b: props.def(--o-dialog--body--pad-b, props.get(container.$pad-i)) !default;
$body--pad-i: props.def(--o-dialog--body--pad-i, props.get(container.$pad-i)) !default;

$bg-color: props.def(--o-dialog--bg-color, props.get(core.$theme, --bg-l1), "color") !default;
$border-color: props.def(
	--o-dialog--border-color,
	props.get(core.$theme, --border-mute),
	"color"
) !default;