diff options
author | Volpeon <git@volpeon.ink> | 2024-10-19 14:46:06 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-10-19 14:46:06 +0200 |
commit | 3799950b0a869aee0e2725a8aafbb53c26723942 (patch) | |
tree | 9d8ee6ee3e9f963358d6463aa6114d4020a90a39 /src/objects/_radio.vars.scss | |
parent | Update (diff) | |
download | iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.tar.gz iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.tar.bz2 iro-design-3799950b0a869aee0e2725a8aafbb53c26723942.zip |
Update
Diffstat (limited to 'src/objects/_radio.vars.scss')
-rw-r--r-- | src/objects/_radio.vars.scss | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/objects/_radio.vars.scss b/src/objects/_radio.vars.scss new file mode 100644 index 0000000..b776dd4 --- /dev/null +++ b/src/objects/_radio.vars.scss | |||
@@ -0,0 +1,33 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use '../props'; | ||
3 | @use '../core.vars' as core; | ||
4 | |||
5 | $diameter: props.def(--o-radio--diameter, props.get(core.$size--200)) !default; | ||
6 | $label-gap: props.def(--o-radio--label-gap, props.get(core.$size--125)) !default; | ||
7 | $border-width: props.def(--o-radio--border-width, props.get(core.$border-width--medium)) !default; | ||
8 | $pad-i: props.def(--o-radio--pad-i, props.get(core.$size--65)) !default; | ||
9 | $pad-b: props.def(--o-radio--pad-b, props.get(core.$size--65)) !default; | ||
10 | $rounding: props.def(--o-radio--rounding, props.get(core.$rounding)) !default; | ||
11 | $spacing-sibling: props.def(--o-radio--spacing-sibling, props.get(core.$size--300)) !default; | ||
12 | |||
13 | $key-focus--border-width: props.def(--o-radio--key-focus--border-width, props.get(core.$key-focus--border-width)) !default; | ||
14 | $key-focus--border-offset: props.def(--o-radio--key-focus--border-offset, props.get(core.$key-focus--border-offset)) !default; | ||
15 | $key-focus--outline-width: props.def(--o-radio--key-focus--outline-width, props.get(core.$key-focus--outline-width)) !default; | ||
16 | |||
17 | $circle-border-color: props.def(--o-radio--circle-border-color, props.get(core.$theme, --text-mute-more)) !default; | ||
18 | $circle-bg-color: props.def(--o-radio--circle-bg-color, props.get(core.$theme, --base, --75)) !default; | ||
19 | |||
20 | $hover--label-color: props.def(--o-radio--hover--label-color, props.get(core.$theme, --heading)) !default; | ||
21 | $hover--circle-border-color: props.def(--o-radio--hover--circle-border-color, props.get(core.$theme, --text-mute)) !default; | ||
22 | |||
23 | $accent--circle-border-color: props.def(--o-radio--accent--circle-border-color, props.get(core.$theme, --accent, --900)) !default; | ||
24 | |||
25 | $accent--hover--circle-border-color: props.def(--o-radio--accent--hover--circle-border-color, props.get(core.$theme, --accent, --1000)) !default; | ||
26 | |||
27 | $disabled--label-color: props.def(--o-radio--disabled--label-color, props.get(core.$theme, --text-disabled)) !default; | ||
28 | $disabled--circle-border-color: props.def(--o-radio--disabled--circle-border-color, props.get(core.$theme, --border-strong)) !default; | ||
29 | $disabled--circle-bg-color: props.def(--o-radio--disabled--circle-bg-color, props.get(core.$theme, --base, --75)) !default; | ||
30 | |||
31 | $key-focus--label-color: props.def(--o-radio--key-focus--label-color, props.get(core.$theme, --focus, --text)) !default; | ||
32 | $key-focus--border-color: props.def(--o-radio--key-focus--border-color, props.get(core.$theme, --focus, --border)) !default; | ||
33 | $key-focus--outline-color: props.def(--o-radio--key-focus--outline-color, props.get(core.$theme, --focus, --outline)) !default; | ||