igniteui-theming 6.2.0 → 6.3.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.2.0",
3
+ "version": "6.3.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": {
@@ -24,28 +24,61 @@ $dark-bootstrap-bottom-nav: $bootstrap-bottom-nav;
24
24
 
25
25
  /// Generates a dark indigo bottom-nav schema.
26
26
  /// @type {Map}
27
- /// @prop {Map} background [color: 'surface'] - The background color used for the bottom-nav.
28
- /// @prop {Color} active-item-color [color: ('gray', 700)] - The text-color used for the active color.
29
- /// @prop {Map} idle-item-color [color: ('gray', 400)] - The text-color used for the idle color.
27
+ /// @prop {Map} border-color [color: ('gray', 100)] - The border color of the bottom navigation.
28
+ /// @prop {Map} icon-color [contrast-color: ('gray', 50, .6)] - The icon color in idle state.
29
+ /// @prop {Map} icon-selected-color [color: ('primary', 200)] - The icon color used for the selected item.
30
+ /// @prop {Map} label-color [contrast-color: ('gray', 50, .8)] - The label color in idle state.
31
+ /// @prop {Map} label-selected-color [color: ('primary', 200)] - The label color used for the selected item.
32
+ /// @prop {Map} icon-disabled-color [contrast-color: ('gray', 50, .2)] - The disabled color of the icon.
33
+ /// @prop {Map} label-disabled-color [contrast-color: ('gray', 50, .2)] - The disabled color of the label.
30
34
  /// @requires $indigo-bottom-nav
31
35
  $dark-indigo-bottom-nav: extend(
32
36
  $indigo-bottom-nav,
33
37
  (
34
- background: (
35
- color: 'surface',
38
+ border-color: (
39
+ color: (
40
+ 'gray',
41
+ 100,
42
+ ),
36
43
  ),
37
-
38
- active-item-color: (
44
+ icon-color: (
45
+ contrast-color: (
46
+ 'gray',
47
+ 50,
48
+ 0.6,
49
+ ),
50
+ ),
51
+ icon-selected-color: (
39
52
  color: (
53
+ 'primary',
54
+ 200,
55
+ ),
56
+ ),
57
+ label-color: (
58
+ contrast-color: (
40
59
  'gray',
41
- 700,
60
+ 50,
61
+ 0.8,
42
62
  ),
43
63
  ),
44
-
45
- idle-item-color: (
64
+ label-selected-color: (
46
65
  color: (
66
+ 'primary',
67
+ 200,
68
+ ),
69
+ ),
70
+ icon-disabled-color: (
71
+ contrast-color: (
72
+ 'gray',
73
+ 50,
74
+ 0.2,
75
+ ),
76
+ ),
77
+ label-disabled-color: (
78
+ contrast-color: (
47
79
  'gray',
48
- 400,
80
+ 50,
81
+ 0.2,
49
82
  ),
50
83
  ),
51
84
  )
@@ -81,64 +81,93 @@ $dark-bootstrap-navdrawer: extend(
81
81
 
82
82
  /// Generates a dark indigo navdrawer schema.
83
83
  /// @type {Map}
84
- /// @prop {Map} background [color: ('gray', 500)] - The navigation drawer background color.
85
- /// @prop {Map} item-header-text-color [contrast-color: ('gray', 50)] - The header's idle text color.
86
- /// @prop {Map} item-text-color [contrast-color: ('gray', 100) - The item's idle text color.
87
- /// @prop {Map} item-icon-color [contrast-color: ('gray', 100)] - The item's icon color.
88
- /// @prop {Map} item-active-background [contrast-color: ('gray', 400, .5)] - The item's active background color.
84
+ /// @prop {Map} item-header-text-color [contrast-color: ('gray', 50, 0.6)] - The header's idle text color.
85
+ /// @prop {Map} item-text-color [contrast-color: ('gray', 50, 0.8)] - The item's idle text color.
86
+ /// @prop {Map} item-icon-color [contrast-color: ('gray', 50, 0.6)] - The item's icon color.
87
+ /// @prop {Map} item-active-text-color [color: ('primary', 100)] - The item's active text color.
88
+ /// @prop {Map} item-active-background [color: ('primary', 400, .3)] - The item's active background color.
89
+ /// @prop {Map} item-active-icon-color [color: ('primary', 200)] - The item's icon active color.
90
+ /// @prop {Map} item-hover-background [contrast-color: ('gray', 50, 0.1)] - The item's hover background color.
89
91
  /// @prop {Map} item-hover-text-color [contrast-color: ('gray', 50)] - The item's hover text color.
90
- /// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 50)] - The item's hover icon color.
92
+ /// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 50, 0.8)] - The item's hover icon color.
93
+ /// @prop {Map} border-color [color: ('gray', 100)] - The navigation drawer right border color.
91
94
  /// @requires $indigo-navdrawer
92
95
  $dark-indigo-navdrawer: extend(
93
96
  $indigo-navdrawer,
94
97
  (
95
- background: (
98
+ border-color: (
96
99
  color: (
97
100
  'gray',
98
- 500,
101
+ 100,
99
102
  ),
100
103
  ),
101
104
 
102
105
  item-header-text-color: (
103
- color: (
106
+ contrast-color: (
104
107
  'gray',
105
108
  50,
109
+ 0.6,
106
110
  ),
107
111
  ),
108
112
 
109
113
  item-text-color: (
110
- color: (
114
+ contrast-color: (
111
115
  'gray',
112
- 100,
116
+ 50,
117
+ 0.8,
113
118
  ),
114
119
  ),
115
120
 
116
121
  item-icon-color: (
117
- color: (
122
+ contrast-color: (
118
123
  'gray',
124
+ 50,
125
+ 0.6,
126
+ ),
127
+ ),
128
+
129
+ item-active-background: (
130
+ color: (
131
+ 'primary',
132
+ 400,
133
+ 0.3,
134
+ ),
135
+ ),
136
+
137
+ item-active-text-color: (
138
+ color: (
139
+ 'primary',
119
140
  100,
120
141
  ),
121
142
  ),
122
143
 
123
- item-hover-text-color: (
144
+ item-active-icon-color: (
124
145
  color: (
146
+ 'primary',
147
+ 200,
148
+ ),
149
+ ),
150
+
151
+ item-hover-background: (
152
+ contrast-color: (
125
153
  'gray',
126
154
  50,
155
+ 0.1,
127
156
  ),
128
157
  ),
129
158
 
130
- item-hover-icon-color: (
131
- color: (
159
+ item-hover-text-color: (
160
+ contrast-color: (
132
161
  'gray',
133
162
  50,
134
163
  ),
135
164
  ),
136
165
 
137
- item-active-background: (
138
- color: (
166
+ item-hover-icon-color: (
167
+ contrast-color: (
139
168
  'gray',
140
- 400,
141
- 0.5,
169
+ 50,
170
+ 0.8,
142
171
  ),
143
172
  ),
144
173
  )
@@ -136,77 +136,124 @@ $dark-bootstrap-switch: extend(
136
136
 
137
137
  /// Generates a dark indigo switch schema.
138
138
  /// @type {Map}
139
- /// @prop {Color} thumb-on-color [color: 'surface'] - The color of the thumb when the switch is on.
140
- /// @prop {Map} track-on-color [color: ('gray', 900)] - The color of the track when the switch is on.
141
- /// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
142
- /// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
143
- /// @prop {Map} border-color [color: ('gray', 700)] - The border color of the switch.
144
- /// @prop {Map} border-hover-color [color: ('gray', 700)] - The border color of the switch on hover.
145
- /// @prop {Map} border-disabled-color [color: ('gray', 400)] - The border color of the disabled switch.
146
- /// @prop {Map} border-on-color [color: ('gray', 900)] - The border color of the on-switch.
147
- /// @prop {Map} border-on-hover-color [color: ('gray', 900)] - The border color of the on-switch.
148
- /// @prop {Map} label-disabled-color [color: ('gray', 400)] - The color of the switch label when the switch is disabled
149
- /// @prop {Map} error-color [color: ('gray', 700)] - The border and thumb color in invalid state.
139
+ /// @prop {Map} label-color [contrast-color: ('gray', 50, .8)] - The color of the switch label.
140
+ /// @prop {Map} label-invalid-color [contrast-color: ('gray', 50, .8)] - The color of the switch label in invalid state.
141
+ /// @prop {Map} label-hover-color [contrast-color: ('gray', 50)] - The color of the switch label on hover.
142
+ /// @prop {Map} label-disabled-color [contrast-color: ('gray', 50, .2)] - The color of the switch label when the switch is disabled.
143
+ /// @prop {Map} thumb-off-color [contrast-color: ('gray', 50, .6)] - The color of the thumb when the switch is off.
144
+ /// @prop {Map} thumb-on-color [contrast-color: ('gray', 50)] - The color of the thumb when the switch is on.
145
+ /// @prop {Map} thumb-disabled-color [contrast-color: ('gray', 50, .2)] - The color of the thumb when the switch is disabled.
146
+ /// @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
+ /// @prop {Map} border-color [contrast-color: ('gray', 50, .6)] - The border color of the switch.
149
+ /// @prop {Map} border-hover-color [contrast-color: ('gray', 50, .8)] - The border color of the switch on hover.
150
+ /// @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
+ /// @prop {Map} error-color [contrast-color: ('gray', 50, .6)] - The border and thumb color in invalid state.
153
+ /// @prop {Map} focus-outline-color [contrast-color: ('gray', 50, .2)] - The focus outlined color.
150
154
  /// @requires $indigo-switch
151
155
  $dark-indigo-switch: extend(
152
156
  $indigo-switch,
153
157
  (
154
- border-color: (
155
- color: (
158
+ label-color: (
159
+ contrast-color: (
156
160
  'gray',
157
- 700,
161
+ 50,
162
+ 0.8,
158
163
  ),
159
164
  ),
160
- border-hover-color: (
161
- color: (
165
+ label-invalid-color: (
166
+ contrast-color: (
162
167
  'gray',
163
- 700,
168
+ 50,
169
+ 0.8,
164
170
  ),
165
171
  ),
166
- border-disabled-color: (
167
- color: (
172
+ label-hover-color: (
173
+ contrast-color: (
168
174
  'gray',
169
- 400,
175
+ 50,
170
176
  ),
171
177
  ),
172
- border-on-color: (
173
- color: (
178
+ label-disabled-color: (
179
+ contrast-color: (
174
180
  'gray',
175
- 900,
181
+ 50,
182
+ 0.2,
176
183
  ),
177
184
  ),
178
- border-on-hover-color: (
179
- color: (
185
+ thumb-off-color: (
186
+ contrast-color: (
180
187
  'gray',
181
- 900,
188
+ 50,
189
+ 0.6,
182
190
  ),
183
191
  ),
184
192
  thumb-on-color: (
185
- color: 'surface',
193
+ contrast-color: (
194
+ 'gray',
195
+ 50,
196
+ ),
186
197
  ),
187
- thumb-off-color: (
188
- color: (
198
+ thumb-disabled-color: (
199
+ contrast-color: (
189
200
  'gray',
190
- 700,
201
+ 50,
202
+ 0.2,
191
203
  ),
192
204
  ),
193
- track-on-color: (
194
- color: (
205
+ thumb-on-disabled-color: (
206
+ contrast-color: (
195
207
  'gray',
196
- 900,
208
+ 50,
209
+ 0.2,
197
210
  ),
198
211
  ),
199
- track-off-color: transparent,
200
- label-disabled-color: (
212
+ track-on-hover-color: (
201
213
  color: (
214
+ 'primary',
215
+ 300,
216
+ ),
217
+ ),
218
+ border-color: (
219
+ contrast-color: (
202
220
  'gray',
203
- 400,
221
+ 50,
222
+ 0.6,
204
223
  ),
205
224
  ),
206
- error-color: (
225
+ border-hover-color: (
226
+ contrast-color: (
227
+ 'gray',
228
+ 50,
229
+ 0.8,
230
+ ),
231
+ ),
232
+ border-disabled-color: (
233
+ contrast-color: (
234
+ 'gray',
235
+ 50,
236
+ 0.2,
237
+ ),
238
+ ),
239
+ border-on-hover-color: (
207
240
  color: (
241
+ 'primary',
242
+ 300,
243
+ ),
244
+ ),
245
+ error-color: (
246
+ contrast-color: (
247
+ 'gray',
248
+ 50,
249
+ 0.6,
250
+ ),
251
+ ),
252
+ focus-outline-color: (
253
+ contrast-color: (
208
254
  'gray',
209
- 700,
255
+ 50,
256
+ 0.2,
210
257
  ),
211
258
  ),
212
259
  )
@@ -17,7 +17,7 @@ $fluent-elevation-bottom-nav: (
17
17
  );
18
18
 
19
19
  /// @type Map
20
- /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the bottom nav.
20
+ /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the bottom nav.
21
21
  $indigo-elevation-bottom-nav: (
22
- elevation: 4,
22
+ elevation: 0,
23
23
  );
@@ -15,9 +15,3 @@ $default-elevation-navbar: (
15
15
  $bootstrap-elevation-navbar: (
16
16
  elevation: 0,
17
17
  );
18
-
19
- /// @type Map
20
- /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
21
- $indigo-elevation-navbar: (
22
- elevation: 0,
23
- );
@@ -10,9 +10,14 @@
10
10
 
11
11
  /// Generates a light bottom navigation scheme.
12
12
  /// @type {Map}
13
- /// @prop {Color} background [color: ('gray', 50))] - The background color used for the toast.
14
- /// @prop {Map} idle-item-color [color: ('gray', 700)] - The text-color used for the idle color.
15
- /// @prop {Map} active-item-color [color: ('primary', 500)] - The text-color used for the active color.
13
+ /// @prop {Map} background [color: ('gray', 50)] - The background color used for the bottom nav.
14
+ /// @prop {Map} icon-color [color: ('gray', 700)] - The icon color used in idle state.
15
+ /// @prop {Map} icon-selected-color [color: ('primary', 500)] - The icon color used for the selected item.
16
+ /// @prop {Map} label-color [color: ('gray', 700)] - The label color used in idle state.
17
+ /// @prop {Map} icon-disabled-color [color: ('gray', 700)] - The disabled color of the icon.
18
+ /// @prop {Map} label-disabled-color [color: ('gray', 700)] - The disabled color of the label.
19
+ /// @prop {Map} label-selected-color [color: ('primary', 500)] - The label color used for the selected item.
20
+ /// @prop {Color} border-color [transparent] - The border color of the bottom navigation.
16
21
  /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the bottom nav.
17
22
  /// @requires {Map} $default-elevation-bottom-nav
18
23
  $light-bottom-nav: extend(
@@ -24,20 +29,43 @@ $light-bottom-nav: extend(
24
29
  50,
25
30
  ),
26
31
  ),
27
-
28
- idle-item-color: (
32
+ icon-color: (
29
33
  color: (
30
34
  'gray',
31
35
  700,
32
36
  ),
33
37
  ),
34
-
35
- active-item-color: (
38
+ icon-selected-color: (
39
+ color: (
40
+ 'primary',
41
+ 500,
42
+ ),
43
+ ),
44
+ label-color: (
45
+ color: (
46
+ 'gray',
47
+ 700,
48
+ ),
49
+ ),
50
+ label-selected-color: (
36
51
  color: (
37
52
  'primary',
38
53
  500,
39
54
  ),
40
55
  ),
56
+ icon-disabled-color: (
57
+ color: (
58
+ 'gray',
59
+ 700,
60
+ ),
61
+ ),
62
+ label-disabled-color: (
63
+ color: (
64
+ 'gray',
65
+ 700,
66
+ ),
67
+ ),
68
+ border-color: transparent,
41
69
  )
42
70
  );
43
71
 
@@ -60,7 +88,53 @@ $bootstrap-bottom-nav: $light-bottom-nav;
60
88
 
61
89
  /// Generates an indigo bottom navigation schema.
62
90
  /// @type {Map}
91
+ /// @prop {Map} border-color [color: ('gray', 300)] - The border color of the bottom navigation.
92
+ /// @prop {Map} background [color: 'surface'] - The background color used for the bottom nav.
93
+ /// @prop {Map} icon-color [color: ('gray', 600)] - The icon color used in idle state.
94
+ /// @prop {Map} label-color [color: ('gray', 800)] - The label color used in idle state.
95
+ /// @prop {Map} icon-disabled-color [color: ('gray', 900, .2)] - The disabled color of the icon.
96
+ /// @prop {Map} label-disabled-color [color: ('gray', 900, .2)] - The disabled color of the label.
63
97
  /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the bottom nav.
64
98
  /// @requires {Map} $light-bottom-nav
65
99
  /// @requires {Map} $indigo-elevation-bottom-nav
66
- $indigo-bottom-nav: extend($light-bottom-nav, $indigo-elevation-bottom-nav);
100
+ $indigo-bottom-nav: extend(
101
+ $light-bottom-nav,
102
+ $indigo-elevation-bottom-nav,
103
+ (
104
+ border-color: (
105
+ color: (
106
+ 'gray',
107
+ 300,
108
+ ),
109
+ ),
110
+ background: (
111
+ color: 'surface',
112
+ ),
113
+ icon-color: (
114
+ color: (
115
+ 'gray',
116
+ 600,
117
+ ),
118
+ ),
119
+ label-color: (
120
+ color: (
121
+ 'gray',
122
+ 800,
123
+ ),
124
+ ),
125
+ icon-disabled-color: (
126
+ color: (
127
+ 'gray',
128
+ 900,
129
+ 0.2,
130
+ ),
131
+ ),
132
+ label-disabled-color: (
133
+ color: (
134
+ 'gray',
135
+ 900,
136
+ 0.2,
137
+ ),
138
+ ),
139
+ )
140
+ );
@@ -135,5 +135,4 @@ $bootstrap-navbar: extend(
135
135
  /// @type {Map}
136
136
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the navbar.
137
137
  /// @requires {Map} $light-navbar
138
- /// @requires {Map} $indigo-elevation-navbar
139
- $indigo-navbar: extend($light-navbar, $indigo-elevation-navbar);
138
+ $indigo-navbar: $light-navbar;
@@ -150,100 +150,101 @@ $bootstrap-navdrawer: extend(
150
150
 
151
151
  /// Generates an indigo navdrawer schema.
152
152
  /// @type {Map}
153
- /// @prop {Map} background [color: ('gray', 700)] - The navigation drawer background color.
154
- /// @prop {Map} item-header-text-color [contrast-color: ('gray', 700)] - The header's idle text color.
155
- /// @prop {Map} item-text-color [contrast-color: ('gray', 700, .8)] - The item's idle text color.
156
- /// @prop {Map} item-icon-color [contrast-color: ('gray', 700, .8)] - The item's icon color.
157
- /// @prop {Map} item-active-text-color [contrast-color: ('gray', 700)] - The item's active text color.
158
- /// @prop {Map} item-active-background [contrast-color: ('gray', 700, .1)] - The item's active background color.
159
- /// @prop {Map} item-active-icon-color [contrast-color: ('gray', 700)] - The item's icon active color.
160
- /// @prop {Color} item-hover-background [transparent] - The item's hover background color.
161
- /// @prop {Map} item-hover-text-color [contrast-color: ('gray', 700)] - The item's hover text color.
162
- /// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 700)] - The item's hover icon color.
153
+ /// @prop {Map} item-header-text-color [color: ('gray', 600)] - The header's idle text color.
154
+ /// @prop {Map} item-text-color [color: ('gray', 800)] - The item's idle text color.
155
+ /// @prop {Map} item-icon-color [color: ('gray', 600)] - The item's icon color.
156
+ /// @prop {Map} item-active-text-color [color: ('primary', 500)] - The item's active text color.
157
+ /// @prop {Map} item-active-background [color: ('primary', 300, .3)] - The item's active background color.
158
+ /// @prop {Map} item-active-icon-color [color: ('primary', 500)] - The item's icon active color.
159
+ /// @prop {Map} item-hover-background [color: ('gray', 900, 0.05)] - The item's hover background color.
160
+ /// @prop {Map} item-hover-text-color [color: ('gray', 900)] - The item's hover text color.
161
+ /// @prop {Map} item-hover-icon-color [color: ('gray', 700)] - The item's hover icon color.
163
162
  /// @prop {Map} elevation [0] - The elevation level, between 0-24, to be used for the drawer.
164
- /// @prop {Color} border-color [transparent] - The navigation drawer right border color.
165
- /// @prop {List} item-border-radius [(rem(24px), rem(0), rem(24px))] - The border radius used for the navdrawer items.
163
+ /// @prop {Map} border-color [color: ('gray', 300)] - The navigation drawer right border color.
164
+ /// @prop {List} item-border-radius [(rem(4px), rem(0), rem(4px))] - The border radius used for the navdrawer items.
166
165
  /// @requires {Map} $light-navdrawer
167
166
  /// @requires {Map} $indigo-elevation-navdrawer
168
167
  $indigo-navdrawer: extend(
169
168
  $light-navdrawer,
170
169
  $indigo-elevation-navdrawer,
171
170
  (
172
- border-color: transparent,
173
-
174
- background: (
171
+ border-color: (
175
172
  color: (
176
173
  'gray',
177
- 700,
174
+ 300,
178
175
  ),
179
176
  ),
180
177
 
181
178
  item-header-text-color: (
182
179
  color: (
183
180
  'gray',
184
- 50,
181
+ 600,
185
182
  ),
186
183
  ),
187
184
 
188
185
  item-text-color: (
189
186
  color: (
190
187
  'gray',
191
- 300,
192
- 0.8,
188
+ 800,
193
189
  ),
194
190
  ),
195
191
 
196
192
  item-icon-color: (
197
193
  color: (
198
194
  'gray',
199
- 300,
200
- 0.8,
195
+ 600,
201
196
  ),
202
197
  ),
203
198
 
204
199
  item-active-background: (
205
200
  color: (
206
- 'gray',
207
- 600,
208
- 0.8,
201
+ 'primary',
202
+ 300,
203
+ 0.3,
209
204
  ),
210
205
  ),
211
206
 
212
207
  item-active-text-color: (
213
208
  color: (
214
- 'gray',
215
- 50,
209
+ 'primary',
210
+ 500,
216
211
  ),
217
212
  ),
218
213
 
219
214
  item-active-icon-color: (
220
215
  color: (
221
- 'gray',
222
- 50,
216
+ 'primary',
217
+ 500,
223
218
  ),
224
219
  ),
225
220
 
226
- item-hover-background: transparent,
221
+ item-hover-background: (
222
+ color: (
223
+ 'gray',
224
+ 900,
225
+ 0.05,
226
+ ),
227
+ ),
227
228
 
228
229
  item-hover-text-color: (
229
230
  color: (
230
231
  'gray',
231
- 100,
232
+ 900,
232
233
  ),
233
234
  ),
234
235
 
235
236
  item-hover-icon-color: (
236
237
  color: (
237
238
  'gray',
238
- 100,
239
+ 700,
239
240
  ),
240
241
  ),
241
242
 
242
243
  item-border-radius: (
243
244
  border-radius: (
244
- rem(24px),
245
+ rem(4px),
245
246
  rem(0),
246
- rem(24px),
247
+ rem(4px),
247
248
  ),
248
249
  ),
249
250
  )
@@ -17,14 +17,15 @@
17
17
  /// @prop {Color} track-off-color [transparent] - The color of the track when the switch is off.
18
18
  /// @prop {Map} thumb-on-disabled-color [color: ('secondary', 100)] - The color of the thumb when the switch is on and disabled.
19
19
  /// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
20
- /// @prop {Map} label-color [color: ('gray', 900)] - The color of the switch label
20
+ /// @prop {Map} label-color [color: ('gray', 900)] - The color of the switch label.
21
+ /// @prop {Map} label-hover-color [color: ('gray', 900)] - The color of the switch label on hover.
21
22
  /// @prop {Map} label-disabled-color [color: ('gray', 500)] - The color of the switch label when the switch is disabled
22
23
  /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
23
24
  /// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
24
25
  /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
25
26
  /// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
26
27
  /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
27
- /// @prop {Map} border-on-color [color('primary', 500)] - The border color of the on-switch.
28
+ /// @prop {Map} border-on-color [color: ('primary', 500)] - The border color of the on-switch.
28
29
  /// @prop {Map} label-invalid-color [color: ('gray', 900)] - The color of the switch label in invalid state.
29
30
  /// @prop {Map} track-on-disabled-color [color: ('secondary', 50)] - The color of the track when the switch is on and disabled.
30
31
  /// @prop {Map} track-error-color [color: ('gray', 500)] - The color of the track in invalid state when the switch is off.
@@ -65,6 +66,12 @@ $light-switch: extend(
65
66
  900,
66
67
  ),
67
68
  ),
69
+ label-hover-color: (
70
+ color: (
71
+ 'gray',
72
+ 900,
73
+ ),
74
+ ),
68
75
  label-disabled-color: (
69
76
  color: (
70
77
  'gray',
@@ -118,7 +125,7 @@ $light-switch: extend(
118
125
  /// @prop {Color} border-color [transparent] - The border color of the switch.
119
126
  /// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
120
127
  /// @prop {Color} border-on-color [transparent] - The border color of the on-switch.
121
- /// @prop {Color} border-on-hover-color [transparent] - The border color of the on-switch.
128
+ /// @prop {Color} border-on-hover-color [transparent] - The hover border color when the switch is on.
122
129
  /// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
123
130
  /// @prop {Map} thumb-on-color [color: ('secondary', 500)] - The color of the thumb when the switch is on.
124
131
  /// @prop {Map} thumb-off-color [color: ('gray', 50)] - The color of the thumb when the switch is off.
@@ -126,6 +133,7 @@ $light-switch: extend(
126
133
  /// @prop {Map} thumb-on-error-color [color: ('secondary', 500)] - The color of the thumb when the switch is on and invalid.
127
134
  /// @prop {Map} track-off-color [color: ('gray', 500)] - The color of the track when the switch is off.
128
135
  /// @prop {Map} track-on-color [color: ('secondary', 200)] - The color of the track when the switch is on.
136
+ /// @prop {Map} track-on-hover-color [color: ('secondary', 200)] - The color of the track when the switch is on and hovered.
129
137
  /// @prop {Map} track-disabled-color [color: ('gray', 300)] - The color of the track when the switch is disabled.
130
138
  /// @prop {Map} error-color [color: ('gray', 50)] - The color of the thumb in invalid state.
131
139
  /// @prop {Map} error-color-hover [color: ('gray', 500)] - The border color in invalid state on hover.
@@ -176,6 +184,12 @@ $material-switch: extend(
176
184
  200,
177
185
  ),
178
186
  ),
187
+ track-on-hover-color: (
188
+ color: (
189
+ 'secondary',
190
+ 200,
191
+ ),
192
+ ),
179
193
  track-disabled-color: (
180
194
  color: (
181
195
  'gray',
@@ -206,10 +220,10 @@ $material-switch: extend(
206
220
 
207
221
  /// Generates a fluent switch schema.
208
222
  /// @type {Map}
209
- /// @prop {Map} border-color [color('gray', 700)] - The border color of the switch.
210
- /// @prop {Map} border-hover-color [color('gray', 800)] - The border color of the switch on hover.
211
- /// @prop {Map} border-disabled-color [color('gray', 400)] - The border color of the disabled switch.
212
- /// @prop {Map} border-on-hover-color [color('primary', 800)] - The border color of the on-switch.
223
+ /// @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.
225
+ /// @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.
213
227
  /// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
214
228
  /// @prop {Map} track-on-hover-color [color: ('primary', 800)] - The color of the track when the switch is on and hovered.
215
229
  /// @prop {Map} track-on-disabled-color [color: ('gray', 400)] - The color of the track when the switch is on and disabled.
@@ -402,33 +416,86 @@ $bootstrap-switch: extend(
402
416
 
403
417
  /// Generates an indigo switch schema.
404
418
  /// @type {Map}
405
- /// @prop {Map} thumb-off-color [color: ('gray', 600)] - The color of the thumb when the switch is off.
406
- /// @prop {Map} thumb-disabled-color [color: ('gray', 300)] - The color of the thumb when the switch is disabled.
407
- /// @prop {Map} border-color [color: ('gray', 600)] - The border color of the switch.
419
+ /// @prop {Map} label-color [color: ('gray', 800)] - The color of the switch label.
420
+ /// @prop {Map} label-invalid-color [color: ('gray', 800)] - The color of the switch label in invalid state.
421
+ /// @prop {Map} label-disabled-color [color: ('gray', 900, .2)] - The color of the switch label when the switch is disabled
422
+ /// @prop {Map} thumb-on-color [contrast-color: ('gray', 900)] - The color of the thumb when the switch is on.
423
+ /// @prop {Map} track-on-hover-color [color: ('primary', 400)] - The color of the track when the switch is on and hovered.
424
+ /// @prop {Map} thumb-off-color [color: ('gray', 500)] - The color of the thumb when the switch is off.
425
+ /// @prop {Map} thumb-disabled-color [color: ('gray', 900, .15)] - The color of the thumb when the switch is disabled.
426
+ /// @prop {Map} thumb-on-disabled-color [contrast-color: ('gray', 900, .4)] - The color of the thumb when the switch is on and disabled.
427
+ /// @prop {Map} track-on-disabled-color [color: ('primary', 400, .5)] - The color of the track when the switch is on and disabled.
428
+ /// @prop {Map} border-color [color: ('gray', 500)] - The border color of the switch.
408
429
  /// @prop {Map} border-hover-color [color: ('gray', 600)] - The border color of the switch on hover.
409
- /// @prop {Map} border-disabled-color [color: ('gray', 300)] - The border color of the disabled switch.
410
- /// @prop {Map} border-on-hover-color [color: ('primary', 500)] - The border color of the on-switch.
411
- /// @prop {Map} label-disabled-color [color: ('gray', 300)] - The color of the switch label when the switch is disabled
430
+ /// @prop {Map} border-disabled-color [color: ('gray', 900, .15)] - The border color of the disabled switch.
431
+ /// @prop {Map} border-on-hover-color [color: ('primary', 400)] - The hover border color when the switch is on.
412
432
  /// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
413
433
  /// @prop {Map} error-color-hover [color: ('gray', 300)] - The border and thumb color in invalid state on hover.
414
434
  /// @prop {Color} track-error-color [transparent] - The color of the track in invalid state when the switch is off.
415
435
  /// @prop {List} border-radius-track [(rem(8px), rem(0), rem(8px))] - The border radius used for switch track.
416
- /// @prop {Map} focus-outline-color [color: ('gray', 300)] - The focus outlined color.
417
- /// @prop {Map} focus-outline-color-focused [color: ('primary', 200)] - The focus outlined color for focused state.
436
+ /// @prop {Map} focus-outline-color [color: ('gray', 900, .15)] - The focus outlined color.
437
+ /// @prop {Map} focus-outline-color-focused [color: ('primary', 400, .5)] - The focus outlined color for focused state.
418
438
  /// @requires $light-switch
419
439
  $indigo-switch: extend(
420
440
  $light-switch,
421
441
  (
442
+ label-color: (
443
+ color: (
444
+ 'gray',
445
+ 800,
446
+ ),
447
+ ),
448
+ label-invalid-color: (
449
+ color: (
450
+ 'gray',
451
+ 800,
452
+ ),
453
+ ),
454
+ label-disabled-color: (
455
+ color: (
456
+ 'gray',
457
+ 900,
458
+ 0.2,
459
+ ),
460
+ ),
461
+ thumb-on-color: (
462
+ contrast-color: (
463
+ 'gray',
464
+ 900,
465
+ ),
466
+ ),
467
+ thumb-on-disabled-color: (
468
+ contrast-color: (
469
+ 'gray',
470
+ 900,
471
+ 0.4,
472
+ ),
473
+ ),
474
+ track-on-hover-color: (
475
+ color: (
476
+ 'primary',
477
+ 400,
478
+ ),
479
+ ),
480
+ track-on-disabled-color: (
481
+ color: (
482
+ 'primary',
483
+ 400,
484
+ 0.5,
485
+ ),
486
+ ),
422
487
  focus-outline-color: (
423
488
  color: (
424
489
  'gray',
425
- 300,
490
+ 900,
491
+ 0.15,
426
492
  ),
427
493
  ),
428
494
  focus-outline-color-focused: (
429
495
  color: (
430
496
  'primary',
431
- 200,
497
+ 400,
498
+ 0.5,
432
499
  ),
433
500
  ),
434
501
  border-color: (
@@ -440,25 +507,26 @@ $indigo-switch: extend(
440
507
  border-hover-color: (
441
508
  color: (
442
509
  'gray',
443
- 500,
510
+ 600,
444
511
  ),
445
512
  ),
446
513
  border-disabled-color: (
447
514
  color: (
448
515
  'gray',
449
- 300,
516
+ 900,
517
+ 0.15,
450
518
  ),
451
519
  ),
452
520
  border-on-hover-color: (
453
521
  color: (
454
522
  'primary',
455
- 500,
523
+ 400,
456
524
  ),
457
525
  ),
458
526
  thumb-off-color: (
459
527
  color: (
460
528
  'gray',
461
- 600,
529
+ 500,
462
530
  ),
463
531
  ),
464
532
  error-color: (
@@ -477,13 +545,8 @@ $indigo-switch: extend(
477
545
  thumb-disabled-color: (
478
546
  color: (
479
547
  'gray',
480
- 300,
481
- ),
482
- ),
483
- label-disabled-color: (
484
- color: (
485
- 'gray',
486
- 300,
548
+ 900,
549
+ 0.15,
487
550
  ),
488
551
  ),
489
552
  border-radius-track: (