igniteui-theming 4.3.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.
@@ -98,11 +98,7 @@ $light-outlined-button: extend(
98
98
 
99
99
  /// @type {Map}
100
100
  /// @prop {Map} background [color: ('secondary', 500)] - The background color of an contained button.
101
- /// @prop {Map} hover-background [color: ('secondary', 300)] - The hover background of a contained button.
102
- /// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a contained button.
103
- /// @prop {Map} focus-visible-background [color: ('secondary', 300)] - The focus-visible background color of a contained button.
104
101
  /// @prop {Map} active-background [color: ('secondary', 300)] - The active background color of a contained button.
105
- /// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a contained button.
106
102
  /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
107
103
  /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
108
104
  /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
@@ -177,10 +173,13 @@ $material-base-button: $light-base-button;
177
173
 
178
174
  /// @type {Map}
179
175
  /// @prop {Map} foreground [color: ('secondary', 500)] - The idle text color of a flat button.
180
- /// @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.
181
177
  /// @prop {Map} hover-foreground [color: ('secondary', 500)] - The hover text color of a flat button.
182
- /// @prop {Map} focus-background [color: ('secondary', 400, .12)] - The focus background color of a flat button.
183
- /// @prop {Map} focus-visible-background ['secondary', 400, .12)] - The focus-visible background color of a flat button.
178
+ /// @prop {Map} focus-background [color: ('secondary', 400, .16)] - The focus background color of a flat button.
179
+ /// @prop {Map} focus-foreground [color: ('secondary', 500)] - The focus text 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.
184
183
  /// @prop {Map} focus-visible-foreground ['secondary', 500)] - The focus-visible text color of a flat button.
185
184
  /// @prop {Map} active-background [color: ('secondary', 400, .12)] - The active background color of a flat button.
186
185
  /// @prop {Map} active-foreground [color: ('secondary', 500)] - The active text color of a flat button.
@@ -201,7 +200,7 @@ $material-flat-button: extend(
201
200
  color: (
202
201
  'secondary',
203
202
  500,
204
- 0.05,
203
+ 0.08,
205
204
  ),
206
205
  ),
207
206
  hover-foreground: (
@@ -214,14 +213,27 @@ $material-flat-button: extend(
214
213
  color: (
215
214
  'secondary',
216
215
  400,
217
- 0.12,
216
+ 0.16,
218
217
  ),
219
218
  ),
220
219
  focus-visible-background: (
221
220
  color: (
222
221
  'secondary',
223
222
  400,
224
- 0.12,
223
+ 0.16,
224
+ ),
225
+ ),
226
+ focus-hover-background: (
227
+ color: (
228
+ 'secondary',
229
+ 400,
230
+ 0.24,
231
+ ),
232
+ ),
233
+ focus-hover-foreground: (
234
+ color: (
235
+ 'secondary',
236
+ 500,
225
237
  ),
226
238
  ),
227
239
  focus-visible-foreground: (
@@ -295,9 +307,16 @@ $material-outlined-button: extend(
295
307
 
296
308
  /// @type {Map}
297
309
  /// @prop {Map} foreground [contrast-color: ('secondary', 500)] - The idle text color of a contained button.
298
- /// @prop {Map} hover-foreground [contrast-color: ('secondary', 300)] - The hover text 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.
299
313
  /// @prop {Map} focus-foreground [contrast-color: ('secondary', 300)] - The focus text color of a contained button.
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.
300
317
  /// @prop {Map} focus-visible-foreground [contrast-color: ('secondary', 300)] - The focus-visible text color of a contained button.
318
+ /// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a contained button.
319
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
301
320
  /// @requires {Map} $light-contained-button
302
321
  /// @requires {Map} $material-base-button
303
322
  $material-contained-button: extend(
@@ -313,13 +332,13 @@ $material-contained-button: extend(
313
332
  hover-background: (
314
333
  color: (
315
334
  'secondary',
316
- 300,
335
+ 400,
317
336
  ),
318
337
  ),
319
338
  hover-foreground: (
320
339
  contrast-color: (
321
340
  'secondary',
322
- 300,
341
+ 400,
323
342
  ),
324
343
  ),
325
344
  focus-background: (
@@ -334,6 +353,18 @@ $material-contained-button: extend(
334
353
  300,
335
354
  ),
336
355
  ),
356
+ focus-hover-background: (
357
+ color: (
358
+ 'secondary',
359
+ 400,
360
+ ),
361
+ ),
362
+ focus-hover-foreground: (
363
+ contrast-color: (
364
+ 'secondary',
365
+ 400,
366
+ ),
367
+ ),
337
368
  focus-visible-background: (
338
369
  color: (
339
370
  'secondary',
@@ -352,10 +383,17 @@ $material-contained-button: extend(
352
383
  300,
353
384
  ),
354
385
  ),
386
+ disabled-background: (
387
+ color: (
388
+ 'gray',
389
+ 100,
390
+ ),
391
+ ),
355
392
  )
356
393
  );
357
394
 
358
395
  /// @type {Map}
396
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
359
397
  /// @prop {List} border-radius [(rem(28px), rem(12px), rem(28px))] - The border radius used for floating button.
360
398
  /// @requires {Map} $light-fab-button
361
399
  /// @requires {Map} $material-base-button
@@ -365,6 +403,12 @@ $material-fab-button: extend(
365
403
  $light-fab-button,
366
404
  (
367
405
  selector: '[igxButton="fab"], .igx-button--fab',
406
+ disabled-background: (
407
+ color: (
408
+ 'gray',
409
+ 100,
410
+ ),
411
+ ),
368
412
  border-radius: (
369
413
  border-radius: (
370
414
  rem(28px),
@@ -391,24 +435,84 @@ $material-button: (
391
435
  /// @type {Map}
392
436
  /// @requires {Map} $light-base-button
393
437
  /// @requires {Map} $flat-elevation-button
394
- /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of the button.
395
- /// @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.
396
449
  /// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the button.
397
450
  /// @prop {Number} default-size [2] - The default size used for the button component.
398
451
  $fluent-base-button: extend(
399
452
  $light-base-button,
400
453
  $flat-elevation-button,
401
454
  (
402
- 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: (
403
481
  color: (
404
482
  'gray',
405
483
  200,
406
484
  ),
407
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
+ ),
408
505
  disabled-foreground: (
409
506
  color: (
410
507
  'gray',
411
- 400,
508
+ 500,
509
+ ),
510
+ ),
511
+ border-radius: (
512
+ border-radius: (
513
+ rem(2px),
514
+ rem(0),
515
+ rem(20px),
412
516
  ),
413
517
  ),
414
518
  size: (
@@ -423,50 +527,24 @@ $fluent-base-button: extend(
423
527
  );
424
528
 
425
529
  /// @type {Map}
426
- /// @prop {Map} focus-visible-border-color [color: ('gray', 800)] - The focus-visible border color of a flat button.
427
- /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of a flat button.
428
- /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
429
- /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
430
- /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a flat button.
431
- /// @prop {Color} focus-visible-foreground [color: ('gray', 800)] - The focus-visible text color of a flat button.
432
- /// @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.
433
532
  /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
434
533
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
435
- /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for flat button.
534
+ /// @requires {Map} $material-flat-button
436
535
  /// @requires {Map} $light-flat-button
437
536
  /// @requires {Map} $fluent-base-button
438
537
  $fluent-flat-button: extend(
439
538
  $light-flat-button,
440
539
  $fluent-base-button,
441
540
  (
442
- foreground: (
541
+ hover-background: (
443
542
  color: (
444
543
  'gray',
445
- 900,
544
+ 200,
446
545
  ),
447
546
  ),
448
- hover-background: transparent,
449
- focus-background: transparent,
450
- focus-visible-background: transparent,
451
547
  active-background: transparent,
452
- focus-visible-border-color: (
453
- color: (
454
- 'gray',
455
- 800,
456
- ),
457
- ),
458
- hover-foreground: (
459
- color: (
460
- 'primary',
461
- 500,
462
- ),
463
- ),
464
- focus-visible-foreground: (
465
- color: (
466
- 'gray',
467
- 800,
468
- ),
469
- ),
470
548
  active-foreground: (
471
549
  color: (
472
550
  'gray',
@@ -474,34 +552,18 @@ $fluent-flat-button: extend(
474
552
  ),
475
553
  ),
476
554
  disabled-background: transparent,
477
- border-radius: (
478
- border-radius: (
479
- rem(0),
480
- rem(0),
481
- rem(20px),
482
- ),
483
- ),
484
555
  )
485
556
  );
486
557
 
487
558
  /// @type {Map}
488
- /// @prop {Map} border-color [color: ('gray', 800)] - The border color of an outlined button.
489
- /// @prop {Map} hover-border-color [color: ('gray', 800)] - The hover border color of an outlined button.
490
- /// @prop {Map} focus-border-color [color: ('gray', 800)] - The focus border color of an outlined button.
491
- /// @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.
492
562
  /// @prop {Map} active-border-color [color: ('gray', 800)] - The active border color of an outlined button.
493
- /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of an outlined button.
494
- /// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of an outlined button.
495
- /// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of an outlined button.
496
- /// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of an outlined button.
497
- /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of an outlined button.
498
- /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of an outlined button.
499
- /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of an outlined button.
500
- /// @prop {Map} active-background [color: ('gray', 100)] - The active background color of an outlined button.
501
- /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of an outlined button.
502
- /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of an outlined button.
503
- /// @prop {Map} disabled-foreground [color: ('gray', 400, .5)] - The disabled foreground color of an outlined button.
504
- /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for 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.
505
567
  /// @requires {Map} $light-outlined-button
506
568
  /// @requires {Map} $fluent-base-button
507
569
  $fluent-outlined-button: extend(
@@ -511,70 +573,35 @@ $fluent-outlined-button: extend(
511
573
  border-color: (
512
574
  color: (
513
575
  'gray',
514
- 800,
576
+ 600,
515
577
  ),
516
578
  ),
517
579
  hover-border-color: (
518
580
  color: (
519
581
  'gray',
520
- 800,
582
+ 600,
521
583
  ),
522
584
  ),
585
+
523
586
  focus-border-color: (
524
587
  color: (
525
588
  'gray',
526
- 800,
527
- ),
528
- ),
529
- focus-visible-border-color: (
530
- color: (
531
- 'gray',
532
- 800,
589
+ 600,
533
590
  ),
534
591
  ),
592
+
535
593
  active-border-color: (
536
594
  color: (
537
595
  'gray',
538
596
  800,
539
597
  ),
540
598
  ),
541
- foreground: (
542
- color: (
543
- 'gray',
544
- 900,
545
- ),
546
- ),
547
599
  hover-background: (
548
600
  color: (
549
601
  'gray',
550
602
  200,
551
603
  ),
552
604
  ),
553
- hover-foreground: (
554
- color: (
555
- 'gray',
556
- 900,
557
- ),
558
- ),
559
- focus-background: (
560
- color: (
561
- 'gray',
562
- 100,
563
- ),
564
- ),
565
- focus-foreground: (
566
- color: (
567
- 'gray',
568
- 900,
569
- ),
570
- ),
571
- focus-visible-background: transparent,
572
- focus-visible-foreground: (
573
- color: (
574
- 'gray',
575
- 900,
576
- ),
577
- ),
578
605
  active-background: (
579
606
  color: (
580
607
  'gray',
@@ -587,17 +614,10 @@ $fluent-outlined-button: extend(
587
614
  300,
588
615
  ),
589
616
  ),
590
- disabled-background: (
591
- color: (
592
- 'gray',
593
- 200,
594
- ),
595
- ),
596
- disabled-foreground: (
617
+ disabled-border-color: (
597
618
  color: (
598
619
  'gray',
599
- 400,
600
- 0.5,
620
+ 300,
601
621
  ),
602
622
  ),
603
623
  border-radius: (
@@ -611,18 +631,16 @@ $fluent-outlined-button: extend(
611
631
  );
612
632
 
613
633
  /// @type {Map}
614
- /// @prop {Map} border-color [contrast-color: ('gray', 900)] - The border color of a contained button.
615
- /// @prop {Map} hover-border-color [contrast-color: ('gray', 900)] - The hover border color of a contained button.
616
- /// @prop {Map} focus-border-color [contrast-color: ('gray', 900)] - The focus border color of a contained button.
617
- /// @prop {Map} focus-visible-border-color [contrast-color: ('gray', 900)] - The focus-visible border color of a contained button.
618
- /// @prop {Map} active-border-color [contrast-color: ('gray', 900)] - The active border color of a contained button.
634
+ /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 900)] - The focus-visible border color of a contained button.
619
635
  /// @prop {Map} background [color: ('primary', 500)] - The background color of an contained button.
620
- /// @prop {Map} foreground [contrast-color: ('primary', 900] - The idle text color of a contained button.
636
+ /// @prop {Map} foreground [contrast-color: ('primary', 900)] - The idle text color of a contained button.
621
637
  /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background of a contained button.
622
638
  /// @prop {Map} hover-foreground [contrast-color: ('primary', 900)] - The hover text color of a contained button.
623
- /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of a contained button.
639
+ /// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of a contained button.
624
640
  /// @prop {Map} focus-foreground [contrast-color: ('primary', 900)] - The focus text color of a contained button.
625
- /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background 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.
626
644
  /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 900)] - The focus-visible text color of a contained button.
627
645
  /// @prop {Map} active-background [color: ('primary', 800)] - The active background color of a contained button.
628
646
  /// @prop {Map} active-foreground [contrast-color: ('primary', 900)] - The active text color of a contained button.
@@ -636,34 +654,11 @@ $fluent-contained-button: extend(
636
654
  $light-contained-button,
637
655
  $fluent-base-button,
638
656
  (
639
- border-color: (
640
- color: (
641
- 'primary',
642
- 500,
643
- ),
644
- ),
645
- hover-border-color: (
646
- color: (
647
- 'primary',
648
- 600,
649
- ),
650
- ),
651
- focus-border-color: (
652
- color: (
653
- 'primary',
654
- 600,
655
- ),
656
- ),
657
+ selector: '[igxButton="contained"], .igx-button--contained',
657
658
  focus-visible-border-color: (
658
- color: (
659
- 'primary',
660
- 600,
661
- ),
662
- ),
663
- active-border-color: (
664
- color: (
659
+ contrast-color: (
665
660
  'primary',
666
- 800,
661
+ 900,
667
662
  ),
668
663
  ),
669
664
  background: (
@@ -693,7 +688,7 @@ $fluent-contained-button: extend(
693
688
  focus-background: (
694
689
  color: (
695
690
  'primary',
696
- 600,
691
+ 500,
697
692
  ),
698
693
  ),
699
694
  focus-foreground: (
@@ -702,12 +697,24 @@ $fluent-contained-button: extend(
702
697
  900,
703
698
  ),
704
699
  ),
705
- focus-visible-background: (
700
+ focus-hover-background: (
706
701
  color: (
707
702
  'primary',
708
703
  600,
709
704
  ),
710
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
+ ),
711
718
  focus-visible-foreground: (
712
719
  contrast-color: (
713
720
  'primary',
@@ -737,15 +744,11 @@ $fluent-contained-button: extend(
737
744
  );
738
745
 
739
746
  /// @type {Map}
740
- /// @prop {Map} border-color [contrast: ('gray', 900)] - The border color of a fab button.
741
- /// @prop {Map} hover-border-color [contrast-color: ('gray', 900)] - The hover border color of a fab button.
742
- /// @prop {Map} focus-border-color [contrast-color: ('gray', 900)] - The focus border color of a fab button.
743
- /// @prop {Map} focus-visible-border-color [contrast-color: ('gray', 900)] - The focus-visible border color of a fab button.
744
- /// @prop {Map} active-border-color [contrast-color: ('gray', 900)] - The active border color of a fab button.
745
747
  /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
746
748
  /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
747
749
  /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
748
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.
749
752
  /// @requires {Map} $fluent-base-button
750
753
  /// @requires {Map} $fluent-contained-button
751
754
  $fluent-fab-button: extend(
@@ -753,36 +756,6 @@ $fluent-fab-button: extend(
753
756
  $fluent-contained-button,
754
757
  (
755
758
  selector: '[igxButton="fab"], .igx-button--fab',
756
- border-color: (
757
- contrast-color: (
758
- 'gray',
759
- 900,
760
- ),
761
- ),
762
- hover-border-color: (
763
- contrast-color: (
764
- 'gray',
765
- 900,
766
- ),
767
- ),
768
- focus-border-color: (
769
- contrast-color: (
770
- 'gray',
771
- 900,
772
- ),
773
- ),
774
- focus-visible-border-color: (
775
- contrast-color: (
776
- 'gray',
777
- 900,
778
- ),
779
- ),
780
- active-border-color: (
781
- contrast-color: (
782
- 'gray',
783
- 900,
784
- ),
785
- ),
786
759
  border-radius: (
787
760
  border-radius: (
788
761
  rem(14px),
@@ -790,6 +763,13 @@ $fluent-fab-button: extend(
790
763
  rem(28px),
791
764
  ),
792
765
  ),
766
+ size: (
767
+ sizable: (
768
+ rem(32px),
769
+ rem(40px),
770
+ rem(48px),
771
+ ),
772
+ ),
793
773
  )
794
774
  );
795
775
 
@@ -809,6 +789,7 @@ $fluent-button: (
809
789
  /// @type {Map}
810
790
  /// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
811
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.
812
793
  /// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the button.
813
794
  /// @prop {Number} default-size [2] - The default size used for the button component.
814
795
  /// @requires {Map} $light-base-button
@@ -829,9 +810,16 @@ $bootstrap-base-button: extend(
829
810
  50,
830
811
  ),
831
812
  ),
813
+ shadow-color: (
814
+ color: (
815
+ 'primary',
816
+ 200,
817
+ 0.5,
818
+ ),
819
+ ),
832
820
  size: (
833
821
  sizable: (
834
- rem(31px),
822
+ rem(32px),
835
823
  rem(38px),
836
824
  rem(48px),
837
825
  ),
@@ -844,11 +832,13 @@ $bootstrap-base-button: extend(
844
832
  /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of a flat button.
845
833
  /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
846
834
  /// @prop {Map} hover-foreground [color: ('primary', 800)] - The hover text color of a flat button.
847
- /// @prop {Map} focus-background [transparent] - The focus background color of a flat button.
848
- /// @prop {Map} focus-foreground [color: ('primary', 600)] - The focus text color of a flat button.
849
- /// @prop {Map} focus-visible-background [transparent] - The focus-visible background color of a flat button.
850
- /// @prop {Map} focus-visible-foreground [color: ('primary', 600)] - The focus-visible text color of a flat button.
851
- /// @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.
852
842
  /// @prop {Map} active-foreground [color: ('primary', 600)] - The active background color of a flat button.
853
843
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
854
844
  /// @requires {Map} $light-flat-button
@@ -874,14 +864,21 @@ $bootstrap-flat-button: extend(
874
864
  focus-foreground: (
875
865
  color: (
876
866
  'primary',
877
- 600,
867
+ 500,
868
+ ),
869
+ ),
870
+ focus-hover-background: transparent,
871
+ focus-hover-foreground: (
872
+ color: (
873
+ 'primary',
874
+ 800,
878
875
  ),
879
876
  ),
880
877
  focus-visible-background: transparent,
881
878
  focus-visible-foreground: (
882
879
  color: (
883
880
  'primary',
884
- 600,
881
+ 500,
885
882
  ),
886
883
  ),
887
884
  active-background: transparent,
@@ -892,34 +889,26 @@ $bootstrap-flat-button: extend(
892
889
  ),
893
890
  ),
894
891
  disabled-background: transparent,
895
- shadow-color: (
896
- color: (
897
- 'primary',
898
- 200,
899
- 0.5,
900
- ),
901
- ),
902
892
  )
903
893
  );
904
894
 
905
895
  /// @type {Map}
906
896
  /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of an outlined button.
907
897
  /// @prop {Map} hover-background [color: ('primary', 500)] - The hover background color of an outlined button.
908
- /// @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.
909
899
  /// @prop {Color} focus-background [transparent] - The focus background color of an outlined button.
910
- /// @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.
911
901
  /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of an outlined button.
912
- /// @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.
913
903
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an outlined button.
914
904
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an outlined button.
915
905
  /// @prop {Map} border-color [color: ('primary', 500)] - The border color of an outlined button.
916
906
  /// @prop {Map} hover-border-color [color: ('primary', 500)] - The hover border color of an outlined button.
917
- /// @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.
918
908
  /// @prop {Map} focus-visible-border-color [color: ('primary', 500)] - The focus-visible border color of an outlined button.
919
909
  /// @prop {Map} active-border-color [color: ('primary', 500)] - The active border color of an outlined button.
920
910
  /// @prop {Map} disabled-border-color [color: ('primary', 50), lighten: 35%] - The disabled focused border color of an outlined button.
921
911
  /// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
922
- /// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
923
912
  /// @requires {Map} $light-outlined-button
924
913
  /// @requires {Map} $bootstrap-base-button
925
914
  $bootstrap-outlined-button: extend(
@@ -951,6 +940,18 @@ $bootstrap-outlined-button: extend(
951
940
  500,
952
941
  ),
953
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
+ ),
954
955
  focus-visible-background: transparent,
955
956
  focus-visible-foreground: (
956
957
  color: (
@@ -1006,13 +1007,6 @@ $bootstrap-outlined-button: extend(
1006
1007
  50,
1007
1008
  ),
1008
1009
  ),
1009
- shadow-color: (
1010
- color: (
1011
- 'primary',
1012
- 200,
1013
- 0.5,
1014
- ),
1015
- ),
1016
1010
  disabled-background: transparent,
1017
1011
  )
1018
1012
  );
@@ -1022,13 +1016,12 @@ $bootstrap-outlined-button: extend(
1022
1016
  /// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of a contained button.
1023
1017
  /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of an contained button.
1024
1018
  /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an contained button.
1025
- /// @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.
1026
1020
  /// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of an contained button.
1027
1021
  /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of an contained button.
1028
1022
  /// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of an contained button.
1029
1023
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an contained button.
1030
1024
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an contained button.
1031
- /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a contained button.
1032
1025
  /// @requires {Map} $light-contained-button
1033
1026
  /// @requires {Map} $bootstrap-base-button
1034
1027
  $bootstrap-contained-button: extend(
@@ -1061,6 +1054,18 @@ $bootstrap-contained-button: extend(
1061
1054
  ),
1062
1055
  focus-background: (
1063
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: (
1064
1069
  'primary',
1065
1070
  600,
1066
1071
  ),
@@ -1074,7 +1079,7 @@ $bootstrap-contained-button: extend(
1074
1079
  focus-visible-background: (
1075
1080
  color: (
1076
1081
  'primary',
1077
- 600,
1082
+ 500,
1078
1083
  ),
1079
1084
  ),
1080
1085
  focus-visible-foreground: (
@@ -1095,25 +1100,10 @@ $bootstrap-contained-button: extend(
1095
1100
  700,
1096
1101
  ),
1097
1102
  ),
1098
- shadow-color: (
1099
- color: (
1100
- 'primary',
1101
- 200,
1102
- ),
1103
- ),
1104
1103
  )
1105
1104
  );
1106
1105
 
1107
1106
  /// @type {Map}
1108
- /// @prop {Map} background [color: ('primary', 500)] - The background color of a fab button.
1109
- /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of a fab button.
1110
- /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of a fab button.
1111
- /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of a fab button.
1112
- /// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of a fab button.
1113
- /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of a fab button.
1114
- /// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of a fab button.
1115
- /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of a fab button.
1116
- /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of a fab button.
1117
1107
  /// @prop {List} border-radius [(rem(15px), rem(12px), rem(28px))] - The border radius used for outlined button.
1118
1108
  /// @requires {Map} $light-fab-button
1119
1109
  /// @requires {Map} $bootstrap-base-button
@@ -1124,60 +1114,6 @@ $bootstrap-fab-button: extend(
1124
1114
  $bootstrap-contained-button,
1125
1115
  (
1126
1116
  selector: '[igxButton="fab"], .igx-button--fab',
1127
- background: (
1128
- color: (
1129
- 'primary',
1130
- 500,
1131
- ),
1132
- ),
1133
- hover-background: (
1134
- color: (
1135
- 'primary',
1136
- 600,
1137
- ),
1138
- ),
1139
- hover-foreground: (
1140
- contrast-color: (
1141
- 'primary',
1142
- 600,
1143
- ),
1144
- ),
1145
- focus-background: (
1146
- color: (
1147
- 'primary',
1148
- 600,
1149
- ),
1150
- ),
1151
- focus-foreground: (
1152
- contrast-color: (
1153
- 'primary',
1154
- 600,
1155
- ),
1156
- ),
1157
- focus-visible-background: (
1158
- color: (
1159
- 'primary',
1160
- 600,
1161
- ),
1162
- ),
1163
- focus-visible-foreground: (
1164
- contrast-color: (
1165
- 'primary',
1166
- 600,
1167
- ),
1168
- ),
1169
- active-background: (
1170
- color: (
1171
- 'primary',
1172
- 700,
1173
- ),
1174
- ),
1175
- active-foreground: (
1176
- contrast-color: (
1177
- 'primary',
1178
- 700,
1179
- ),
1180
- ),
1181
1117
  border-radius: (
1182
1118
  border-radius: (
1183
1119
  rem(15px),
@@ -1202,9 +1138,23 @@ $bootstrap-button: (
1202
1138
  );
1203
1139
 
1204
1140
  /// @type {Map}
1205
- /// @requires {Map} $light-base-button
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.
1143
+ /// @requires {Map} $material-base-button
1206
1144
  /// @requires {Map} $flat-elevation-button
1207
- $indigo-base-button: extend($light-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
+ );
1208
1158
 
1209
1159
  /// @type {Map}
1210
1160
  /// @prop {Map} foreground [color: ('gray', 700)] - The idle text color of a flat button.
@@ -1213,7 +1163,7 @@ $indigo-base-button: extend($light-base-button, $flat-elevation-button);
1213
1163
  /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
1214
1164
  /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of a flat button.
1215
1165
  /// @prop {Color} active-background [transparent] - The active background color of a flat button.
1216
- /// @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.
1217
1167
  /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a flat button.
1218
1168
  /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a flat button.
1219
1169
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
@@ -1299,7 +1249,7 @@ $indigo-flat-button: extend(
1299
1249
  /// @prop {Map} focus-visible-border-color [color: 'gray'] - The focus-visible border color of a outlined button.
1300
1250
  /// @prop {Map} active-border-color [color: 'gray'] - The active border color of a outlined button.
1301
1251
  /// @prop {Color} active-background [transparent] - The active background color of a outlined button.
1302
- /// @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.
1303
1253
  /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a outlined button.
1304
1254
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
1305
1255
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the outlined button.
@@ -1437,6 +1387,18 @@ $indigo-contained-button: extend(
1437
1387
  50,
1438
1388
  ),
1439
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
+ ),
1440
1402
  focus-visible-background: (
1441
1403
  color: (
1442
1404
  'secondary',
@@ -1479,10 +1441,6 @@ $indigo-contained-button: extend(
1479
1441
  );
1480
1442
 
1481
1443
  /// @type {Map}
1482
- /// @prop {Map} foreground [ color: ('gray', 50)] - The idle text color of a fab button.
1483
- /// @prop {Map} hover-foreground [ color: ('gray', 50)] - The hover text color of a fab button.
1484
- /// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a fab button.
1485
- /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a fab button.
1486
1444
  /// @prop {List} border-radius [(rem(36px), rem(42px), rem(48px))] - The border radius used for fab button.
1487
1445
  /// @prop {List} size [(rem(36px), rem(42px), rem(48px))] - The size used for the fab button.
1488
1446
  /// @requires {Map} $light-fab-button
@@ -1494,30 +1452,7 @@ $indigo-fab-button: extend(
1494
1452
  $indigo-contained-button,
1495
1453
  (
1496
1454
  selector: '[igxButton="fab"], .igx-button--fab',
1497
- foreground: (
1498
- color: (
1499
- 'gray',
1500
- 50,
1501
- ),
1502
- ),
1503
- hover-foreground: (
1504
- color: (
1505
- 'gray',
1506
- 50,
1507
- ),
1508
- ),
1509
- focus-foreground: (
1510
- color: (
1511
- 'gray',
1512
- 50,
1513
- ),
1514
- ),
1515
- focus-visible-foreground: (
1516
- color: (
1517
- 'gray',
1518
- 50,
1519
- ),
1520
- ),
1455
+
1521
1456
  border-radius: (
1522
1457
  border-radius: (
1523
1458
  rem(28px),