igniteui-theming 6.3.0-beta.4 → 6.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "6.3.0-beta.4",
3
+ "version": "6.4.0-beta.1",
4
4
  "description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,15 +15,64 @@ $dark-material-checkbox: $material-checkbox;
15
15
 
16
16
  /// Generates a dark fluent checkbox schema.
17
17
  /// @type {Map}
18
- /// @prop {Map} fill-color-hover [color: ('primary', 200)] - The checked border and fill colors on hover.
18
+ /// @prop {Map} tick-color-hover [color: ('gray', 400)] - The checked mark color on hover when the control in unchecked.
19
+ /// @prop {Map} focus-outline-color [color: ('gray', 400)] - The focus outlined color.
20
+ /// @prop {Map} fill-color [color: ('primary', 300)] - The checked border and fill colors.
21
+ /// @prop {Map} fill-color-hover [color: ('primary', 100)] - The checked border and fill colors on hover.
22
+ /// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border and fill colors.
23
+ /// @prop {Map} disabled-color-label [color: ('gray', 300)] - The disabled color of the label.
24
+ /// @prop {Map} error-color [color: ('error', 100)] - The border and fill colors in invalid state.
25
+ /// @prop {Map} error-color-hover [color: ('error', 50)] - The border and fill colors in invalid state on hover.
19
26
  /// @requires $fluent-checkbox
20
27
  $dark-fluent-checkbox: extend(
21
28
  $fluent-checkbox,
22
29
  (
30
+ tick-color-hover: (
31
+ color: (
32
+ 'gray',
33
+ 400,
34
+ ),
35
+ ),
36
+ focus-outline-color: (
37
+ color: (
38
+ 'gray',
39
+ 400,
40
+ ),
41
+ ),
42
+ fill-color: (
43
+ color: (
44
+ 'primary',
45
+ 300,
46
+ ),
47
+ ),
23
48
  fill-color-hover: (
24
49
  color: (
25
50
  'primary',
26
- 200,
51
+ 100,
52
+ ),
53
+ ),
54
+ disabled-color: (
55
+ color: (
56
+ 'gray',
57
+ 100,
58
+ ),
59
+ ),
60
+ disabled-color-label: (
61
+ color: (
62
+ 'gray',
63
+ 300,
64
+ ),
65
+ ),
66
+ error-color: (
67
+ color: (
68
+ 'error',
69
+ 100,
70
+ ),
71
+ ),
72
+ error-color-hover: (
73
+ color: (
74
+ 'error',
75
+ 50,
27
76
  ),
28
77
  ),
29
78
  )
@@ -31,15 +80,52 @@ $dark-fluent-checkbox: extend(
31
80
 
32
81
  /// Generates a dark bootstrap checkbox schema.
33
82
  /// @type {Map}
34
- /// @prop {Map} tick-color [color: ('gray', 900)] - The checked mark color.
83
+ /// @prop {Map} focus-outline-color [color: ('primary', 900, 0.5)] - The focus outlined color.
84
+ /// @prop {Map} focus-outline-color-error [color: ('error', 900, 0.5)] - The focus outlined color for focused invalid state.
85
+ /// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border color.
86
+ /// @prop {Map} disabled-color-label [color: ('gray', 300)] - The disabled color of the label.
87
+ /// @prop {Map} error-color [color: ('error', 300)] - The border and fill colors in invalid state.
88
+ /// @prop {Map} error-color-hover [color: ('error', 400)] - The border and fill colors in invalid state on hover.
35
89
  /// @requires $bootstrap-checkbox
36
90
  $dark-bootstrap-checkbox: extend(
37
91
  $bootstrap-checkbox,
38
92
  (
39
- tick-color: (
93
+ focus-outline-color: (
40
94
  color: (
41
- 'gray',
95
+ 'primary',
96
+ 900,
97
+ 0.5,
98
+ ),
99
+ ),
100
+ focus-outline-color-error: (
101
+ color: (
102
+ 'error',
42
103
  900,
104
+ 0.5,
105
+ ),
106
+ ),
107
+ disabled-color: (
108
+ color: (
109
+ 'gray',
110
+ 100,
111
+ ),
112
+ ),
113
+ disabled-color-label: (
114
+ color: (
115
+ 'gray',
116
+ 300,
117
+ ),
118
+ ),
119
+ error-color: (
120
+ color: (
121
+ 'error',
122
+ 300,
123
+ ),
124
+ ),
125
+ error-color-hover: (
126
+ color: (
127
+ 'error',
128
+ 400,
43
129
  ),
44
130
  ),
45
131
  )
@@ -50,8 +136,6 @@ $dark-bootstrap-checkbox: extend(
50
136
  /// @prop {Map} label-color [color: ('gray', 900, .8)]- The text color used for the label text.
51
137
  /// @prop {Map} label-color-hover [color: ('gray', 900)]- The text color used for the label text on hover.
52
138
  /// @prop {Map} focus-outline-color [color: ('gray', 900, .2)] - The focus outlined color.
53
- /// @prop {Map} fill-color [color: ('primary', 400)] - The checked border and fill colors.
54
- /// @prop {Map} fill-color-hover [color: ('primary', 300)] - The checked border and fill colors on hover.
55
139
  /// @prop {Map} empty-color [color: ('gray', 900, .6)] - The unchecked border color.
56
140
  /// @prop {Map} empty-color-hover [color: ('gray', 900, .8)] - The unchecked border color on hover.
57
141
  /// @prop {Map} error-color [color: ('error', 400)] - The border and fill colors in invalid state.
@@ -82,18 +166,6 @@ $dark-indigo-checkbox: extend(
82
166
  0.2,
83
167
  ),
84
168
  ),
85
- fill-color: (
86
- color: (
87
- 'primary',
88
- 400,
89
- ),
90
- ),
91
- fill-color-hover: (
92
- color: (
93
- 'primary',
94
- 300,
95
- ),
96
- ),
97
169
  empty-color: (
98
170
  contrast-color: (
99
171
  'gray',
@@ -8,25 +8,6 @@
8
8
  /// @access public
9
9
  ////
10
10
 
11
- /// Generates a base dark radio schema.
12
- /// @type {Map}
13
- /// @prop {Map} fill-color-hover [color: ('gray', 900)] - The checked border and dot colors on hover.
14
- /// @prop {Map} fill-hover-border-color [color: ('gray', 900)] - The text color used for the label text.
15
- $base-dark-radio: (
16
- fill-color-hover: (
17
- color: (
18
- 'gray',
19
- 900,
20
- ),
21
- ),
22
- fill-hover-border-color: (
23
- color: (
24
- 'gray',
25
- 900,
26
- ),
27
- ),
28
- );
29
-
30
11
  /// Generates a dark material radio schema.
31
12
  /// @type {Map}
32
13
  /// @requires $material-radio
@@ -38,7 +19,9 @@ $dark-material-radio: $material-radio;
38
19
  /// @prop {Map} fill-color [color: ('primary', 300)] - The checked border and dot colors.
39
20
  /// @prop {Map} fill-hover-border-color [color: ('primary', 100)] - The text color used for the label text.
40
21
  /// @prop {Map} fill-color-hover [color: ('primary', 100)] - The checked border and dot colors on hover.
41
- /// @prop {Map} error-color-hover [color: ('error', 200)] - The border and dot color in invalid state on hover.
22
+ /// @prop {Map} focus-outline-color [color: ('gray', 400)] - The focus outlined color.
23
+ /// @prop {Map} error-color [color: ('error', 100)] - The label, border and dot color in invalid state.
24
+ /// @prop {Map} error-color-hover [color: ('error', 50)] - The border and dot color in invalid state on hover.
42
25
  /// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border and dot colors.
43
26
  /// @prop {Map} disabled-fill-color [color: ('gray', 100)] - The disabled checked border and dot colors.
44
27
  /// @prop {Map} disabled-label-color [color: ('gray', 300)] - The disabled label color.
@@ -70,10 +53,22 @@ $dark-fluent-radio: extend(
70
53
  100,
71
54
  ),
72
55
  ),
56
+ focus-outline-color: (
57
+ color: (
58
+ 'gray',
59
+ 400,
60
+ ),
61
+ ),
62
+ error-color: (
63
+ color: (
64
+ 'error',
65
+ 100,
66
+ ),
67
+ ),
73
68
  error-color-hover: (
74
69
  color: (
75
70
  'error',
76
- 200,
71
+ 50,
77
72
  ),
78
73
  ),
79
74
  disabled-color: (
@@ -100,8 +95,55 @@ $dark-fluent-radio: extend(
100
95
  /// Generates a dark bootstrap radio schema.
101
96
  /// @type {Map}
102
97
  /// @requires $bootstrap-radio
103
- /// @requires $base-dark-radio
104
- $dark-bootstrap-radio: extend($bootstrap-radio, $base-dark-radio);
98
+ /// @prop {Map} focus-outline-color [color: ('primary', 900, 0.5)] - The focus outline color.
99
+ /// @prop {Map} focus-outline-color-error [color: ('error', 900, 0.5)] - The focus outline color when radio is invalid.
100
+ /// @prop {Map} error-color [color: ('error', 300)] - The label, border and dot color in invalid state.
101
+ /// @prop {Map} error-color-hover [color: ('error', 400)] - The focus outlined color in invalid state.
102
+ /// @prop {Map} disabled-color [color: ('gray', 100)] - The disabled border color.
103
+ /// @prop {Map} disabled-label-color [color: ('gray', 300)] - The disabled label color.
104
+ $dark-bootstrap-radio: extend(
105
+ $bootstrap-radio,
106
+ (
107
+ focus-outline-color: (
108
+ color: (
109
+ 'primary',
110
+ 900,
111
+ 0.5,
112
+ ),
113
+ ),
114
+ focus-outline-color-error: (
115
+ color: (
116
+ 'error',
117
+ 900,
118
+ 0.5,
119
+ ),
120
+ ),
121
+ error-color: (
122
+ color: (
123
+ 'error',
124
+ 300,
125
+ ),
126
+ ),
127
+ error-color-hover: (
128
+ color: (
129
+ 'error',
130
+ 400,
131
+ ),
132
+ ),
133
+ disabled-color: (
134
+ color: (
135
+ 'gray',
136
+ 100,
137
+ ),
138
+ ),
139
+ disabled-label-color: (
140
+ color: (
141
+ 'gray',
142
+ 300,
143
+ ),
144
+ ),
145
+ )
146
+ );
105
147
 
106
148
  /// Generates a dark indigo radio schema.
107
149
  /// @type {Map}
@@ -109,9 +151,6 @@ $dark-bootstrap-radio: extend($bootstrap-radio, $base-dark-radio);
109
151
  /// @prop {Map} label-color-hover [contrast-color: ('primary', 500)] - The text color used for the label text on hover.
110
152
  /// @prop {Map} hover-color [contrast-color: ('primary', 500, 0.8)] - The text color used for the label text.
111
153
  /// @prop {Map} focus-outline-color [contrast-color: ('primary', 500, 0.2)] - The focus outlined color.
112
- /// @prop {Map} fill-color [color: ('primary', 400)] - The checked border and dot colors.
113
- /// @prop {Map} fill-hover-border-color [color: ('primary', 300)] - The text color used for the label text.
114
- /// @prop {Map} fill-color-hover [color: ('primary', 300)] - The checked border and dot colors on hover.
115
154
  /// @prop {Map} empty-color [contrast-color: ('primary', 500, 0.6)] - The unchecked border color.
116
155
  /// @prop {Map} disabled-color [contrast-color: ('primary', 500, 0.2)] - The disabled border and dot colors.
117
156
  /// @prop {Map} disabled-label-color [contrast-color: ('primary', 500, 0.2)] - The disabled label color.
@@ -119,7 +158,6 @@ $dark-bootstrap-radio: extend($bootstrap-radio, $base-dark-radio);
119
158
  /// @prop {Map} error-color-hover [color: ('error', 300)] - The focus outlined color in invalid state.
120
159
  /// @prop {Map} focus-outline-color-error [color: ('error', 400, 0.5)] - The focus outline color when radio is filled and invalid.
121
160
  /// @requires $indigo-radio
122
- /// @requires $base-dark-radio
123
161
  $dark-indigo-radio: extend(
124
162
  $indigo-radio,
125
163
  (
@@ -150,24 +188,6 @@ $dark-indigo-radio: extend(
150
188
  0.2,
151
189
  ),
152
190
  ),
153
- fill-color: (
154
- color: (
155
- 'primary',
156
- 400,
157
- ),
158
- ),
159
- fill-hover-border-color: (
160
- color: (
161
- 'primary',
162
- 300,
163
- ),
164
- ),
165
- fill-color-hover: (
166
- color: (
167
- 'primary',
168
- 300,
169
- ),
170
- ),
171
191
  error-color: (
172
192
  color: (
173
193
  'error',
@@ -9,52 +9,60 @@
9
9
  ////
10
10
 
11
11
  /* stylelint-disable max-line-length */
12
-
13
- /// Generates a base dark switch schema.
14
- /// @type {Map}
15
- /// @prop {Color} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
16
- $base-dark-switch: (
17
- thumb-disabled-color: (
18
- color: (
19
- 'gray',
20
- 200,
21
- ),
22
- ),
23
- );
24
-
25
12
  /// Generates a dark material switch schema.
26
13
  /// @type {Map}
14
+ /// @prop {Map} thumb-off-color [color: ('gray', 100)] - The color of the thumb when the switch is off.
15
+ /// @prop {Map} thumb-disabled-color [color: ('gray', 200)] - The color of the thumb when the switch is disabled.
27
16
  /// @requires $material-switch
28
- /// @requires $base-dark-switch
29
- $dark-material-switch: extend($material-switch, $base-dark-switch);
17
+ $dark-material-switch: extend(
18
+ $material-switch,
19
+ (
20
+ thumb-off-color: (
21
+ color: (
22
+ 'gray',
23
+ 100,
24
+ ),
25
+ ),
26
+ thumb-disabled-color: (
27
+ color: (
28
+ 'gray',
29
+ 200,
30
+ ),
31
+ ),
32
+ )
33
+ );
30
34
 
31
35
  /// Generates a dark fluent switch schema.
32
36
  /// @type {Map}
33
- /// @prop {Map} border-color [color: ('gray', 500)] - The border color of the switch.
37
+ /// @prop {Map} focus-outline-color [color: ('gray', 400)] - The focus outlined color.
38
+ /// @prop {Map} border-color [color: ('gray', 400)] - The border color of the switch.
34
39
  /// @prop {Map} border-on-color [color: ('primary', 300)] - The border color of the on-switch.
35
- /// @prop {Map} border-on-hover-color [color: ('primary', 100)] - The border color of the on-switch.
36
- /// @prop {Map} border-disabled-color [color: ('gray', 200)] - The border color of the disabled switch.
40
+ /// @prop {Map} border-on-hover-color [color('primary',100)] - The border color of the on-switch.
37
41
  /// @prop {Map} track-on-color [color: ('primary', 300)] - The color of the track when the switch is on.
38
- /// @prop {Map} track-on-disabled-color [color: ('gray', 200)] - The color of the track when the switch is on and disabled.
39
42
  /// @prop {Map} track-on-hover-color [color: ('primary', 100)] - The color of the track when the switch is on and hovered.
40
- /// @prop {Map} thumb-off-color [color: ('gray', 500)] - The color of the thumb when the switch is off.
43
+ /// @prop {Map} track-off-color [color: ('gray', 50)] - The color of the track when the switch is off.
44
+ /// @prop {Map} thumb-off-color [color: ('gray', 400)] - The color of the thumb when the switch is off.
45
+ /// @prop {Map} label-disabled-color [color: ('gray', 300)] - The color of the switch label when the switch is disabled
46
+ /// @prop {Map} border-disabled-color [color: ('gray', 100)] - The border color of the disabled switch.
47
+ /// @prop {Map} track-disabled-color [color: ('gray', 50)] - The color of the track when the switch is disabled.
48
+ /// @prop {Map} track-on-disabled-color [color: ('gray', 100)] - The color of the track when the switch is on and disabled.
49
+ /// @prop {Map} thumb-disabled-color [color: ('gray', 100)] - The color of the thumb when the switch is disabled.
50
+ /// @prop {Map} thumb-on-disabled-color [color: ('gray', 50)] - The color of the thumb when the switch is on and disabled.
41
51
  /// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
42
52
  /// @requires $fluent-switch
43
- /// @requires $base-dark-switch
44
53
  $dark-fluent-switch: extend(
45
54
  $fluent-switch,
46
- $base-dark-switch,
47
55
  (
48
- border-color: (
56
+ focus-outline-color: (
49
57
  color: (
50
58
  'gray',
51
- 500,
59
+ 400,
52
60
  ),
53
61
  ),
54
- thumb-off-color: (
62
+ border-color: (
55
63
  color: (
56
64
  'gray',
57
- 500,
65
+ 400,
58
66
  ),
59
67
  ),
60
68
  border-on-color: (
@@ -75,22 +83,58 @@ $dark-fluent-switch: extend(
75
83
  300,
76
84
  ),
77
85
  ),
86
+ track-off-color: (
87
+ color: (
88
+ 'gray',
89
+ 50,
90
+ ),
91
+ ),
78
92
  track-on-hover-color: (
79
93
  color: (
80
94
  'primary',
81
95
  100,
82
96
  ),
83
97
  ),
98
+ thumb-off-color: (
99
+ color: (
100
+ 'gray',
101
+ 400,
102
+ ),
103
+ ),
104
+ label-disabled-color: (
105
+ color: (
106
+ 'gray',
107
+ 300,
108
+ ),
109
+ ),
84
110
  border-disabled-color: (
85
111
  color: (
86
112
  'gray',
87
- 200,
113
+ 100,
114
+ ),
115
+ ),
116
+ track-disabled-color: (
117
+ color: (
118
+ 'gray',
119
+ 50,
88
120
  ),
89
121
  ),
90
122
  track-on-disabled-color: (
91
123
  color: (
92
124
  'gray',
93
- 200,
125
+ 100,
126
+ ),
127
+ ),
128
+ thumb-disabled-color: (
129
+ color: (
130
+ 'gray',
131
+ 100,
132
+ ),
133
+ ),
134
+ thumb-on-disabled-color: (
135
+ color: (
136
+ 'gray',
137
+ 50,
94
138
  ),
95
139
  ),
96
140
  error-color: (
@@ -105,30 +149,40 @@ $dark-fluent-switch: extend(
105
149
  /// Generates a dark bootstrap switch schema.
106
150
  /// @type {Map}
107
151
  /// @prop {Map} thumb-on-color [color: ('gray', 900)] - The color of the thumb when the switch is on.
108
- /// @prop {Map} thumb-on-disabled-color [color: ('gray', 900)] - The color of the thumb when the switch is on and disabled.
109
- /// @prop {Map} thumb-on-error-color [color: ('gray', 900)] - The color of the thumb when the switch is on and invalid.
152
+ /// @prop {Map} label-disabled-color [color: ('gray', 300)] - The color of the switch label when the switch is disabled
153
+ /// @prop {Map} border-disabled-color [color: ('gray', 100)] - The border color of the disabled switch.
154
+ /// @prop {Map} track-disabled-color [color: 'surface'] - The color of the track when the switch is on and disabled.
155
+ /// @prop {Map} thumb-disabled-color [color: ('gray', 100)] - The color of the thumb when the switch is on and disabled.
110
156
  /// @requires $bootstrap-switch
111
- /// @requires $base-dark-switch
112
157
  $dark-bootstrap-switch: extend(
113
158
  $bootstrap-switch,
114
- $base-dark-switch,
115
159
  (
116
- thumb-on-color: (
160
+ focus-outline-color: (
117
161
  color: (
118
- 'gray',
162
+ 'primary',
119
163
  900,
164
+ 0.5,
120
165
  ),
121
166
  ),
122
- thumb-on-disabled-color: (
167
+ label-disabled-color: (
123
168
  color: (
124
169
  'gray',
125
- 900,
170
+ 300,
126
171
  ),
127
172
  ),
128
- thumb-on-error-color: (
173
+ border-disabled-color: (
129
174
  color: (
130
175
  'gray',
131
- 900,
176
+ 100,
177
+ ),
178
+ ),
179
+ track-disabled-color: (
180
+ color: 'surface',
181
+ ),
182
+ thumb-disabled-color: (
183
+ color: (
184
+ 'gray',
185
+ 100,
132
186
  ),
133
187
  ),
134
188
  )
@@ -144,11 +198,9 @@ $dark-bootstrap-switch: extend(
144
198
  /// @prop {Map} thumb-on-color [contrast-color: ('gray', 50)] - The color of the thumb when the switch is on.
145
199
  /// @prop {Map} thumb-disabled-color [contrast-color: ('gray', 50, .2)] - The color of the thumb when the switch is disabled.
146
200
  /// @prop {Map} thumb-on-disabled-color [contrast-color: ('gray', 50, .2)] - The color of the thumb when the switch is on and disabled.
147
- /// @prop {Map} track-on-hover-color [color: ('primary', 300)] - The color of the track when the switch is on and hovered.
148
201
  /// @prop {Map} border-color [contrast-color: ('gray', 50, .6)] - The border color of the switch.
149
202
  /// @prop {Map} border-hover-color [contrast-color: ('gray', 50, .8)] - The border color of the switch on hover.
150
203
  /// @prop {Map} border-disabled-color [contrast-color: ('gray', 50, .2)] - The border color of the disabled switch.
151
- /// @prop {Map} border-on-hover-color [color: ('primary', 300)] - The border color of the on-switch.
152
204
  /// @prop {Map} error-color [contrast-color: ('gray', 50, .6)] - The border and thumb color in invalid state.
153
205
  /// @prop {Map} focus-outline-color [contrast-color: ('gray', 50, .2)] - The focus outlined color.
154
206
  /// @requires $indigo-switch
@@ -209,12 +261,6 @@ $dark-indigo-switch: extend(
209
261
  0.2,
210
262
  ),
211
263
  ),
212
- track-on-hover-color: (
213
- color: (
214
- 'primary',
215
- 300,
216
- ),
217
- ),
218
264
  border-color: (
219
265
  contrast-color: (
220
266
  'gray',
@@ -236,12 +282,6 @@ $dark-indigo-switch: extend(
236
282
  0.2,
237
283
  ),
238
284
  ),
239
- border-on-hover-color: (
240
- color: (
241
- 'primary',
242
- 300,
243
- ),
244
- ),
245
285
  error-color: (
246
286
  contrast-color: (
247
287
  'gray',
@@ -5,11 +5,11 @@
5
5
  ////
6
6
 
7
7
  /// @type Map
8
- /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
9
- /// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
8
+ /// @prop {Number} resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state.
9
+ /// @prop {Number} hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state.
10
10
  /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
11
11
  $default-elevation-switch: (
12
- resting-elevation: 2,
13
- hover-elevation: 3,
12
+ resting-elevation: 1,
13
+ hover-elevation: 1,
14
14
  disabled-elevation: 1,
15
15
  );
@@ -12,18 +12,16 @@
12
12
  /// Generates a light checkbox schema.
13
13
  /// @type {Map}
14
14
  /// @prop {Map} tick-color [color: ('gray', 50)] - The checked mark color.
15
- /// @prop {Map} tick-color-hover [color: ('gray', 50)] - The checked mark color on hover.
16
15
  /// @prop {Map} label-color [color: ('gray', 900)]- The text color used for the label text.
17
- /// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
16
+ /// @prop {Map} label-color-hover [color: ('gray', 900)]- The text color used for the label text on hover.
17
+ /// @prop {Color} empty-fill-color [transparent] - The unchecked fill color.
18
18
  /// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and fill colors.
19
- /// @prop {Color} focus-outline-color [transparent] - The focus outlined color.
20
19
  /// @prop {Color} focus-outline-color-focused [transparent] - The focus outlined color for focused state.
21
20
  /// @prop {Color} focus-outline-color-error [transparent] - The focus outlined color for focused invalid state.
22
21
  /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and fill colors.
23
22
  /// @prop {Map} disabled-indeterminate-color [color: ('secondary', 100)] - The disabled border and fill colors in indeterminate state.
24
23
  /// @prop {Map} disabled-color-label [color: ('gray', 500)] - The disabled color of the label.
25
24
  /// @prop {Map} error-color [color: ('error', 500)] - The border and fill colors in invalid state.
26
- /// @prop {Map} error-color-hover [color: ('error', 500)] - The border and fill colors in invalid state on hover.
27
25
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(10px))] - The border radius used for checkbox.
28
26
  /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
29
27
  $light-checkbox: (
@@ -33,31 +31,25 @@ $light-checkbox: (
33
31
  50,
34
32
  ),
35
33
  ),
36
- tick-color-hover: (
37
- color: (
38
- 'gray',
39
- 50,
40
- ),
41
- ),
42
34
  label-color: (
43
35
  color: (
44
36
  'gray',
45
37
  900,
46
38
  ),
47
39
  ),
48
- empty-color: (
40
+ label-color-hover: (
49
41
  color: (
50
42
  'gray',
51
- 500,
43
+ 900,
52
44
  ),
53
45
  ),
46
+ empty-fill-color: transparent,
54
47
  fill-color: (
55
48
  color: (
56
49
  'primary',
57
50
  500,
58
51
  ),
59
52
  ),
60
- focus-outline-color: transparent,
61
53
  focus-outline-color-focused: transparent,
62
54
  focus-outline-color-error: transparent,
63
55
  disabled-color: (
@@ -84,12 +76,6 @@ $light-checkbox: (
84
76
  500,
85
77
  ),
86
78
  ),
87
- error-color-hover: (
88
- color: (
89
- 'error',
90
- 500,
91
- ),
92
- ),
93
79
  border-radius: (
94
80
  border-radius: (
95
81
  rem(2px),
@@ -109,8 +95,12 @@ $light-checkbox: (
109
95
  /// Generates a material checkbox schema.
110
96
  /// @type {Map}
111
97
  /// @prop {Map} empty-color [color: ('gray', 600)] - The unchecked border color.
98
+ /// @prop {Map} empty-color-hover [color: ('gray', 600)] - The unchecked border color on hover.
99
+ /// @prop {Map} tick-color-hover [color: ('gray', 50)] - The checked mark color on hover.
112
100
  /// @prop {Map} fill-color [color: ('secondary', 500)] - The checked border and fill colors.
113
101
  /// @prop {Map} fill-color-hover [color: ('secondary', 500)] - The checked border and fill colors on hover.
102
+ /// @prop {Color} focus-outline-color [transparent] - The focus outlined color.
103
+ /// @prop {Map} error-color-hover [color: ('error', 500)] - The border and fill colors in invalid state on hover.
114
104
  /// @requires {Map} $light-checkbox
115
105
  $material-checkbox: extend(
116
106
  $light-checkbox,
@@ -122,6 +112,20 @@ $material-checkbox: extend(
122
112
  ),
123
113
  ),
124
114
 
115
+ empty-color-hover: (
116
+ color: (
117
+ 'gray',
118
+ 600,
119
+ ),
120
+ ),
121
+
122
+ tick-color-hover: (
123
+ color: (
124
+ 'gray',
125
+ 50,
126
+ ),
127
+ ),
128
+
125
129
  fill-color: (
126
130
  color: (
127
131
  'secondary',
@@ -135,6 +139,15 @@ $material-checkbox: extend(
135
139
  500,
136
140
  ),
137
141
  ),
142
+
143
+ focus-outline-color: transparent,
144
+
145
+ error-color-hover: (
146
+ color: (
147
+ 'error',
148
+ 500,
149
+ ),
150
+ ),
138
151
  )
139
152
  );
140
153
 
@@ -142,10 +155,10 @@ $material-checkbox: extend(
142
155
  /// @type {Map}
143
156
  /// @prop {Map} tick-color-hover [color: ('gray', 700)] - The checked mark color on hover when the control in unchecked.
144
157
  /// @prop {Map} empty-color [color: ('gray', 900)] - The unchecked border color.
145
- /// @prop {Map} fill-color-hover [color: ('primary', 900)] - The checked border and fill colors on hover.
146
- /// @prop {Map} focus-outline-color [color: ('gray', 800)] - The focus outlined color.
147
- /// @prop {Map} error-color-hover [color: ('error', 900)] - The border and fill colors in invalid state on hover.
148
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(10px))] - The border radius used for checkbox.
158
+ /// @prop {Map} empty-color-hover [color: ('gray', 900)] - The unchecked border color on hover.
159
+ /// @prop {Map} fill-color-hover [color: ('primary', 800)] - The checked border and fill colors on hover.
160
+ /// @prop {Map} focus-outline-color [color: ('gray', 700)] - The focus outlined color.
161
+ /// @prop {Map} error-color-hover [color: ('error', 700)] - The border and fill colors in invalid state on hover.
149
162
  /// @prop {List} border-radius-ripple [(rem(2px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
150
163
  /// @requires {Map} $light-checkbox
151
164
  $fluent-checkbox: extend(
@@ -160,7 +173,7 @@ $fluent-checkbox: extend(
160
173
  focus-outline-color: (
161
174
  color: (
162
175
  'gray',
163
- 800,
176
+ 700,
164
177
  ),
165
178
  ),
166
179
  empty-color: (
@@ -169,23 +182,22 @@ $fluent-checkbox: extend(
169
182
  900,
170
183
  ),
171
184
  ),
185
+ empty-color-hover: (
186
+ color: (
187
+ 'gray',
188
+ 900,
189
+ ),
190
+ ),
172
191
  fill-color-hover: (
173
192
  color: (
174
193
  'primary',
175
- 900,
194
+ 800,
176
195
  ),
177
196
  ),
178
197
  error-color-hover: (
179
198
  color: (
180
199
  'error',
181
- 900,
182
- ),
183
- ),
184
- border-radius: (
185
- border-radius: (
186
- rem(2px),
187
- rem(0),
188
- rem(10px),
200
+ 700,
189
201
  ),
190
202
  ),
191
203
  border-radius-ripple: (
@@ -200,45 +212,89 @@ $fluent-checkbox: extend(
200
212
 
201
213
  /// Generates a bootstrap checkbox schema.
202
214
  /// @type {Map}
203
- /// @prop {Map} fill-color-hover [color: ('primary', 500)] - The checked border and fill colors on hover.
204
- /// @prop {Map} disabled-color [color: ('primary', 200)] - The disabled border and fill colors.
205
- /// @prop {Map} disabled-color-label [color: ('gray', 400)] - The disabled color of the label.
206
- /// @prop {Map} focus-outline-color [color: ('primary', 200)] - The focus outlined color.
207
- /// @prop {Map} error-color-hover [color: ('error', 100)] - The focus outlined color in invalid state.
215
+ /// @prop {Map} tick-color [contrast-color: ('primary', 900)] - The checked mark color.
216
+ /// @prop {Map} tick-color-hover [contrast-color: ('primary', 900)] - The checked mark color on hover.
217
+ /// @prop {Map} empty-color [color: ('gray', 400)] - The unchecked border color.
218
+ /// @prop {Map} empty-color-hover [color: ('gray', 500)] - The unchecked border color on hover.
219
+ /// @prop {Map} empty-fill-color [contrast-color: ('gray', 900)] - The unchecked fill color.
220
+ /// @prop {Map} fill-color-hover [color: ('primary', 600)] - The checked border and fill colors on hover.
221
+ /// @prop {Map} disabled-color [color: ('gray', 300)] - The disabled border color.
222
+ /// @prop {Map} disabled-indeterminate-color [color: ('primary', 200)] - The disabled border and fill colors.
223
+ /// @prop {Map} focus-outline-color [color: ('primary', 200, 0.5)] - The focus outlined color.
224
+ /// @prop {Map} focus-outline-color-error [color: ('error', 200, 0.5)] - The focus outlined color for focused invalid state.
225
+ /// @prop {Map} error-color-hover [color: ('error', 600)] - The focus outlined color in invalid state.
208
226
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(10px))] - The border radius used for checkbox.
209
227
  /// @prop {List} border-radius-ripple [(rem(4px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
210
228
  /// @requires {Map} $light-checkbox
211
229
  $bootstrap-checkbox: extend(
212
230
  $light-checkbox,
213
231
  (
232
+ tick-color: (
233
+ contrast-color: (
234
+ 'primary',
235
+ 900,
236
+ ),
237
+ ),
238
+ tick-color-hover: (
239
+ contrast-color: (
240
+ 'primary',
241
+ 900,
242
+ ),
243
+ ),
244
+ empty-color: (
245
+ color: (
246
+ 'gray',
247
+ 400,
248
+ ),
249
+ ),
250
+ empty-color-hover: (
251
+ color: (
252
+ 'gray',
253
+ 500,
254
+ ),
255
+ ),
256
+ empty-fill-color: (
257
+ contrast-color: (
258
+ 'gray',
259
+ 900,
260
+ ),
261
+ ),
214
262
  focus-outline-color: (
215
263
  color: (
216
264
  'primary',
217
265
  200,
266
+ 0.5,
267
+ ),
268
+ ),
269
+ focus-outline-color-error: (
270
+ color: (
271
+ 'error',
272
+ 200,
273
+ 0.5,
218
274
  ),
219
275
  ),
220
276
  fill-color-hover: (
221
277
  color: (
222
278
  'primary',
223
- 500,
279
+ 600,
224
280
  ),
225
281
  ),
226
282
  disabled-color: (
227
283
  color: (
228
- 'primary',
229
- 200,
284
+ 'gray',
285
+ 300,
230
286
  ),
231
287
  ),
232
- disabled-color-label: (
288
+ disabled-indeterminate-color: (
233
289
  color: (
234
- 'gray',
235
- 400,
290
+ 'primary',
291
+ 200,
236
292
  ),
237
293
  ),
238
294
  error-color-hover: (
239
295
  color: (
240
296
  'error',
241
- 100,
297
+ 600,
242
298
  ),
243
299
  ),
244
300
  border-radius: (
@@ -263,8 +319,6 @@ $bootstrap-checkbox: extend(
263
319
  /// @prop {Color} tick-color [contrast-color: ('primary', 500)] - The checked mark color.
264
320
  /// @prop {Color} tick-color-hover [contrast-color: ('primary', 500)] - The checked mark color on hover.
265
321
  /// @prop {Map} label-color [color: ('gray', 800)]- The text color used for the label text.
266
- /// @prop {Map} label-color-hover [color: ('gray', 900)]- The text color used for the label text on hover.
267
- /// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and fill colors.
268
322
  /// @prop {Map} fill-color-hover [color: ('primary', 400)] - The checked border and fill colors on hover.
269
323
  /// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
270
324
  /// @prop {Map} empty-color-hover [color: ('gray', 600)] - The unchecked border color on hover.
@@ -287,12 +341,6 @@ $indigo-checkbox: extend(
287
341
  800,
288
342
  ),
289
343
  ),
290
- label-color-hover: (
291
- color: (
292
- 'gray',
293
- 900,
294
- ),
295
- ),
296
344
  focus-outline-color: (
297
345
  color: (
298
346
  'gray',
@@ -9,18 +9,19 @@
9
9
 
10
10
  /// Generates a base light radio schema.
11
11
  /// @type {Map}
12
+ /// @prop {Color} empty-fill-color [transparent] - The fill of the empty radio.
12
13
  /// @prop {Color} hover-color [transparent] - The text color used for the label text.
13
14
  /// @prop {Map} label-color [color: ('gray', 900)] - The text color used for the label text.
14
15
  /// @prop {Map} label-color-hover [color: ('gray', 900)] - The text color used for the label text on hover.
15
- /// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
16
16
  /// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and dot colors.
17
- /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and dot colors.
17
+ /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border color.
18
18
  /// @prop {Map} disabled-fill-color [color: ('gray', 400)] - The disabled checked border and dot colors.
19
- /// @prop {Map} disabled-label-color [color: ('gray', 400)] - The disabled label color.
19
+ /// @prop {Map} disabled-label-color [color: ('gray', 500)] - The disabled label color.
20
20
  /// @prop {Map} error-color [color: ('error', 500)] - The label, border and dot color in invalid state.
21
21
  /// @prop {Color} focus-outline-color-filled [transparent] - The focus outline color when radio is filled.
22
22
  /// @prop {Color} focus-outline-color-error [transparent] - The focus outline color when radio is filled and invalid.
23
23
  $light-radio: (
24
+ empty-fill-color: transparent,
24
25
  hover-color: transparent,
25
26
  label-color: (
26
27
  color: (
@@ -34,12 +35,6 @@ $light-radio: (
34
35
  900,
35
36
  ),
36
37
  ),
37
- empty-color: (
38
- color: (
39
- 'gray',
40
- 500,
41
- ),
42
- ),
43
38
  fill-color: (
44
39
  color: (
45
40
  'primary',
@@ -61,7 +56,7 @@ $light-radio: (
61
56
  disabled-label-color: (
62
57
  color: (
63
58
  'gray',
64
- 400,
59
+ 500,
65
60
  ),
66
61
  ),
67
62
  error-color: (
@@ -133,7 +128,6 @@ $material-radio: extend(
133
128
  /// @prop {Map} fill-color-hover [color: ('primary', 800)] - The checked border and dot colors on hover.
134
129
  /// @prop {Map} focus-outline-color [color: ('gray', 700)] - The focus outlined color.
135
130
  /// @prop {Map} error-color-hover [color: ('error', 700)] - The border and dot color in invalid state on hover.
136
- /// @prop {Map} disabled-label-color [color: ('gray', 500)] - The disabled label color.
137
131
  /// @requires {Map} $light-radio
138
132
  $fluent-radio: extend(
139
133
  $light-radio,
@@ -174,43 +168,53 @@ $fluent-radio: extend(
174
168
  700,
175
169
  ),
176
170
  ),
177
- disabled-label-color: (
178
- color: (
179
- 'gray',
180
- 500,
181
- ),
182
- ),
183
171
  )
184
172
  );
185
173
 
186
174
  /// Generates a bootstrap radio schema.
187
175
  /// @type {Map}
188
- /// @prop {Map} fill-hover-border-color [color: ('gray', 50)] - The checked dot border color on hover.
189
- /// @prop {Map} disabled-color [color: ('primary', 200)] - The disabled border and dot colors.
176
+ /// @prop {Map} empty-color [color: ('gray', 400)] - The unchecked border color.
177
+ /// @prop {Map} empty-fill-color [contrast-color: ('gray', 900)] - The fill of the empty radio.
178
+ /// @prop {Map} hover-color [color: ('gray', 500)] - The border color on hover.
179
+ /// @prop {Map} fill-hover-border-color [contrast-color: ('primary', 900)] - The checked dot border color on hover.
180
+ /// @prop {Map} disabled-color [color: ('gray', 300)] - The disabled border color.
190
181
  /// @prop {Map} disabled-fill-color [color: ('primary', 200)] - The disabled checked border and dot colors.
191
- /// @prop {Map} fill-color-hover [color: ('gray', 50)] - The checked border and dot colors on hover.
192
- /// @prop {Map} focus-outline-color [color: ('primary', 200)] - The focus outlined color.
193
- /// @prop {Map} error-color-hover [color: ('error', 100)] - The focus outlined color in invalid state.
182
+ /// @prop {Map} fill-color-hover [color: ('primary', 600)] - The checked border and dot colors on hover.
183
+ /// @prop {Map} focus-outline-color [color: ('primary', 200, 0.5)] - The focus outline color.
184
+ /// @prop {Map} focus-outline-color-error [color: ('error', 200, 0.5)] - The focus outline color when radio is invalid.
185
+ /// @prop {Map} error-color-hover [color: ('error', 600)] - The focus outlined color in invalid state.
194
186
  /// @requires {Map} $light-radio
195
187
  $bootstrap-radio: extend(
196
188
  $light-radio,
197
189
  (
198
- focus-outline-color: (
190
+ empty-color: (
199
191
  color: (
200
- 'primary',
201
- 200,
192
+ 'gray',
193
+ 400,
202
194
  ),
203
195
  ),
204
- fill-hover-border-color: (
196
+ empty-fill-color: (
197
+ contrast-color: (
198
+ 'gray',
199
+ 900,
200
+ ),
201
+ ),
202
+ hover-color: (
205
203
  color: (
206
204
  'gray',
207
- 50,
205
+ 500,
206
+ ),
207
+ ),
208
+ fill-hover-border-color: (
209
+ contrast-color: (
210
+ 'primary',
211
+ 900,
208
212
  ),
209
213
  ),
210
214
  disabled-color: (
211
215
  color: (
212
- 'primary',
213
- 200,
216
+ 'gray',
217
+ 300,
214
218
  ),
215
219
  ),
216
220
  disabled-fill-color: (
@@ -221,14 +225,28 @@ $bootstrap-radio: extend(
221
225
  ),
222
226
  fill-color-hover: (
223
227
  color: (
224
- 'gray',
225
- 50,
228
+ 'primary',
229
+ 600,
230
+ ),
231
+ ),
232
+ focus-outline-color: (
233
+ color: (
234
+ 'primary',
235
+ 200,
236
+ 0.5,
237
+ ),
238
+ ),
239
+ focus-outline-color-error: (
240
+ color: (
241
+ 'error',
242
+ 200,
243
+ 0.5,
226
244
  ),
227
245
  ),
228
246
  error-color-hover: (
229
247
  color: (
230
248
  'error',
231
- 100,
249
+ 600,
232
250
  ),
233
251
  ),
234
252
  )
@@ -236,21 +254,28 @@ $bootstrap-radio: extend(
236
254
 
237
255
  /// Generates an indigo radio schema.
238
256
  /// @type {Map}
257
+ /// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
239
258
  /// @prop {Map} label-color [color: ('gray', 800)] - The text color used for the label text.
240
259
  /// @prop {Map} hover-color [color: ('gray', 600)] - The hover text color used for the label text.
241
260
  /// @prop {Map} focus-outline-color [color: ('gray', 900, .15)] - The focus outlined color.
242
261
  /// @prop {Map} focus-outline-color-filled [color: ('primary', 400, 0.5)] - The focus outline color when radio is filled.
243
262
  /// @prop {Map} fill-hover-border-color [color: ('primary', 400)] - The checked dot border color on hover.
244
263
  /// @prop {Map} fill-color-hover [color: ('primary', 400)] - The checked border and dot colors on hover.
245
- /// @prop {Map} disabled-color [color: ('gray', 900, .15)] - The disabled border and dot colors.
264
+ /// @prop {Map} disabled-color [color: ('gray', 900, .15)] - The disabled border color.
246
265
  /// @prop {Map} disabled-fill-color [color: ('primary', 400, .5)] - The disabled checked border and dot colors.
247
- /// @prop {Map} disabled-label-color [color: ('gray', 900, .20)] - The disabled label color.
266
+ /// @prop {Map} disabled-label-color [color: ('gray', 900, .2)] - The disabled label color.
248
267
  /// @prop {Map} error-color-hover [color: ('error', 400)] - The focus outlined color in invalid state.
249
268
  /// @prop {Map} focus-outline-color-error [color: ('error', 400, 0.5)] - The focus outline color when radio is filled and invalid.
250
269
  /// @requires {Map} $light-radio
251
270
  $indigo-radio: extend(
252
271
  $light-radio,
253
272
  (
273
+ empty-color: (
274
+ color: (
275
+ 'gray',
276
+ 500,
277
+ ),
278
+ ),
254
279
  label-color: (
255
280
  color: (
256
281
  'gray',
@@ -20,19 +20,14 @@
20
20
  /// @prop {Map} label-color [color: ('gray', 900)] - The color of the switch label.
21
21
  /// @prop {Map} label-hover-color [color: ('gray', 900)] - The color of the switch label on hover.
22
22
  /// @prop {Map} label-disabled-color [color: ('gray', 500)] - The color of the switch label when the switch is disabled
23
- /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
24
- /// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
25
- /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
26
- /// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
27
- /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
28
23
  /// @prop {Map} border-on-color [color: ('primary', 500)] - The border color of the on-switch.
29
24
  /// @prop {Map} label-invalid-color [color: ('gray', 900)] - The color of the switch label in invalid state.
30
25
  /// @prop {Map} track-on-disabled-color [color: ('secondary', 50)] - The color of the track when the switch is on and disabled.
31
26
  /// @prop {Map} track-error-color [color: ('gray', 500)] - The color of the track in invalid state when the switch is off.
32
27
  /// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
33
- /// @requires {Map} $default-elevation-switch
28
+ /// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
29
+ /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
34
30
  $light-switch: extend(
35
- $default-elevation-switch,
36
31
  (
37
32
  border-on-color: (
38
33
  color: (
@@ -124,6 +119,8 @@ $light-switch: extend(
124
119
  /// @prop {Color} focus-outline-color [transparent] - The focus outlined color.
125
120
  /// @prop {Color} border-color [transparent] - The border color of the switch.
126
121
  /// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
122
+ /// @prop {Color} focus-fill-color [transparent] - The focus fill color.
123
+ /// @prop {Color} focus-fill-hover-color [transparent] - The focus fill color on hover.
127
124
  /// @prop {Color} border-on-color [transparent] - The border color of the on-switch.
128
125
  /// @prop {Color} border-on-hover-color [transparent] - The hover border color when the switch is on.
129
126
  /// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
@@ -138,13 +135,20 @@ $light-switch: extend(
138
135
  /// @prop {Map} error-color [color: ('gray', 50)] - The color of the thumb in invalid state.
139
136
  /// @prop {Map} error-color-hover [color: ('gray', 500)] - The border color in invalid state on hover.
140
137
  /// @prop {List} border-radius-track [(rem(7px), rem(0), rem(7px))] - The border radius used for switch track.
138
+ /// @prop {Number} resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state.
139
+ /// @prop {Number} hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state.
140
+ /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
141
141
  /// @requires {Map} $light-switch
142
+ /// @requires {Map} $default-elevation-switch
142
143
  $material-switch: extend(
143
144
  $light-switch,
145
+ $default-elevation-switch,
144
146
  (
145
147
  focus-outline-color: transparent,
146
148
  border-color: transparent,
147
149
  border-hover-color: transparent,
150
+ focus-fill-color: transparent,
151
+ focus-fill-hover-color: transparent,
148
152
  border-on-color: transparent,
149
153
  border-on-hover-color: transparent,
150
154
  border-disabled-color: transparent,
@@ -221,12 +225,16 @@ $material-switch: extend(
221
225
  /// Generates a fluent switch schema.
222
226
  /// @type {Map}
223
227
  /// @prop {Map} border-color [color: ('gray', 700)] - The border color of the switch.
224
- /// @prop {Map} border-hover-color [color: ('gray', 800)] - The border color of the switch on hover.
228
+ /// @prop {Map} border-hover-color [color: ('gray', 900)] - The border color of the switch on hover.
229
+ /// @prop {Map} focus-fill-color [color: ('gray', 700)] - The focus fill color.
230
+ /// @prop {Map} focus-fill-hover-color [color: ('gray', 900)] - The focus fill color on hover.
225
231
  /// @prop {Map} border-disabled-color [color: ('gray', 400)] - The border color of the disabled switch.
226
- /// @prop {Map} border-on-hover-color [color: ('primary', 800)] - The hover border color when the switch is on.
232
+ /// @prop {Map} border-on-hover-color [color: ('primary', 800)] - The border color of the on-switch.
227
233
  /// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
234
+ /// @prop {Map} track-disabled-color [contrast-color: ('primary', 800)] - The color of the track when the switch is disabled.
228
235
  /// @prop {Map} track-on-hover-color [color: ('primary', 800)] - The color of the track when the switch is on and hovered.
229
236
  /// @prop {Map} track-on-disabled-color [color: ('gray', 400)] - The color of the track when the switch is on and disabled.
237
+ /// @prop {Map} track-off-color [contrast-color: ('gray', 900)] - The color of the track when the switch is off.
230
238
  /// @prop {Map} thumb-disabled-color [color: ('gray', 400)] - The color of the thumb when the switch is disabled.
231
239
  /// @prop {Map} thumb-on-disabled-color [color: ('gray', 100)] - The color of the thumb when the switch is on and disabled.
232
240
  /// @prop {Map} focus-outline-color [color: ('gray', 700)] - The focus outlined color.
@@ -258,6 +266,24 @@ $fluent-switch: extend(
258
266
  border-hover-color: (
259
267
  color: (
260
268
  'gray',
269
+ 900,
270
+ ),
271
+ ),
272
+ focus-fill-color: (
273
+ color: (
274
+ 'gray',
275
+ 700,
276
+ ),
277
+ ),
278
+ focus-fill-hover-color: (
279
+ color: (
280
+ 'gray',
281
+ 900,
282
+ ),
283
+ ),
284
+ track-disabled-color: (
285
+ contrast-color: (
286
+ 'primary',
261
287
  800,
262
288
  ),
263
289
  ),
@@ -273,6 +299,12 @@ $fluent-switch: extend(
273
299
  800,
274
300
  ),
275
301
  ),
302
+ track-off-color: (
303
+ contrast-color: (
304
+ 'gray',
305
+ 900,
306
+ ),
307
+ ),
276
308
  track-on-disabled-color: (
277
309
  color: (
278
310
  'gray',
@@ -321,15 +353,19 @@ $fluent-switch: extend(
321
353
 
322
354
  /// Generates a bootstrap switch schema.
323
355
  /// @type {Map}
324
- /// @prop {Map} focus-outline-color [color: ('primary', 100)] - The focus outlined color.
356
+ /// @prop {Map} track-on-hover-color [color: ('primary', 600)] - The color of the track when the switch is on and hovered.
357
+ /// @prop {Map} focus-outline-color [color: ('primary', 200, 0.5)] - The focus outlined color.
325
358
  /// @prop {Map} focus-fill-color [color: ('primary', 200)] - The focus fill color.
326
- /// @prop {Map} border-color [color('gray', 400)] - The border color of the switch.
327
- /// @prop {Map} border-hover-color [color: ('gray', 400)] - The border color of the switch on hover.
359
+ /// @prop {Map} focus-fill-hover-color [color: ('primary', 300)] - The focus fill color on hover.
360
+ /// @prop {Map} border-color [color: ('gray', 400)] - The border color of the switch.
361
+ /// @prop {Map} border-hover-color [color: ('gray', 500)] - The border color of the switch on hover.
362
+ /// @prop {Map} border-on-hover-color [color: ('primary', 600)] - The border color of the on-switch.
328
363
  /// @prop {Map} border-disabled-color [color: ('gray', 300)] - The border color of the disabled switch.
364
+ /// @prop {Map} thumb-on-color [contrast-color: ('primary', 800)] - The color of the thumb when the switch is on.
329
365
  /// @prop {Map} thumb-off-color [color: ('gray', 400)] - The color of the thumb when the switch is off.
330
366
  /// @prop {Map} thumb-disabled-color [color: ('gray', 300)] - The color of the thumb when the switch is disabled.
331
367
  /// @prop {Map} track-on-disabled-color [color: ('primary', 200)] - The color of the track when the switch is on and disabled.
332
- /// @prop {Map} thumb-on-disabled-color [color: ('gray', 50)] - The color of the thumb when the switch is on and disabled.
368
+ /// @prop {Map} thumb-on-disabled-color [contrast-color: ('primary', 800)] - The color of the thumb when the switch is on and disabled.
333
369
  /// @prop {Map} error-color [color: ('gray', 400)] - The border and thumb color in invalid state.
334
370
  /// @prop {Map} error-color-hover [color: ('primary', 200)] - The border and thumb color in invalid state on hover.
335
371
  /// @prop {List} border-radius-track [(rem(32px), rem(0), rem(32px))] - The border radius used for switch track.
@@ -338,10 +374,17 @@ $fluent-switch: extend(
338
374
  $bootstrap-switch: extend(
339
375
  $fluent-switch,
340
376
  (
377
+ track-on-hover-color: (
378
+ color: (
379
+ 'primary',
380
+ 600,
381
+ ),
382
+ ),
341
383
  focus-outline-color: (
342
384
  color: (
343
385
  'primary',
344
- 100,
386
+ 200,
387
+ 0.5,
345
388
  ),
346
389
  ),
347
390
  focus-fill-color: (
@@ -350,6 +393,12 @@ $bootstrap-switch: extend(
350
393
  200,
351
394
  ),
352
395
  ),
396
+ focus-fill-hover-color: (
397
+ color: (
398
+ 'primary',
399
+ 300,
400
+ ),
401
+ ),
353
402
  border-color: (
354
403
  color: (
355
404
  'gray',
@@ -359,7 +408,13 @@ $bootstrap-switch: extend(
359
408
  border-hover-color: (
360
409
  color: (
361
410
  'gray',
362
- 400,
411
+ 500,
412
+ ),
413
+ ),
414
+ border-on-hover-color: (
415
+ color: (
416
+ 'primary',
417
+ 600,
363
418
  ),
364
419
  ),
365
420
  border-disabled-color: (
@@ -368,6 +423,12 @@ $bootstrap-switch: extend(
368
423
  300,
369
424
  ),
370
425
  ),
426
+ thumb-on-color: (
427
+ contrast-color: (
428
+ 'primary',
429
+ 800,
430
+ ),
431
+ ),
371
432
  thumb-off-color: (
372
433
  color: (
373
434
  'gray',
@@ -381,9 +442,9 @@ $bootstrap-switch: extend(
381
442
  ),
382
443
  ),
383
444
  thumb-on-disabled-color: (
384
- color: (
385
- 'gray',
386
- 50,
445
+ contrast-color: (
446
+ 'primary',
447
+ 800,
387
448
  ),
388
449
  ),
389
450
  track-on-disabled-color: (
@@ -517,6 +578,18 @@ $indigo-switch: extend(
517
578
  600,
518
579
  ),
519
580
  ),
581
+ focus-fill-color: (
582
+ color: (
583
+ 'gray',
584
+ 500,
585
+ ),
586
+ ),
587
+ focus-fill-hover-color: (
588
+ color: (
589
+ 'gray',
590
+ 500,
591
+ ),
592
+ ),
520
593
  border-disabled-color: (
521
594
  color: (
522
595
  'gray',