summaryrefslogtreecommitdiffstats
path: root/src/objects/_field-label.vars.scss
blob: 844a10b92f0e94f7ee8b07eb2713429aa4646391 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
@use 'iro-sass/src/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;