summaryrefslogtreecommitdiffstats
path: root/src/objects/_radio.vars.scss
blob: e7a41a40a1f5664482b57359fc7546252bbdca4b (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@use "sass:map";
@use "pkg:iro-sass/props";
@use "../core.vars" as core;

$diameter: props.def(--o-radio--diameter, props.get(core.$size--200)) !default;
$label-gap: props.def(--o-radio--label-gap, props.get(core.$size--125)) !default;
$border-width: props.def(--o-radio--border-width, props.get(core.$border-width--medium)) !default;
$pad-i: props.def(--o-radio--pad-i, props.get(core.$size--65)) !default;
$pad-b: props.def(--o-radio--pad-b, props.get(core.$size--65)) !default;
$rounding: props.def(--o-radio--rounding, props.get(core.$rounding--sm)) !default;
$spacing-sibling: props.def(--o-radio--spacing-sibling, props.get(core.$size--300)) !default;

$key-focus--border-width: props.def(
	--o-radio--key-focus--border-width,
	props.get(core.$key-focus--border-width)
) !default;
$key-focus--border-offset: props.def(
	--o-radio--key-focus--border-offset,
	props.get(core.$key-focus--border-offset)
) !default;
$key-focus--outline-width: props.def(
	--o-radio--key-focus--outline-width,
	props.get(core.$key-focus--outline-width)
) !default;

$circle-border-color: props.def(
	--o-radio--circle-border-color,
	props.get(core.$theme, --text-mute-more),
	"color"
) !default;
$circle-bg-color: props.def(
	--o-radio--circle-bg-color,
	props.get(core.$theme, --base, --75),
	"color"
) !default;

$hover--label-color: props.def(
	--o-radio--hover--label-color,
	props.get(core.$theme, --heading),
	"color"
) !default;
$hover--circle-border-color: props.def(
	--o-radio--hover--circle-border-color,
	props.get(core.$theme, --text-mute),
	"color"
) !default;

$accent--circle-border-color: props.def(
	--o-radio--accent--circle-border-color,
	props.get(core.$theme, --accent, --900),
	"color"
) !default;

$accent--hover--circle-border-color: props.def(
	--o-radio--accent--hover--circle-border-color,
	props.get(core.$theme, --accent, --1000),
	"color"
) !default;

$disabled--label-color: props.def(
	--o-radio--disabled--label-color,
	props.get(core.$theme, --text-disabled),
	"color"
) !default;
$disabled--circle-border-color: props.def(
	--o-radio--disabled--circle-border-color,
	props.get(core.$theme, --border-strong),
	"color"
) !default;
$disabled--circle-bg-color: props.def(
	--o-radio--disabled--circle-bg-color,
	props.get(core.$theme, --base, --75),
	"color"
) !default;

$key-focus--label-color: props.def(
	--o-radio--key-focus--label-color,
	props.get(core.$theme, --focus, --text),
	"color"
) !default;
$key-focus--border-color: props.def(
	--o-radio--key-focus--border-color,
	props.get(core.$theme, --focus, --border),
	"color"
) !default;
$key-focus--outline-color: props.def(
	--o-radio--key-focus--outline-color,
	props.get(core.$theme, --focus, --outline),
	"color"
) !default;