summaryrefslogtreecommitdiffstats
path: root/src/objects/_field-label.vars.scss
blob: 4588e70074d9172387540255e46a10831bd4998c (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
26
27
28
29
30
31
32
33
34
@use "pkg:iro-sass/props";
@use "../core.vars" as core;

$spacing-i: props.def(--o-field-label--spacing-i, props.get(core.$size--150)) !default;
$spacing-b: props.def(--o-field-label--spacing-b, props.get(core.$size--85)) !default;
$label-font-size: props.def(
	--o-field-label--label-font-size,
	props.get(core.$font-size--75)
) !default;
$hint-font-size: props.def(
	--o-field-label--hint-font-size,
	props.get(core.$font-size--75)
) !default;

$label-color: props.def(
	--o-field-label--label-color,
	props.get(core.$theme, --text-mute),
	"color"
) !default;
$hint-color: props.def(
	--o-field-label--hint-color,
	props.get(core.$theme, --text-mute),
	"color"
) !default;
$error-hint-color: props.def(
	--o-field-label--error-hint-color,
	props.get(core.$theme, --negative, --900),
	"color"
) !default;
$disabled-color: props.def(
	--o-field-label--disabled-color,
	props.get(core.$theme, --text-disabled),
	"color"
) !default;