igniteui-theming 4.2.0 → 4.4.0

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.
Files changed (113) hide show
  1. package/json/typography/presets/typescales.json +1 -1
  2. package/package.json +1 -1
  3. package/sass/themes/schemas/components/dark/_action-strip.scss +3 -3
  4. package/sass/themes/schemas/components/dark/_avatar.scss +3 -3
  5. package/sass/themes/schemas/components/dark/_badge.scss +3 -3
  6. package/sass/themes/schemas/components/dark/_banner.scss +3 -3
  7. package/sass/themes/schemas/components/dark/_bottom-nav.scss +8 -17
  8. package/sass/themes/schemas/components/dark/_button-group.scss +3 -3
  9. package/sass/themes/schemas/components/dark/_button.scss +224 -146
  10. package/sass/themes/schemas/components/dark/_calendar.scss +4 -4
  11. package/sass/themes/schemas/components/dark/_card.scss +4 -4
  12. package/sass/themes/schemas/components/dark/_carousel.scss +3 -3
  13. package/sass/themes/schemas/components/dark/_checkbox.scss +3 -3
  14. package/sass/themes/schemas/components/dark/_chip.scss +6 -6
  15. package/sass/themes/schemas/components/dark/_column-actions.scss +6 -6
  16. package/sass/themes/schemas/components/dark/_combo.scss +3 -3
  17. package/sass/themes/schemas/components/dark/_date-range-picker.scss +3 -3
  18. package/sass/themes/schemas/components/dark/_dialog.scss +3 -3
  19. package/sass/themes/schemas/components/dark/_divider.scss +3 -3
  20. package/sass/themes/schemas/components/dark/_dock-manager.scss +6 -0
  21. package/sass/themes/schemas/components/dark/_drop-down.scss +3 -3
  22. package/sass/themes/schemas/components/dark/_expansion-panel.scss +3 -3
  23. package/sass/themes/schemas/components/dark/_grid-filtering.scss +3 -3
  24. package/sass/themes/schemas/components/dark/_grid-summary.scss +3 -3
  25. package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
  26. package/sass/themes/schemas/components/dark/_grid.scss +4 -20
  27. package/sass/themes/schemas/components/dark/_highlight.scss +6 -0
  28. package/sass/themes/schemas/components/dark/_icon-button.scss +125 -24
  29. package/sass/themes/schemas/components/dark/_icon.scss +6 -6
  30. package/sass/themes/schemas/components/dark/_index.scss +53 -53
  31. package/sass/themes/schemas/components/dark/_input-group.scss +9 -15
  32. package/sass/themes/schemas/components/dark/_label.scss +3 -3
  33. package/sass/themes/schemas/components/dark/_list.scss +8 -9
  34. package/sass/themes/schemas/components/dark/_navbar.scss +3 -3
  35. package/sass/themes/schemas/components/dark/_navdrawer.scss +6 -3
  36. package/sass/themes/schemas/components/dark/_overlay.scss +3 -3
  37. package/sass/themes/schemas/components/dark/_pagination.scss +6 -6
  38. package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +6 -5
  39. package/sass/themes/schemas/components/dark/_progress.scss +14 -10
  40. package/sass/themes/schemas/components/dark/_query-builder.scss +7 -7
  41. package/sass/themes/schemas/components/dark/_radio.scss +26 -36
  42. package/sass/themes/schemas/components/dark/_rating.scss +3 -3
  43. package/sass/themes/schemas/components/dark/_ripple.scss +3 -3
  44. package/sass/themes/schemas/components/dark/_scrollbar.scss +4 -5
  45. package/sass/themes/schemas/components/dark/_select.scss +3 -3
  46. package/sass/themes/schemas/components/dark/_slider.scss +3 -3
  47. package/sass/themes/schemas/components/dark/_snackbar.scss +3 -3
  48. package/sass/themes/schemas/components/dark/_splitter.scss +2 -2
  49. package/sass/themes/schemas/components/dark/_stepper.scss +4 -4
  50. package/sass/themes/schemas/components/dark/_switch.scss +5 -14
  51. package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
  52. package/sass/themes/schemas/components/dark/_time-picker.scss +3 -3
  53. package/sass/themes/schemas/components/dark/_toast.scss +6 -4
  54. package/sass/themes/schemas/components/dark/_tooltip.scss +3 -4
  55. package/sass/themes/schemas/components/dark/_tree.scss +6 -33
  56. package/sass/themes/schemas/components/dark/_watermark.scss +16 -26
  57. package/sass/themes/schemas/components/elevation/_button.scss +2 -2
  58. package/sass/themes/schemas/components/light/_action-strip.scss +9 -0
  59. package/sass/themes/schemas/components/light/_avatar.scss +5 -3
  60. package/sass/themes/schemas/components/light/_badge.scss +5 -0
  61. package/sass/themes/schemas/components/light/_banner.scss +5 -0
  62. package/sass/themes/schemas/components/light/_bottom-nav.scss +5 -0
  63. package/sass/themes/schemas/components/light/_button-group.scss +52 -49
  64. package/sass/themes/schemas/components/light/_button.scss +425 -430
  65. package/sass/themes/schemas/components/light/_calendar.scss +66 -56
  66. package/sass/themes/schemas/components/light/_card.scss +18 -33
  67. package/sass/themes/schemas/components/light/_carousel.scss +7 -0
  68. package/sass/themes/schemas/components/light/_checkbox.scss +37 -53
  69. package/sass/themes/schemas/components/light/_chip.scss +63 -77
  70. package/sass/themes/schemas/components/light/_column-actions.scss +5 -0
  71. package/sass/themes/schemas/components/light/_combo.scss +31 -36
  72. package/sass/themes/schemas/components/light/_date-range-picker.scss +5 -0
  73. package/sass/themes/schemas/components/light/_dialog.scss +5 -0
  74. package/sass/themes/schemas/components/light/_divider.scss +5 -0
  75. package/sass/themes/schemas/components/light/_dock-manager.scss +68 -97
  76. package/sass/themes/schemas/components/light/_drop-down.scss +68 -89
  77. package/sass/themes/schemas/components/light/_expansion-panel.scss +5 -0
  78. package/sass/themes/schemas/components/light/_grid-filtering.scss +6 -9
  79. package/sass/themes/schemas/components/light/_grid-summary.scss +5 -0
  80. package/sass/themes/schemas/components/light/_grid-toolbar.scss +5 -0
  81. package/sass/themes/schemas/components/light/_grid.scss +98 -171
  82. package/sass/themes/schemas/components/light/_highlight.scss +5 -0
  83. package/sass/themes/schemas/components/light/_icon-button.scss +132 -53
  84. package/sass/themes/schemas/components/light/_icon.scss +5 -0
  85. package/sass/themes/schemas/components/light/_index.scss +53 -53
  86. package/sass/themes/schemas/components/light/_input-group.scss +35 -116
  87. package/sass/themes/schemas/components/light/_label.scss +9 -11
  88. package/sass/themes/schemas/components/light/_list.scss +6 -1
  89. package/sass/themes/schemas/components/light/_navbar.scss +6 -1
  90. package/sass/themes/schemas/components/light/_navdrawer.scss +6 -1
  91. package/sass/themes/schemas/components/light/_overlay.scss +6 -1
  92. package/sass/themes/schemas/components/light/_pagination.scss +7 -2
  93. package/sass/themes/schemas/components/light/_pivot-data-selector.scss +6 -1
  94. package/sass/themes/schemas/components/light/_progress.scss +14 -42
  95. package/sass/themes/schemas/components/light/_query-builder.scss +10 -11
  96. package/sass/themes/schemas/components/light/_radio.scss +57 -67
  97. package/sass/themes/schemas/components/light/_rating.scss +22 -42
  98. package/sass/themes/schemas/components/light/_ripple.scss +6 -1
  99. package/sass/themes/schemas/components/light/_scrollbar.scss +6 -12
  100. package/sass/themes/schemas/components/light/_select.scss +20 -18
  101. package/sass/themes/schemas/components/light/_slider.scss +65 -68
  102. package/sass/themes/schemas/components/light/_snackbar.scss +6 -6
  103. package/sass/themes/schemas/components/light/_splitter.scss +6 -2
  104. package/sass/themes/schemas/components/light/_stepper.scss +74 -141
  105. package/sass/themes/schemas/components/light/_switch.scss +101 -141
  106. package/sass/themes/schemas/components/light/_tabs.scss +19 -36
  107. package/sass/themes/schemas/components/light/_time-picker.scss +11 -4
  108. package/sass/themes/schemas/components/light/_toast.scss +6 -1
  109. package/sass/themes/schemas/components/light/_tooltip.scss +6 -1
  110. package/sass/themes/schemas/components/light/_tree.scss +49 -73
  111. package/sass/themes/schemas/components/light/_watermark.scss +6 -1
  112. package/sass/typography/presets/_fluent.scss +1 -1
  113. package/sass/utils/_map.scss +40 -0
@@ -22,7 +22,7 @@
22
22
  /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
23
23
  /// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
24
24
  /// @prop {Number} default-size [1] - The default size used for the button component.
25
- $material-base-button: (
25
+ $light-base-button: (
26
26
  shadow-color: transparent,
27
27
  border-color: transparent,
28
28
  hover-border-color: transparent,
@@ -54,25 +54,142 @@ $material-base-button: (
54
54
 
55
55
  /// @type {Map}
56
56
  /// @prop {Color} background [transparent] - The background color of a flat button.
57
+ /// @prop {Map} focus-foreground [color: ('secondary', 500)] - The focus text color of a flat button.
58
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for flat button.
59
+ /// @requires {Map} $light-base-button
60
+ /// @requires {Map} $flat-elevation-button
61
+ $light-flat-button: extend(
62
+ $light-base-button,
63
+ $flat-elevation-button,
64
+ (
65
+ selector: '[igxButton="flat"], .igx-button--flat',
66
+ background: transparent,
67
+ focus-foreground: (
68
+ color: (
69
+ 'secondary',
70
+ 500,
71
+ ),
72
+ ),
73
+ border-radius: (
74
+ border-radius: (
75
+ rem(4px),
76
+ rem(0),
77
+ rem(20px),
78
+ ),
79
+ ),
80
+ )
81
+ );
82
+
83
+ /// @type {Map}
84
+ /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled focused border color of an outlined button.
85
+ /// @requires {Map} $light-flat-button
86
+ $light-outlined-button: extend(
87
+ $light-flat-button,
88
+ (
89
+ selector: '[igxButton="outlined"], .igx-button--outlined',
90
+ disabled-border-color: (
91
+ color: (
92
+ 'gray',
93
+ 300,
94
+ ),
95
+ ),
96
+ )
97
+ );
98
+
99
+ /// @type {Map}
100
+ /// @prop {Map} background [color: ('secondary', 500)] - The background color of an contained button.
101
+ /// @prop {Map} active-background [color: ('secondary', 300)] - The active background color of a contained button.
102
+ /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
103
+ /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
104
+ /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
105
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for contained button.
106
+ /// @requires {Map} $light-base-button
107
+ /// @requires {Map} $light-contained-elevation
108
+ $light-contained-button: extend(
109
+ $light-base-button,
110
+ $light-contained-elevation,
111
+ (
112
+ selector: '[igxButton="contained"], .igx-button--contained',
113
+ background: (
114
+ color: (
115
+ 'secondary',
116
+ 500,
117
+ ),
118
+ ),
119
+ active-background: (
120
+ color: (
121
+ 'secondary',
122
+ 300,
123
+ ),
124
+ ),
125
+ border-radius: (
126
+ border-radius: (
127
+ rem(4px),
128
+ rem(0),
129
+ rem(20px),
130
+ ),
131
+ ),
132
+ )
133
+ );
134
+
135
+ /// @type {Map}
136
+ /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
137
+ /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
138
+ /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
139
+ /// @prop {List} size [(rem(32px), rem(40px), rem(48px))] - The size used for floating button.
140
+ /// @requires {Map} $light-contained-button
141
+ /// @requires {Map} $light-fab-elevation
142
+ $light-fab-button: extend(
143
+ $light-contained-button,
144
+ $light-fab-elevation,
145
+ (
146
+ selector: '[igxButton="fab"], .igx-button--fab',
147
+ size: (
148
+ sizable: (
149
+ rem(32px),
150
+ rem(40px),
151
+ rem(48px),
152
+ ),
153
+ ),
154
+ )
155
+ );
156
+
157
+ /// Generates a light button schema.
158
+ /// @type {Map}
159
+ /// @requires {Map} $light-flat-button
160
+ /// @requires {Map} $light-outlined-button
161
+ /// @requires {Map} $light-contained-button
162
+ /// @requires {Map} $light-fab-button
163
+ $light-button: (
164
+ flat: $light-flat-button,
165
+ outlined: $light-outlined-button,
166
+ contained: $light-contained-button,
167
+ fab: $light-fab-button,
168
+ );
169
+
170
+ /// @type {Map}
171
+ /// @requires {Map} $light-base-button
172
+ $material-base-button: $light-base-button;
173
+
174
+ /// @type {Map}
57
175
  /// @prop {Map} foreground [color: ('secondary', 500)] - The idle text color of a flat button.
58
- /// @prop {Map} hover-background [color: ('secondary', 500, .05)] - The hover background color of a flat button.
176
+ /// @prop {Map} hover-background [color: ('secondary', 500, .08)] - The hover background color of a flat button.
59
177
  /// @prop {Map} hover-foreground [color: ('secondary', 500)] - The hover text color of a flat button.
60
- /// @prop {Map} focus-background [color: ('secondary', 400, .12)] - The focus background color of a flat button.
178
+ /// @prop {Map} focus-background [color: ('secondary', 400, .16)] - The focus background color of a flat button.
61
179
  /// @prop {Map} focus-foreground [color: ('secondary', 500)] - The focus text color of a flat button.
62
- /// @prop {Map} focus-visible-background ['secondary', 400, .12)] - The focus-visible background color of a flat button.
180
+ /// @prop {Map} focus-hover-background [color: ('secondary', 400, .24)] - The background color on focus hovered state of the button.
181
+ /// @prop {Map} focus-hover-foreground [color: ('secondary', 500)] - The text color on focus hovered state of the button.
182
+ /// @prop {Map} focus-visible-background ['secondary', 400, .24)] - The focus-visible background color of a flat button.
63
183
  /// @prop {Map} focus-visible-foreground ['secondary', 500)] - The focus-visible text color of a flat button.
64
184
  /// @prop {Map} active-background [color: ('secondary', 400, .12)] - The active background color of a flat button.
65
185
  /// @prop {Map} active-foreground [color: ('secondary', 500)] - The active text color of a flat button.
66
186
  /// @prop {Color} disabled-background [transparent] - The disabled background color a flat button.
67
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for flat button.
68
187
  /// @requires {Map} $material-base-button
69
- /// @requires {Map} $flat-elevation-button
188
+ /// @requires {Map} $light-flat-button
70
189
  $material-flat-button: extend(
71
190
  $material-base-button,
72
- $flat-elevation-button,
191
+ $light-flat-button,
73
192
  (
74
- selector: '[igxButton="flat"], .igx-button--flat',
75
- background: transparent,
76
193
  foreground: (
77
194
  color: (
78
195
  'secondary',
@@ -83,7 +200,7 @@ $material-flat-button: extend(
83
200
  color: (
84
201
  'secondary',
85
202
  500,
86
- 0.05,
203
+ 0.08,
87
204
  ),
88
205
  ),
89
206
  hover-foreground: (
@@ -96,20 +213,27 @@ $material-flat-button: extend(
96
213
  color: (
97
214
  'secondary',
98
215
  400,
99
- 0.12,
216
+ 0.16,
100
217
  ),
101
218
  ),
102
- focus-foreground: (
219
+ focus-visible-background: (
103
220
  color: (
104
221
  'secondary',
105
- 500,
222
+ 400,
223
+ 0.16,
106
224
  ),
107
225
  ),
108
- focus-visible-background: (
226
+ focus-hover-background: (
109
227
  color: (
110
228
  'secondary',
111
229
  400,
112
- 0.12,
230
+ 0.24,
231
+ ),
232
+ ),
233
+ focus-hover-foreground: (
234
+ color: (
235
+ 'secondary',
236
+ 500,
113
237
  ),
114
238
  ),
115
239
  focus-visible-foreground: (
@@ -132,13 +256,6 @@ $material-flat-button: extend(
132
256
  ),
133
257
  ),
134
258
  disabled-background: transparent,
135
- border-radius: (
136
- border-radius: (
137
- rem(4px),
138
- rem(0),
139
- rem(20px),
140
- ),
141
- ),
142
259
  )
143
260
  );
144
261
 
@@ -148,12 +265,12 @@ $material-flat-button: extend(
148
265
  /// @prop {Map} focus-border-color [color: ('secondary', 500)] - The focus border color of an outlined button.
149
266
  /// @prop {Map} focus-visible-border-color [color: ('secondary', 500)] - The focus-visible border color of an outlined button.
150
267
  /// @prop {Map} active-border-color [color: ('secondary', 500)] - The active border color of an outlined button.
151
- /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled focused border color of an outlined button.
152
- /// @requires {Map} $material-flat-button
268
+ /// @requires {Map} $material-base-button
269
+ /// @requires {Map} $light-outlined-button
153
270
  $material-outlined-button: extend(
154
271
  $material-flat-button,
272
+ $light-outlined-button,
155
273
  (
156
- selector: '[igxButton="outlined"], .igx-button--outlined',
157
274
  border-color: (
158
275
  color: (
159
276
  'secondary',
@@ -184,43 +301,28 @@ $material-outlined-button: extend(
184
301
  500,
185
302
  ),
186
303
  ),
187
- disabled-border-color: (
188
- color: (
189
- 'gray',
190
- 300,
191
- ),
192
- ),
304
+ disabled-background: transparent,
193
305
  )
194
306
  );
195
307
 
196
308
  /// @type {Map}
197
- /// @prop {Map} background [color: ('secondary', 500)] - The background color of an contained button.
198
309
  /// @prop {Map} foreground [contrast-color: ('secondary', 500)] - The idle text color of a contained button.
199
- /// @prop {Map} hover-background [color: ('secondary', 300)] - The hover background of a contained button.
200
- /// @prop {Map} hover-foreground [contrast-color: ('secondary', 300)] - The hover text color of a contained button.
201
- /// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a contained button.
310
+ /// @prop {Map} hover-background [color: ('secondary', 400)] - The hover background color of a flat button.
311
+ /// @prop {Map} hover-foreground [contrast-color: ('secondary', 400)] - The hover text color of a contained button.
312
+ /// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a flat button.
202
313
  /// @prop {Map} focus-foreground [contrast-color: ('secondary', 300)] - The focus text color of a contained button.
203
314
  /// @prop {Map} focus-visible-background [color: ('secondary', 300)] - The focus-visible background color of a contained button.
315
+ /// @prop {Map} focus-hover-background [color: ('secondary', 400)] - The background color on focus hovered state of the button.
316
+ /// @prop {Map} focus-hover-foreground [contrast-color: ('secondary', 400)] - The text color on focus hovered state of the button.
204
317
  /// @prop {Map} focus-visible-foreground [contrast-color: ('secondary', 300)] - The focus-visible text color of a contained button.
205
- /// @prop {Map} active-background [color: ('secondary', 300)] - The active background color of a contained button.
206
318
  /// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a contained button.
207
- /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
208
- /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
209
- /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
210
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for contained button.
319
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
320
+ /// @requires {Map} $light-contained-button
211
321
  /// @requires {Map} $material-base-button
212
- /// @requires {Map} $material-contained-elevation
213
322
  $material-contained-button: extend(
214
323
  $material-base-button,
215
- $material-contained-elevation,
324
+ $light-contained-button,
216
325
  (
217
- selector: '[igxButton="contained"], .igx-button--contained',
218
- background: (
219
- color: (
220
- 'secondary',
221
- 500,
222
- ),
223
- ),
224
326
  foreground: (
225
327
  contrast-color: (
226
328
  'secondary',
@@ -230,13 +332,13 @@ $material-contained-button: extend(
230
332
  hover-background: (
231
333
  color: (
232
334
  'secondary',
233
- 300,
335
+ 400,
234
336
  ),
235
337
  ),
236
338
  hover-foreground: (
237
339
  contrast-color: (
238
340
  'secondary',
239
- 300,
341
+ 400,
240
342
  ),
241
343
  ),
242
344
  focus-background: (
@@ -251,53 +353,62 @@ $material-contained-button: extend(
251
353
  300,
252
354
  ),
253
355
  ),
254
- focus-visible-background: (
356
+ focus-hover-background: (
255
357
  color: (
256
358
  'secondary',
257
- 300,
359
+ 400,
258
360
  ),
259
361
  ),
260
- focus-visible-foreground: (
362
+ focus-hover-foreground: (
261
363
  contrast-color: (
262
364
  'secondary',
263
- 300,
365
+ 400,
264
366
  ),
265
367
  ),
266
- active-background: (
368
+ focus-visible-background: (
267
369
  color: (
268
370
  'secondary',
269
371
  300,
270
372
  ),
271
373
  ),
374
+ focus-visible-foreground: (
375
+ contrast-color: (
376
+ 'secondary',
377
+ 300,
378
+ ),
379
+ ),
272
380
  active-foreground: (
273
381
  contrast-color: (
274
382
  'secondary',
275
383
  300,
276
384
  ),
277
385
  ),
278
- border-radius: (
279
- border-radius: (
280
- rem(4px),
281
- rem(0),
282
- rem(20px),
386
+ disabled-background: (
387
+ color: (
388
+ 'gray',
389
+ 100,
283
390
  ),
284
391
  ),
285
392
  )
286
393
  );
287
394
 
288
395
  /// @type {Map}
289
- /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
290
- /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
291
- /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
396
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
292
397
  /// @prop {List} border-radius [(rem(28px), rem(12px), rem(28px))] - The border radius used for floating button.
293
- /// @prop {List} size [(rem(32px), rem(40px), rem(48px))] - The size used for floating button.
294
- /// @requires {Map} $material-contained-button
295
- /// @requires {Map} $material-fab-elevation
398
+ /// @requires {Map} $light-fab-button
399
+ /// @requires {Map} $material-base-button
296
400
  $material-fab-button: extend(
401
+ $material-base-button,
297
402
  $material-contained-button,
298
- $material-fab-elevation,
403
+ $light-fab-button,
299
404
  (
300
405
  selector: '[igxButton="fab"], .igx-button--fab',
406
+ disabled-background: (
407
+ color: (
408
+ 'gray',
409
+ 100,
410
+ ),
411
+ ),
301
412
  border-radius: (
302
413
  border-radius: (
303
414
  rem(28px),
@@ -305,13 +416,6 @@ $material-fab-button: extend(
305
416
  rem(28px),
306
417
  ),
307
418
  ),
308
- size: (
309
- sizable: (
310
- rem(32px),
311
- rem(40px),
312
- rem(48px),
313
- ),
314
- ),
315
419
  )
316
420
  );
317
421
 
@@ -321,7 +425,7 @@ $material-fab-button: extend(
321
425
  /// @requires {Map} $material-outlined-button
322
426
  /// @requires {Map} $material-contained-button
323
427
  /// @requires {Map} $material-fab-button
324
- $light-button: (
428
+ $material-button: (
325
429
  flat: $material-flat-button,
326
430
  outlined: $material-outlined-button,
327
431
  contained: $material-contained-button,
@@ -329,26 +433,86 @@ $light-button: (
329
433
  );
330
434
 
331
435
  /// @type {Map}
332
- /// @requires {Map} $material-base-button
436
+ /// @requires {Map} $light-base-button
333
437
  /// @requires {Map} $flat-elevation-button
334
- /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of the button.
335
- /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the button.
438
+ /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the button.
439
+ /// @prop {Map} focus-visible-border-color [color: ('gray', 700)] - The focus-visible border color of the button.
440
+ /// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of the button.
441
+ /// @prop {Color} focus-background [transparent] - The focus text color of the button.
442
+ /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the button.
443
+ /// @prop {Map} focus-hover-background [color: ('gray', 200)] - The background color on focus hovered state of the button.
444
+ /// @prop {Map} focus-hover-foreground [color: ('gray', 900)] - The focus-hover text color of the button.
445
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible text color of the button.
446
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
447
+ /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
448
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for outlined button.
336
449
  /// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the button.
337
450
  /// @prop {Number} default-size [2] - The default size used for the button component.
338
451
  $fluent-base-button: extend(
339
- $material-base-button,
452
+ $light-base-button,
340
453
  $flat-elevation-button,
341
454
  (
342
- disabled-background: (
455
+ foreground: (
456
+ color: (
457
+ 'gray',
458
+ 900,
459
+ ),
460
+ ),
461
+ focus-visible-border-color: (
462
+ color: (
463
+ 'gray',
464
+ 700,
465
+ ),
466
+ ),
467
+ hover-foreground: (
468
+ color: (
469
+ 'gray',
470
+ 900,
471
+ ),
472
+ ),
473
+ focus-background: transparent,
474
+ focus-foreground: (
475
+ color: (
476
+ 'gray',
477
+ 900,
478
+ ),
479
+ ),
480
+ focus-hover-background: (
343
481
  color: (
344
482
  'gray',
345
483
  200,
346
484
  ),
347
485
  ),
486
+ focus-hover-foreground: (
487
+ color: (
488
+ 'gray',
489
+ 900,
490
+ ),
491
+ ),
492
+ focus-visible-foreground: (
493
+ color: (
494
+ 'gray',
495
+ 900,
496
+ ),
497
+ ),
498
+ focus-visible-background: transparent,
499
+ disabled-background: (
500
+ color: (
501
+ 'gray',
502
+ 100,
503
+ ),
504
+ ),
348
505
  disabled-foreground: (
349
506
  color: (
350
507
  'gray',
351
- 400,
508
+ 500,
509
+ ),
510
+ ),
511
+ border-radius: (
512
+ border-radius: (
513
+ rem(2px),
514
+ rem(0),
515
+ rem(20px),
352
516
  ),
353
517
  ),
354
518
  size: (
@@ -363,50 +527,24 @@ $fluent-base-button: extend(
363
527
  );
364
528
 
365
529
  /// @type {Map}
366
- /// @prop {Map} focus-visible-border-color [color: ('gray', 800)] - The focus-visible border color of a flat button.
367
- /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of a flat button.
368
- /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
369
- /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
370
- /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a flat button.
371
- /// @prop {Color} focus-visible-foreground [color: ('gray', 800)] - The focus-visible text color of a flat button.
372
- /// @prop {Map} hover-foreground [color: ('primary', 500)] - The hover text color of a flat button.
530
+ /// @prop {Map} hover-background [color: ('gray', 200)] - The hover background color of a flat button.
531
+ /// @prop {Color} active-background [transparent] - The active background color of a contained button.
373
532
  /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
374
533
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
375
- /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for flat button.
376
534
  /// @requires {Map} $material-flat-button
535
+ /// @requires {Map} $light-flat-button
377
536
  /// @requires {Map} $fluent-base-button
378
537
  $fluent-flat-button: extend(
379
- $material-flat-button,
538
+ $light-flat-button,
380
539
  $fluent-base-button,
381
540
  (
382
- foreground: (
541
+ hover-background: (
383
542
  color: (
384
543
  'gray',
385
- 900,
544
+ 200,
386
545
  ),
387
546
  ),
388
- hover-background: transparent,
389
- focus-background: transparent,
390
- focus-visible-background: transparent,
391
547
  active-background: transparent,
392
- focus-visible-border-color: (
393
- color: (
394
- 'gray',
395
- 800,
396
- ),
397
- ),
398
- hover-foreground: (
399
- color: (
400
- 'primary',
401
- 500,
402
- ),
403
- ),
404
- focus-visible-foreground: (
405
- color: (
406
- 'gray',
407
- 800,
408
- ),
409
- ),
410
548
  active-foreground: (
411
549
  color: (
412
550
  'gray',
@@ -414,107 +552,56 @@ $fluent-flat-button: extend(
414
552
  ),
415
553
  ),
416
554
  disabled-background: transparent,
417
- border-radius: (
418
- border-radius: (
419
- rem(0),
420
- rem(0),
421
- rem(20px),
422
- ),
423
- ),
424
555
  )
425
556
  );
426
557
 
427
558
  /// @type {Map}
428
- /// @prop {Map} border-color [color: ('gray', 800)] - The border color of an outlined button.
429
- /// @prop {Map} hover-border-color [color: ('gray', 800)] - The hover border color of an outlined button.
430
- /// @prop {Map} focus-border-color [color: ('gray', 800)] - The focus border color of an outlined button.
431
- /// @prop {Map} focus-visible-border-color [color: ('gray', 800)] - The focus-visible border color of an outlined button.
559
+ /// @prop {Map} border-color [color: ('gray', 600)] - The border color of an outlined button.
560
+ /// @prop {Map} hover-border-color [color: ('gray', 600)] - The hover border color of an outlined button.
561
+ /// @prop {Map} focus-border-color [color: ('gray', 600)] - The focus border color of the button.
432
562
  /// @prop {Map} active-border-color [color: ('gray', 800)] - The active border color of an outlined button.
433
- /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of an outlined button.
434
- /// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of an outlined button.
435
- /// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of an outlined button.
436
- /// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of an outlined button.
437
- /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of an outlined button.
438
- /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of an outlined button.
439
- /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of an outlined button.
440
- /// @prop {Map} active-background [color: ('gray', 100)] - The active background color of an outlined button.
441
- /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of an outlined button.
442
- /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of an outlined button.
443
- /// @prop {Map} disabled-foreground [color: ('gray', 400, .5)] - The disabled foreground color of an outlined button.
444
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for outlined button.
445
- /// @requires {Map} $material-outlined-button
563
+ /// @prop {Map} hover-background [color: ('gray', 200)] - The hover background color of an outlined button.
564
+ /// @prop {Map} active-background [color: ('gray', 300)] - The active background color of an outlined button.
565
+ /// @prop {Map} active-foreground [contrast-color: ('gray', 300)] - The active text color of an outlined button.
566
+ /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled focused border color of an outlined button.
567
+ /// @requires {Map} $light-outlined-button
446
568
  /// @requires {Map} $fluent-base-button
447
569
  $fluent-outlined-button: extend(
448
- $material-outlined-button,
570
+ $light-outlined-button,
449
571
  $fluent-base-button,
450
572
  (
451
573
  border-color: (
452
574
  color: (
453
575
  'gray',
454
- 800,
576
+ 600,
455
577
  ),
456
578
  ),
457
579
  hover-border-color: (
458
580
  color: (
459
581
  'gray',
460
- 800,
582
+ 600,
461
583
  ),
462
584
  ),
585
+
463
586
  focus-border-color: (
464
587
  color: (
465
588
  'gray',
466
- 800,
467
- ),
468
- ),
469
- focus-visible-border-color: (
470
- color: (
471
- 'gray',
472
- 800,
589
+ 600,
473
590
  ),
474
591
  ),
592
+
475
593
  active-border-color: (
476
594
  color: (
477
595
  'gray',
478
596
  800,
479
597
  ),
480
598
  ),
481
- foreground: (
482
- color: (
483
- 'gray',
484
- 900,
485
- ),
486
- ),
487
599
  hover-background: (
488
600
  color: (
489
601
  'gray',
490
602
  200,
491
603
  ),
492
604
  ),
493
- hover-foreground: (
494
- color: (
495
- 'gray',
496
- 900,
497
- ),
498
- ),
499
- focus-background: (
500
- color: (
501
- 'gray',
502
- 100,
503
- ),
504
- ),
505
- focus-foreground: (
506
- color: (
507
- 'gray',
508
- 900,
509
- ),
510
- ),
511
- focus-visible-background: transparent,
512
- focus-visible-foreground: (
513
- color: (
514
- 'gray',
515
- 900,
516
- ),
517
- ),
518
605
  active-background: (
519
606
  color: (
520
607
  'gray',
@@ -527,83 +614,51 @@ $fluent-outlined-button: extend(
527
614
  300,
528
615
  ),
529
616
  ),
530
- disabled-background: (
531
- color: (
532
- 'gray',
533
- 200,
534
- ),
535
- ),
536
- disabled-foreground: (
617
+ disabled-border-color: (
537
618
  color: (
538
619
  'gray',
539
- 400,
540
- 0.5,
620
+ 300,
541
621
  ),
542
622
  ),
543
623
  border-radius: (
544
624
  border-radius: (
545
625
  rem(2px),
546
626
  rem(0),
547
- rem(20px),
548
- ),
549
- ),
550
- )
551
- );
552
-
553
- /// @type {Map}
554
- /// @prop {Map} border-color [contrast-color: ('gray', 900)] - The border color of a contained button.
555
- /// @prop {Map} hover-border-color [contrast-color: ('gray', 900)] - The hover border color of a contained button.
556
- /// @prop {Map} focus-border-color [contrast-color: ('gray', 900)] - The focus border color of a contained button.
557
- /// @prop {Map} focus-visible-border-color [contrast-color: ('gray', 900)] - The focus-visible border color of a contained button.
558
- /// @prop {Map} active-border-color [contrast-color: ('gray', 900)] - The active border color of a contained button.
559
- /// @prop {Map} background [color: ('primary', 500)] - The background color of an contained button.
560
- /// @prop {Map} foreground [contrast-color: ('primary', 900] - The idle text color of a contained button.
561
- /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background of a contained button.
562
- /// @prop {Map} hover-foreground [contrast-color: ('primary', 900)] - The hover text color of a contained button.
563
- /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of a contained button.
564
- /// @prop {Map} focus-foreground [contrast-color: ('primary', 900)] - The focus text color of a contained button.
565
- /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of a contained button.
566
- /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 900)] - The focus-visible text color of a contained button.
567
- /// @prop {Map} active-background [color: ('primary', 800)] - The active background color of a contained button.
568
- /// @prop {Map} active-foreground [contrast-color: ('primary', 900)] - The active text color of a contained button.
569
- /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
570
- /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
571
- /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
572
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for contained button.
573
- /// @requires {Map} $material-contained-button
574
- /// @requires {Map} $fluent-base-button
575
- $fluent-contained-button: extend(
576
- $material-contained-button,
577
- $fluent-base-button,
578
- (
579
- border-color: (
580
- color: (
581
- 'primary',
582
- 500,
583
- ),
584
- ),
585
- hover-border-color: (
586
- color: (
587
- 'primary',
588
- 600,
589
- ),
590
- ),
591
- focus-border-color: (
592
- color: (
593
- 'primary',
594
- 600,
595
- ),
596
- ),
597
- focus-visible-border-color: (
598
- color: (
599
- 'primary',
600
- 600,
627
+ rem(20px),
601
628
  ),
602
629
  ),
603
- active-border-color: (
604
- color: (
630
+ )
631
+ );
632
+
633
+ /// @type {Map}
634
+ /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 900)] - The focus-visible border color of a contained button.
635
+ /// @prop {Map} background [color: ('primary', 500)] - The background color of an contained button.
636
+ /// @prop {Map} foreground [contrast-color: ('primary', 900)] - The idle text color of a contained button.
637
+ /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background of a contained button.
638
+ /// @prop {Map} hover-foreground [contrast-color: ('primary', 900)] - The hover text color of a contained button.
639
+ /// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of a contained button.
640
+ /// @prop {Map} focus-foreground [contrast-color: ('primary', 900)] - The focus text color of a contained button.
641
+ /// @prop {Map} focus-hover-background [color: ('primary', 600)] - The background color on focus hovered state of the button.
642
+ /// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 900)] - The text color on focus hovered state of the button.
643
+ /// @prop {Map} focus-visible-background [color: ('primary', 500)] - The focus-visible background color of a contained button.
644
+ /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 900)] - The focus-visible text color of a contained button.
645
+ /// @prop {Map} active-background [color: ('primary', 800)] - The active background color of a contained button.
646
+ /// @prop {Map} active-foreground [contrast-color: ('primary', 900)] - The active text color of a contained button.
647
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
648
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
649
+ /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
650
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for contained button.
651
+ /// @requires {Map} $light-contained-button
652
+ /// @requires {Map} $fluent-base-button
653
+ $fluent-contained-button: extend(
654
+ $light-contained-button,
655
+ $fluent-base-button,
656
+ (
657
+ selector: '[igxButton="contained"], .igx-button--contained',
658
+ focus-visible-border-color: (
659
+ contrast-color: (
605
660
  'primary',
606
- 800,
661
+ 900,
607
662
  ),
608
663
  ),
609
664
  background: (
@@ -633,7 +688,7 @@ $fluent-contained-button: extend(
633
688
  focus-background: (
634
689
  color: (
635
690
  'primary',
636
- 600,
691
+ 500,
637
692
  ),
638
693
  ),
639
694
  focus-foreground: (
@@ -642,12 +697,24 @@ $fluent-contained-button: extend(
642
697
  900,
643
698
  ),
644
699
  ),
645
- focus-visible-background: (
700
+ focus-hover-background: (
646
701
  color: (
647
702
  'primary',
648
703
  600,
649
704
  ),
650
705
  ),
706
+ focus-hover-foreground: (
707
+ contrast-color: (
708
+ 'primary',
709
+ 900,
710
+ ),
711
+ ),
712
+ focus-visible-background: (
713
+ color: (
714
+ 'primary',
715
+ 500,
716
+ ),
717
+ ),
651
718
  focus-visible-foreground: (
652
719
  contrast-color: (
653
720
  'primary',
@@ -677,15 +744,11 @@ $fluent-contained-button: extend(
677
744
  );
678
745
 
679
746
  /// @type {Map}
680
- /// @prop {Map} border-color [contrast: ('gray', 900)] - The border color of a fab button.
681
- /// @prop {Map} hover-border-color [contrast-color: ('gray', 900)] - The hover border color of a fab button.
682
- /// @prop {Map} focus-border-color [contrast-color: ('gray', 900)] - The focus border color of a fab button.
683
- /// @prop {Map} focus-visible-border-color [contrast-color: ('gray', 900)] - The focus-visible border color of a fab button.
684
- /// @prop {Map} active-border-color [contrast-color: ('gray', 900)] - The active border color of a fab button.
685
747
  /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
686
748
  /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
687
749
  /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
688
750
  /// @prop {List} border-radius [(rem(14px), rem(12px), rem(28px))] - The border radius used for fab button.
751
+ /// @prop {List} size [(rem(32px), rem(40px), rem(48px))] - The size used for the button.
689
752
  /// @requires {Map} $fluent-base-button
690
753
  /// @requires {Map} $fluent-contained-button
691
754
  $fluent-fab-button: extend(
@@ -693,36 +756,6 @@ $fluent-fab-button: extend(
693
756
  $fluent-contained-button,
694
757
  (
695
758
  selector: '[igxButton="fab"], .igx-button--fab',
696
- border-color: (
697
- contrast-color: (
698
- 'gray',
699
- 900,
700
- ),
701
- ),
702
- hover-border-color: (
703
- contrast-color: (
704
- 'gray',
705
- 900,
706
- ),
707
- ),
708
- focus-border-color: (
709
- contrast-color: (
710
- 'gray',
711
- 900,
712
- ),
713
- ),
714
- focus-visible-border-color: (
715
- contrast-color: (
716
- 'gray',
717
- 900,
718
- ),
719
- ),
720
- active-border-color: (
721
- contrast-color: (
722
- 'gray',
723
- 900,
724
- ),
725
- ),
726
759
  border-radius: (
727
760
  border-radius: (
728
761
  rem(14px),
@@ -730,6 +763,13 @@ $fluent-fab-button: extend(
730
763
  rem(28px),
731
764
  ),
732
765
  ),
766
+ size: (
767
+ sizable: (
768
+ rem(32px),
769
+ rem(40px),
770
+ rem(48px),
771
+ ),
772
+ ),
733
773
  )
734
774
  );
735
775
 
@@ -749,12 +789,13 @@ $fluent-button: (
749
789
  /// @type {Map}
750
790
  /// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
751
791
  /// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the button.
792
+ /// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
752
793
  /// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the button.
753
794
  /// @prop {Number} default-size [2] - The default size used for the button component.
754
- /// @requires {Map} $material-base-button
795
+ /// @requires {Map} $light-base-button
755
796
  /// @requires {Map} $flat-elevation-button
756
797
  $bootstrap-base-button: extend(
757
- $material-base-button,
798
+ $light-base-button,
758
799
  $flat-elevation-button,
759
800
  (
760
801
  disabled-foreground: (
@@ -769,9 +810,16 @@ $bootstrap-base-button: extend(
769
810
  50,
770
811
  ),
771
812
  ),
813
+ shadow-color: (
814
+ color: (
815
+ 'primary',
816
+ 200,
817
+ 0.5,
818
+ ),
819
+ ),
772
820
  size: (
773
821
  sizable: (
774
- rem(31px),
822
+ rem(32px),
775
823
  rem(38px),
776
824
  rem(48px),
777
825
  ),
@@ -784,17 +832,19 @@ $bootstrap-base-button: extend(
784
832
  /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of a flat button.
785
833
  /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
786
834
  /// @prop {Map} hover-foreground [color: ('primary', 800)] - The hover text color of a flat button.
787
- /// @prop {Map} focus-background [transparent] - The focus background color of a flat button.
788
- /// @prop {Map} focus-foreground [color: ('primary', 600)] - The focus text color of a flat button.
789
- /// @prop {Map} focus-visible-background [transparent] - The focus-visible background color of a flat button.
790
- /// @prop {Map} focus-visible-foreground [color: ('primary', 600)] - The focus-visible text color of a flat button.
791
- /// @prop {Map} active-background [transparent] - The active background color of a flat button.
835
+ /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
836
+ /// @prop {Map} focus-foreground [color: ('primary', 500)] - The focus text color of a flat button.
837
+ /// @prop {Color} focus-hover-background [transparent] - The background color on focus hovered state of the button.
838
+ /// @prop {Map} focus-hover-foreground [color: ('primary', 800)] - The text color on focus hovered s
839
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a flat button.
840
+ /// @prop {Map} focus-visible-foreground [color: ('primary', 500)] - The focus-visible text color of a flat button.
841
+ /// @prop {Color} active-background [transparent] - The active background color of a flat button.
792
842
  /// @prop {Map} active-foreground [color: ('primary', 600)] - The active background color of a flat button.
793
843
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
794
- /// @requires {Map} $material-flat-button
844
+ /// @requires {Map} $light-flat-button
795
845
  /// @requires {Map} $bootstrap-base-button
796
846
  $bootstrap-flat-button: extend(
797
- $material-flat-button,
847
+ $light-flat-button,
798
848
  $bootstrap-base-button,
799
849
  (
800
850
  foreground: (
@@ -814,14 +864,21 @@ $bootstrap-flat-button: extend(
814
864
  focus-foreground: (
815
865
  color: (
816
866
  'primary',
817
- 600,
867
+ 500,
868
+ ),
869
+ ),
870
+ focus-hover-background: transparent,
871
+ focus-hover-foreground: (
872
+ color: (
873
+ 'primary',
874
+ 800,
818
875
  ),
819
876
  ),
820
877
  focus-visible-background: transparent,
821
878
  focus-visible-foreground: (
822
879
  color: (
823
880
  'primary',
824
- 600,
881
+ 500,
825
882
  ),
826
883
  ),
827
884
  active-background: transparent,
@@ -832,38 +889,30 @@ $bootstrap-flat-button: extend(
832
889
  ),
833
890
  ),
834
891
  disabled-background: transparent,
835
- shadow-color: (
836
- color: (
837
- 'primary',
838
- 200,
839
- 0.5,
840
- ),
841
- ),
842
892
  )
843
893
  );
844
894
 
845
895
  /// @type {Map}
846
896
  /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of an outlined button.
847
897
  /// @prop {Map} hover-background [color: ('primary', 500)] - The hover background color of an outlined button.
848
- /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an outlined button.
898
+ /// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an outlined button.
849
899
  /// @prop {Color} focus-background [transparent] - The focus background color of an outlined button.
850
- /// @prop {Color} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of an outlined button.
900
+ /// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of an outlined button.
851
901
  /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of an outlined button.
852
- /// @prop {Color} focus-visible-foreground [color: ('primary', 500)] - The focus-visible text color of an outlined button.
902
+ /// @prop {Map} focus-visible-foreground [color: ('primary', 500)] - The focus-visible text color of an outlined button.
853
903
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an outlined button.
854
904
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an outlined button.
855
905
  /// @prop {Map} border-color [color: ('primary', 500)] - The border color of an outlined button.
856
906
  /// @prop {Map} hover-border-color [color: ('primary', 500)] - The hover border color of an outlined button.
857
- /// @prop {Map} focus-border-color [color: ('primary', 500)] - The focus border color of an outlined button.
907
+ /// @prop {Map} focus-border-color [color: ('primary', 500, 0.5)] - The focus border color of an outlined button.
858
908
  /// @prop {Map} focus-visible-border-color [color: ('primary', 500)] - The focus-visible border color of an outlined button.
859
909
  /// @prop {Map} active-border-color [color: ('primary', 500)] - The active border color of an outlined button.
860
910
  /// @prop {Map} disabled-border-color [color: ('primary', 50), lighten: 35%] - The disabled focused border color of an outlined button.
861
911
  /// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
862
- /// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
863
- /// @requires {Map} $material-outlined-button
912
+ /// @requires {Map} $light-outlined-button
864
913
  /// @requires {Map} $bootstrap-base-button
865
914
  $bootstrap-outlined-button: extend(
866
- $material-outlined-button,
915
+ $light-outlined-button,
867
916
  $bootstrap-base-button,
868
917
  (
869
918
  foreground: (
@@ -891,6 +940,18 @@ $bootstrap-outlined-button: extend(
891
940
  500,
892
941
  ),
893
942
  ),
943
+ focus-hover-background: (
944
+ color: (
945
+ 'primary',
946
+ 500,
947
+ ),
948
+ ),
949
+ focus-hover-foreground: (
950
+ contrast-color: (
951
+ 'primary',
952
+ 600,
953
+ ),
954
+ ),
894
955
  focus-visible-background: transparent,
895
956
  focus-visible-foreground: (
896
957
  color: (
@@ -946,13 +1007,6 @@ $bootstrap-outlined-button: extend(
946
1007
  50,
947
1008
  ),
948
1009
  ),
949
- shadow-color: (
950
- color: (
951
- 'primary',
952
- 200,
953
- 0.5,
954
- ),
955
- ),
956
1010
  disabled-background: transparent,
957
1011
  )
958
1012
  );
@@ -962,17 +1016,16 @@ $bootstrap-outlined-button: extend(
962
1016
  /// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of a contained button.
963
1017
  /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of an contained button.
964
1018
  /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an contained button.
965
- /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of an contained button.
1019
+ /// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of an contained button.
966
1020
  /// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of an contained button.
967
1021
  /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of an contained button.
968
1022
  /// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of an contained button.
969
1023
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an contained button.
970
1024
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an contained button.
971
- /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a contained button.
972
- /// @requires {Map} $material-contained-button
1025
+ /// @requires {Map} $light-contained-button
973
1026
  /// @requires {Map} $bootstrap-base-button
974
1027
  $bootstrap-contained-button: extend(
975
- $material-contained-button,
1028
+ $light-contained-button,
976
1029
  $bootstrap-base-button,
977
1030
  (
978
1031
  background: (
@@ -1001,6 +1054,18 @@ $bootstrap-contained-button: extend(
1001
1054
  ),
1002
1055
  focus-background: (
1003
1056
  color: (
1057
+ 'primary',
1058
+ 500,
1059
+ ),
1060
+ ),
1061
+ focus-hover-background: (
1062
+ color: (
1063
+ 'primary',
1064
+ 600,
1065
+ ),
1066
+ ),
1067
+ focus-hover-foreground: (
1068
+ contrast-color: (
1004
1069
  'primary',
1005
1070
  600,
1006
1071
  ),
@@ -1014,7 +1079,7 @@ $bootstrap-contained-button: extend(
1014
1079
  focus-visible-background: (
1015
1080
  color: (
1016
1081
  'primary',
1017
- 600,
1082
+ 500,
1018
1083
  ),
1019
1084
  ),
1020
1085
  focus-visible-foreground: (
@@ -1035,89 +1100,20 @@ $bootstrap-contained-button: extend(
1035
1100
  700,
1036
1101
  ),
1037
1102
  ),
1038
- shadow-color: (
1039
- color: (
1040
- 'primary',
1041
- 200,
1042
- ),
1043
- ),
1044
1103
  )
1045
1104
  );
1046
1105
 
1047
1106
  /// @type {Map}
1048
- /// @prop {Map} background [color: ('primary', 500)] - The background color of a fab button.
1049
- /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of a fab button.
1050
- /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of a fab button.
1051
- /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of a fab button.
1052
- /// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of a fab button.
1053
- /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of a fab button.
1054
- /// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of a fab button.
1055
- /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of a fab button.
1056
- /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of a fab button.
1057
1107
  /// @prop {List} border-radius [(rem(15px), rem(12px), rem(28px))] - The border radius used for outlined button.
1058
- /// @requires {Map} $material-fab-button
1108
+ /// @requires {Map} $light-fab-button
1059
1109
  /// @requires {Map} $bootstrap-base-button
1060
1110
  /// @requires {Map} $bootstrap-contained-button
1061
1111
  $bootstrap-fab-button: extend(
1062
- $material-fab-button,
1112
+ $light-fab-button,
1063
1113
  $bootstrap-base-button,
1064
1114
  $bootstrap-contained-button,
1065
1115
  (
1066
1116
  selector: '[igxButton="fab"], .igx-button--fab',
1067
- background: (
1068
- color: (
1069
- 'primary',
1070
- 500,
1071
- ),
1072
- ),
1073
- hover-background: (
1074
- color: (
1075
- 'primary',
1076
- 600,
1077
- ),
1078
- ),
1079
- hover-foreground: (
1080
- contrast-color: (
1081
- 'primary',
1082
- 600,
1083
- ),
1084
- ),
1085
- focus-background: (
1086
- color: (
1087
- 'primary',
1088
- 600,
1089
- ),
1090
- ),
1091
- focus-foreground: (
1092
- contrast-color: (
1093
- 'primary',
1094
- 600,
1095
- ),
1096
- ),
1097
- focus-visible-background: (
1098
- color: (
1099
- 'primary',
1100
- 600,
1101
- ),
1102
- ),
1103
- focus-visible-foreground: (
1104
- contrast-color: (
1105
- 'primary',
1106
- 600,
1107
- ),
1108
- ),
1109
- active-background: (
1110
- color: (
1111
- 'primary',
1112
- 700,
1113
- ),
1114
- ),
1115
- active-foreground: (
1116
- contrast-color: (
1117
- 'primary',
1118
- 700,
1119
- ),
1120
- ),
1121
1117
  border-radius: (
1122
1118
  border-radius: (
1123
1119
  rem(15px),
@@ -1142,9 +1138,23 @@ $bootstrap-button: (
1142
1138
  );
1143
1139
 
1144
1140
  /// @type {Map}
1141
+ /// @prop {Color} focus-hover-background [transparent] - The background color on focus hovered state of the button.
1142
+ /// @prop {Map} focus-hover-foreground [color: ('gray', 900)] - The text color on focus hovered state of the button.
1145
1143
  /// @requires {Map} $material-base-button
1146
1144
  /// @requires {Map} $flat-elevation-button
1147
- $indigo-base-button: extend($material-base-button, $flat-elevation-button);
1145
+ $indigo-base-button: extend(
1146
+ $material-base-button,
1147
+ $flat-elevation-button,
1148
+ (
1149
+ focus-hover-background: transparent,
1150
+ focus-hover-foreground: (
1151
+ color: (
1152
+ 'gray',
1153
+ 900,
1154
+ ),
1155
+ ),
1156
+ )
1157
+ );
1148
1158
 
1149
1159
  /// @type {Map}
1150
1160
  /// @prop {Map} foreground [color: ('gray', 700)] - The idle text color of a flat button.
@@ -1153,17 +1163,17 @@ $indigo-base-button: extend($material-base-button, $flat-elevation-button);
1153
1163
  /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
1154
1164
  /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of a flat button.
1155
1165
  /// @prop {Color} active-background [transparent] - The active background color of a flat button.
1156
- /// @prop {Color} active-foreground [color: ('gray', 700)] - The active text color of a flat button.
1166
+ /// @prop {Map} active-foreground [color: ('gray', 700)] - The active text color of a flat button.
1157
1167
  /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a flat button.
1158
1168
  /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a flat button.
1159
1169
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
1160
1170
  /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a flat button.
1161
1171
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for flat button.
1162
1172
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the flat button.
1163
- /// @requires {Map} $material-flat-button
1173
+ /// @requires {Map} $light-flat-button
1164
1174
  /// @requires {Map} $indigo-base-button
1165
1175
  $indigo-flat-button: extend(
1166
- $material-flat-button,
1176
+ $light-flat-button,
1167
1177
  $indigo-base-button,
1168
1178
  (
1169
1179
  foreground: (
@@ -1239,15 +1249,15 @@ $indigo-flat-button: extend(
1239
1249
  /// @prop {Map} focus-visible-border-color [color: 'gray'] - The focus-visible border color of a outlined button.
1240
1250
  /// @prop {Map} active-border-color [color: 'gray'] - The active border color of a outlined button.
1241
1251
  /// @prop {Color} active-background [transparent] - The active background color of a outlined button.
1242
- /// @prop {Color} active-foreground [color: ('gray', 900)] - The active text color of a outlined button.
1252
+ /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of a outlined button.
1243
1253
  /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a outlined button.
1244
1254
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
1245
1255
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the outlined button.
1246
1256
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the outlined button.
1247
- /// @requires {Map} $material-outlined-button
1257
+ /// @requires {Map} $light-outlined-button
1248
1258
  /// @requires {Map} $indigo-base-button
1249
1259
  $indigo-outlined-button: extend(
1250
- $material-outlined-button,
1260
+ $light-outlined-button,
1251
1261
  $indigo-base-button,
1252
1262
  (
1253
1263
  background: transparent,
@@ -1341,10 +1351,10 @@ $indigo-outlined-button: extend(
1341
1351
  /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a contained button.
1342
1352
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the contained button.
1343
1353
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the contained button.
1344
- /// @requires {Map} $material-contained-button
1354
+ /// @requires {Map} $light-contained-button
1345
1355
  /// @requires {Map} $indigo-base-button
1346
1356
  $indigo-contained-button: extend(
1347
- $material-contained-button,
1357
+ $light-contained-button,
1348
1358
  $indigo-base-button,
1349
1359
  (
1350
1360
  foreground: (
@@ -1377,6 +1387,18 @@ $indigo-contained-button: extend(
1377
1387
  50,
1378
1388
  ),
1379
1389
  ),
1390
+ focus-hover-background: (
1391
+ color: (
1392
+ 'secondary',
1393
+ 400,
1394
+ ),
1395
+ ),
1396
+ focus-hover-foreground: (
1397
+ color: (
1398
+ 'gray',
1399
+ 50,
1400
+ ),
1401
+ ),
1380
1402
  focus-visible-background: (
1381
1403
  color: (
1382
1404
  'secondary',
@@ -1419,45 +1441,18 @@ $indigo-contained-button: extend(
1419
1441
  );
1420
1442
 
1421
1443
  /// @type {Map}
1422
- /// @prop {Map} foreground [ color: ('gray', 50)] - The idle text color of a fab button.
1423
- /// @prop {Map} hover-foreground [ color: ('gray', 50)] - The hover text color of a fab button.
1424
- /// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a fab button.
1425
- /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a fab button.
1426
1444
  /// @prop {List} border-radius [(rem(36px), rem(42px), rem(48px))] - The border radius used for fab button.
1427
1445
  /// @prop {List} size [(rem(36px), rem(42px), rem(48px))] - The size used for the fab button.
1428
- /// @requires {Map} $material-fab-button
1446
+ /// @requires {Map} $light-fab-button
1429
1447
  /// @requires {Map} $indigo-base-button
1430
1448
  /// @requires {Map} $indigo-contained-button
1431
1449
  $indigo-fab-button: extend(
1432
- $material-fab-button,
1450
+ $light-fab-button,
1433
1451
  $indigo-base-button,
1434
1452
  $indigo-contained-button,
1435
1453
  (
1436
1454
  selector: '[igxButton="fab"], .igx-button--fab',
1437
- foreground: (
1438
- color: (
1439
- 'gray',
1440
- 50,
1441
- ),
1442
- ),
1443
- hover-foreground: (
1444
- color: (
1445
- 'gray',
1446
- 50,
1447
- ),
1448
- ),
1449
- focus-foreground: (
1450
- color: (
1451
- 'gray',
1452
- 50,
1453
- ),
1454
- ),
1455
- focus-visible-foreground: (
1456
- color: (
1457
- 'gray',
1458
- 50,
1459
- ),
1460
- ),
1455
+
1461
1456
  border-radius: (
1462
1457
  border-radius: (
1463
1458
  rem(28px),