From 50d24a41b5656cdaf31468b28d08da765ca95763 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 19 Oct 2024 10:34:53 +0200 Subject: Update --- src/objects/_field-label.vars.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/objects/_field-label.vars.scss (limited to 'src/objects/_field-label.vars.scss') diff --git a/src/objects/_field-label.vars.scss b/src/objects/_field-label.vars.scss new file mode 100644 index 0000000..699836e --- /dev/null +++ b/src/objects/_field-label.vars.scss @@ -0,0 +1,12 @@ +@use '../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)) !default; +$hint-color: props.def(--o-field-label--hint-color, props.get(core.$theme, --text-mute)) !default; +$error-hint-color: props.def(--o-field-label--hint-color, props.get(core.$theme, --negative, --900)) !default; +$disabled-color: props.def(--o-field-label--disabled-color, props.get(core.$theme, --text-disabled)) !default; -- cgit v1.2.3-70-g09d2