diff options
Diffstat (limited to 'src/objects/_checkbox.vars.scss')
-rw-r--r-- | src/objects/_checkbox.vars.scss | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/objects/_checkbox.vars.scss b/src/objects/_checkbox.vars.scss new file mode 100644 index 0000000..d0785d7 --- /dev/null +++ b/src/objects/_checkbox.vars.scss | |||
@@ -0,0 +1,32 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use '../props'; | ||
3 | @use '../core.vars' as core; | ||
4 | |||
5 | $size: props.def(--o-checkbox--size, props.get(core.$size--175)) !default; | ||
6 | $label-gap: props.def(--o-checkbox--label-gap, props.get(core.$size--125)) !default; | ||
7 | $border-width: props.def(--o-checkbox--border-width, props.get(core.$border-width--medium)) !default; | ||
8 | $pad-i: props.def(--o-checkbox--pad-i, props.get(core.$size--65)) !default; | ||
9 | $pad-b: props.def(--o-checkbox--pad-b, props.get(core.$size--65)) !default; | ||
10 | $rounding: props.def(--o-checkbox--rounding, props.get(core.$rounding)) !default; | ||
11 | $spacing-sibling: props.def(--o-checkbox--spacing-sibling, props.get(core.$size--300)) !default; | ||
12 | |||
13 | $key-focus--border-width: props.def(--o-card--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; | ||
14 | $key-focus--border-offset: props.def(--o-card--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; | ||
15 | $key-focus--outline-width: props.def(--o-card--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; | ||
16 | |||
17 | $box-border-color: props.def(--o-checkbox--box-border-color, props.get(core.$theme, --text-mute-more)) !default; | ||
18 | $box-bg-color: props.def(--o-checkbox--box-bg-color, props.get(core.$theme, --base, --75)) !default; | ||
19 | |||
20 | $hover--label-color: props.def(--o-checkbox--hover--label-color, props.get(core.$theme, --heading)) !default; | ||
21 | $hover--box-border-color: props.def(--o-checkbox--hover--box-border-color, props.get(core.$theme, --text-mute)) !default; | ||
22 | |||
23 | $accent--box-border-color: props.def(--o-checkbox--accent--box-border-color, props.get(core.$theme, --accent, --900)) !default; | ||
24 | $accent--hover--box-border-color: props.def(--o-checkbox--accent--hover--box-border-color, props.get(core.$theme, --accent, --1000)) !default; | ||
25 | |||
26 | $disabled--label-color: props.def(--o-checkbox--disabled--label-color, props.get(core.$theme, --text-disabled)) !default; | ||
27 | $disabled--box-border-color: props.def(--o-checkbox--disabled--box-border-color, props.get(core.$theme, --border-strong)) !default; | ||
28 | $disabled--box-bg-color: props.def(--o-checkbox--disabled--box-bg-color, props.get(core.$theme, --base, --75)) !default; | ||
29 | |||
30 | $key-focus--label-color: props.def(--o-checkbox--key-focus--label-color, props.get(core.$theme, --focus, --text)) !default; | ||
31 | $key-focus--border-color: props.def(--o-checkbox--key-focus--border-color, props.get(core.$theme, --focus, --border)) !default; | ||
32 | $key-focus--outline-color: props.def(--o-checkbox--key-focus--outline-color, props.get(core.$theme, --focus, --outline)) !default; | ||