igniteui-theming 3.3.2 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sass/themes/schemas/components/dark/_button.scss +36 -123
- package/sass/themes/schemas/components/dark/_calendar.scss +1 -47
- package/sass/themes/schemas/components/dark/_icon-button.scss +16 -2
- package/sass/themes/schemas/components/dark/_index.scss +5 -0
- package/sass/themes/schemas/components/elevation/_button.scss +1 -13
- package/sass/themes/schemas/components/light/_button.scss +78 -481
- package/sass/themes/schemas/components/light/_calendar.scss +267 -90
- package/sass/themes/schemas/components/light/_icon-button.scss +288 -35
- package/sass/themes/schemas/components/light/_index.scss +5 -0
|
@@ -194,27 +194,27 @@ $material-outlined-button: extend(
|
|
|
194
194
|
);
|
|
195
195
|
|
|
196
196
|
/// @type {Map}
|
|
197
|
-
/// @prop {Map} background [color: ('secondary', 500)] - The background color of an
|
|
198
|
-
/// @prop {Map} foreground [contrast-color: ('secondary', 500)] - The idle text color of a
|
|
199
|
-
/// @prop {Map} hover-background [color: ('secondary', 300)] - The hover background of a
|
|
200
|
-
/// @prop {Map} hover-foreground [contrast-color: ('secondary', 300)] - The hover text color of a
|
|
201
|
-
/// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a
|
|
202
|
-
/// @prop {Map} focus-foreground [contrast-color: ('secondary', 300)] - The focus text color of a
|
|
203
|
-
/// @prop {Map} focus-visible-background [color: ('secondary', 300)] - The focus-visible background color of a
|
|
204
|
-
/// @prop {Map} focus-visible-foreground [contrast-color: ('secondary', 300)] - The focus-visible text color of a
|
|
205
|
-
/// @prop {Map} active-background [color: ('secondary', 300)] - The active background color of a
|
|
206
|
-
/// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a
|
|
197
|
+
/// @prop {Map} background [color: ('secondary', 500)] - The background color of an contained button.
|
|
198
|
+
/// @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.
|
|
202
|
+
/// @prop {Map} focus-foreground [contrast-color: ('secondary', 300)] - The focus text color of a contained button.
|
|
203
|
+
/// @prop {Map} focus-visible-background [color: ('secondary', 300)] - The focus-visible background color of a contained button.
|
|
204
|
+
/// @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
|
+
/// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a contained button.
|
|
207
207
|
/// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
|
|
208
208
|
/// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
|
|
209
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
|
|
210
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for contained button.
|
|
211
211
|
/// @requires {Map} $material-base-button
|
|
212
|
-
/// @requires {Map} $material-
|
|
213
|
-
$material-
|
|
212
|
+
/// @requires {Map} $material-contained-elevation
|
|
213
|
+
$material-contained-button: extend(
|
|
214
214
|
$material-base-button,
|
|
215
|
-
$material-
|
|
215
|
+
$material-contained-elevation,
|
|
216
216
|
(
|
|
217
|
-
selector: '[igxButton="
|
|
217
|
+
selector: '[igxButton="contained"], .igx-button--contained',
|
|
218
218
|
background: (
|
|
219
219
|
color: (
|
|
220
220
|
'secondary',
|
|
@@ -291,10 +291,10 @@ $material-raised-button: extend(
|
|
|
291
291
|
/// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
|
|
292
292
|
/// @prop {List} border-radius [(rem(28px), rem(12px), rem(28px))] - The border radius used for floating button.
|
|
293
293
|
/// @prop {List} size [(rem(32px), rem(40px), rem(48px))] - The size used for floating button.
|
|
294
|
-
/// @requires {Map} $material-
|
|
294
|
+
/// @requires {Map} $material-contained-button
|
|
295
295
|
/// @requires {Map} $material-fab-elevation
|
|
296
296
|
$material-fab-button: extend(
|
|
297
|
-
$material-
|
|
297
|
+
$material-contained-button,
|
|
298
298
|
$material-fab-elevation,
|
|
299
299
|
(
|
|
300
300
|
selector: '[igxButton="fab"], .igx-button--fab',
|
|
@@ -315,131 +315,17 @@ $material-fab-button: extend(
|
|
|
315
315
|
)
|
|
316
316
|
);
|
|
317
317
|
|
|
318
|
-
/// @type {Map}
|
|
319
|
-
/// @prop {Color} background [transparent] - The background color of the an icon button.
|
|
320
|
-
/// @prop {Map} foreground [color: ('gray', 900)] - The icon color of an icon button.
|
|
321
|
-
/// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of an icon button.
|
|
322
|
-
/// @prop {Color} hover-foreground [transparent] - The hover icon color of an icon button.
|
|
323
|
-
/// @prop {Map} focus-background [color: ('gray', 200] - The focus background color an icon button.
|
|
324
|
-
/// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus icon color of an icon button.
|
|
325
|
-
/// @prop {Map} focus-visible-background [color: ('gray', 200] - The focus-visible background color an icon button.
|
|
326
|
-
/// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible icon color of an icon button.
|
|
327
|
-
/// @prop {Map} active-background [color: ('gray', 200] - The active background color an icon button.
|
|
328
|
-
/// @prop {Map} active-foreground [color: ('gray', 900)] - The active icon color of an icon button.
|
|
329
|
-
/// @prop {Color} disabled-background [transparent] - The disabled background color an icon button.
|
|
330
|
-
/// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of the button.
|
|
331
|
-
/// @prop {Map} focus-visible-border-color [color: ('gray', 400)] - The focus-visible border color of the button.
|
|
332
|
-
/// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of the button.
|
|
333
|
-
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for floating button.
|
|
334
|
-
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for icon button.
|
|
335
|
-
/// @prop {Number} default-size [2] - The default size used for the icon button component.
|
|
336
|
-
/// @requires {Map} $material-base-button
|
|
337
|
-
/// @requires {Map} $material-ib-elevation
|
|
338
|
-
$material-icon-button: extend(
|
|
339
|
-
$material-base-button,
|
|
340
|
-
$material-ib-elevation,
|
|
341
|
-
(
|
|
342
|
-
selector: '[igxButton="icon"], .igx-button--icon',
|
|
343
|
-
background: transparent,
|
|
344
|
-
foreground: (
|
|
345
|
-
color: (
|
|
346
|
-
'gray',
|
|
347
|
-
900,
|
|
348
|
-
),
|
|
349
|
-
),
|
|
350
|
-
hover-background: transparent,
|
|
351
|
-
hover-foreground: (
|
|
352
|
-
color: (
|
|
353
|
-
'gray',
|
|
354
|
-
900,
|
|
355
|
-
),
|
|
356
|
-
),
|
|
357
|
-
focus-background: (
|
|
358
|
-
color: (
|
|
359
|
-
'gray',
|
|
360
|
-
200,
|
|
361
|
-
),
|
|
362
|
-
),
|
|
363
|
-
focus-foreground: (
|
|
364
|
-
color: (
|
|
365
|
-
'gray',
|
|
366
|
-
900,
|
|
367
|
-
),
|
|
368
|
-
),
|
|
369
|
-
focus-visible-background: (
|
|
370
|
-
color: (
|
|
371
|
-
'gray',
|
|
372
|
-
200,
|
|
373
|
-
),
|
|
374
|
-
),
|
|
375
|
-
focus-visible-foreground: (
|
|
376
|
-
color: (
|
|
377
|
-
'gray',
|
|
378
|
-
900,
|
|
379
|
-
),
|
|
380
|
-
),
|
|
381
|
-
active-background: (
|
|
382
|
-
color: (
|
|
383
|
-
'gray',
|
|
384
|
-
200,
|
|
385
|
-
),
|
|
386
|
-
),
|
|
387
|
-
active-foreground: (
|
|
388
|
-
color: (
|
|
389
|
-
'gray',
|
|
390
|
-
900,
|
|
391
|
-
),
|
|
392
|
-
),
|
|
393
|
-
disabled-background: transparent,
|
|
394
|
-
active-border-color: (
|
|
395
|
-
color: (
|
|
396
|
-
'gray',
|
|
397
|
-
400,
|
|
398
|
-
),
|
|
399
|
-
),
|
|
400
|
-
focus-border-color: (
|
|
401
|
-
color: (
|
|
402
|
-
'gray',
|
|
403
|
-
400,
|
|
404
|
-
),
|
|
405
|
-
),
|
|
406
|
-
focus-visible-border-color: (
|
|
407
|
-
color: (
|
|
408
|
-
'gray',
|
|
409
|
-
400,
|
|
410
|
-
),
|
|
411
|
-
),
|
|
412
|
-
border-radius: (
|
|
413
|
-
border-radius: (
|
|
414
|
-
rem(20px),
|
|
415
|
-
rem(0),
|
|
416
|
-
rem(20px),
|
|
417
|
-
),
|
|
418
|
-
),
|
|
419
|
-
size: (
|
|
420
|
-
sizable: (
|
|
421
|
-
rem(24px),
|
|
422
|
-
rem(30px),
|
|
423
|
-
rem(36px),
|
|
424
|
-
),
|
|
425
|
-
),
|
|
426
|
-
default-size: 2,
|
|
427
|
-
)
|
|
428
|
-
);
|
|
429
|
-
|
|
430
318
|
/// Generates a light material button schema.
|
|
431
319
|
/// @type {Map}
|
|
432
320
|
/// @requires {Map} $material-flat-button
|
|
433
321
|
/// @requires {Map} $material-outlined-button
|
|
434
|
-
/// @requires {Map} $material-
|
|
322
|
+
/// @requires {Map} $material-contained-button
|
|
435
323
|
/// @requires {Map} $material-fab-button
|
|
436
|
-
/// @requires {Map} $material-icon-button
|
|
437
324
|
$light-button: (
|
|
438
325
|
flat: $material-flat-button,
|
|
439
326
|
outlined: $material-outlined-button,
|
|
440
|
-
|
|
327
|
+
contained: $material-contained-button,
|
|
441
328
|
fab: $material-fab-button,
|
|
442
|
-
icon: $material-icon-button,
|
|
443
329
|
);
|
|
444
330
|
|
|
445
331
|
/// @type {Map}
|
|
@@ -665,29 +551,29 @@ $fluent-outlined-button: extend(
|
|
|
665
551
|
);
|
|
666
552
|
|
|
667
553
|
/// @type {Map}
|
|
668
|
-
/// @prop {Map} border-color [contrast-color: ('gray', 900)] - The border color of a
|
|
669
|
-
/// @prop {Map} hover-border-color [contrast-color: ('gray', 900)] - The hover border color of a
|
|
670
|
-
/// @prop {Map} focus-border-color [contrast-color: ('gray', 900)] - The focus border color of a
|
|
671
|
-
/// @prop {Map} focus-visible-border-color [contrast-color: ('gray', 900)] - The focus-visible border color of a
|
|
672
|
-
/// @prop {Map} active-border-color [contrast-color: ('gray', 900)] - The active border color of a
|
|
673
|
-
/// @prop {Map} background [color: ('primary', 500)] - The background color of an
|
|
674
|
-
/// @prop {Map} foreground [contrast-color: ('primary', 900] - The idle text color of a
|
|
675
|
-
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background of a
|
|
676
|
-
/// @prop {Map} hover-foreground [contrast-color: ('primary', 900)] - The hover text color of a
|
|
677
|
-
/// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of a
|
|
678
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary', 900)] - The focus text color of a
|
|
679
|
-
/// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of a
|
|
680
|
-
/// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 900)] - The focus-visible text color of a
|
|
681
|
-
/// @prop {Map} active-background [color: ('primary', 800)] - The active background color of a
|
|
682
|
-
/// @prop {Map} active-foreground [contrast-color: ('primary', 900)] - The active text color of a
|
|
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.
|
|
683
569
|
/// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
|
|
684
570
|
/// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
|
|
685
571
|
/// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
|
|
686
|
-
/// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for
|
|
687
|
-
/// @requires {Map} $material-
|
|
572
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for contained button.
|
|
573
|
+
/// @requires {Map} $material-contained-button
|
|
688
574
|
/// @requires {Map} $fluent-base-button
|
|
689
|
-
$fluent-
|
|
690
|
-
$material-
|
|
575
|
+
$fluent-contained-button: extend(
|
|
576
|
+
$material-contained-button,
|
|
691
577
|
$fluent-base-button,
|
|
692
578
|
(
|
|
693
579
|
border-color: (
|
|
@@ -801,10 +687,10 @@ $fluent-raised-button: extend(
|
|
|
801
687
|
/// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
|
|
802
688
|
/// @prop {List} border-radius [(rem(14px), rem(12px), rem(28px))] - The border radius used for fab button.
|
|
803
689
|
/// @requires {Map} $fluent-base-button
|
|
804
|
-
/// @requires {Map} $fluent-
|
|
690
|
+
/// @requires {Map} $fluent-contained-button
|
|
805
691
|
$fluent-fab-button: extend(
|
|
806
692
|
$fluent-base-button,
|
|
807
|
-
$fluent-
|
|
693
|
+
$fluent-contained-button,
|
|
808
694
|
(
|
|
809
695
|
selector: '[igxButton="fab"], .igx-button--fab',
|
|
810
696
|
border-color: (
|
|
@@ -847,124 +733,17 @@ $fluent-fab-button: extend(
|
|
|
847
733
|
)
|
|
848
734
|
);
|
|
849
735
|
|
|
850
|
-
/// @type {Map}
|
|
851
|
-
/// @prop {Color} border-color [transparent] - The border color of an icon button.
|
|
852
|
-
/// @prop {Map} hover-border-color [color: ('gray', 500)] - The hover border color of an icon button.
|
|
853
|
-
/// @prop {Map} focus-border-color [color: ('gray', 500)] - The focus border color of an icon button.
|
|
854
|
-
/// @prop {Map} focus-visible-border-color [color: ('gray', 500)] - The focus-visible border color of an icon button.
|
|
855
|
-
/// @prop {Map} active-border-color [color: ('gray', 500)] - The active border color of an icon button.
|
|
856
|
-
/// @prop {Map} hover-background [color: ('gray', 200)] - The hover background color of an icon button.
|
|
857
|
-
/// @prop {Map} hover-foreground [contrast-color: ('primary')] - The hover text color of a an icon button.
|
|
858
|
-
/// @prop {Color} focus-background [transparent] - The focus icon color of an icon button.
|
|
859
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary')] - The focus text color of an icon button.
|
|
860
|
-
/// @prop {Color} focus-visible-background [transparent] - The focus-visible icon color of an icon button.
|
|
861
|
-
/// @prop {Map} focus-visible-foreground [contrast-color: ('primary')] - The focus-visible text color of an icon button.
|
|
862
|
-
/// @prop {Map} active-background [color: ('gray', 300)] - The active background color of an icon button.
|
|
863
|
-
/// @prop {Map} active-foreground [contrast-color: ('primary')] - The active text color of an icon button.
|
|
864
|
-
/// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of an icon button.
|
|
865
|
-
/// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of an icon button.
|
|
866
|
-
/// @prop {Map} disabled-border-color [color: ('gray', 100), lighten: 35%] - The disabled focused border color of an icon button.
|
|
867
|
-
/// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for icon button.
|
|
868
|
-
/// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the icon button.
|
|
869
|
-
/// @requires {Map} $material-icon-button
|
|
870
|
-
/// @requires {Map} $fluent-base-button
|
|
871
|
-
$fluent-icon-button: extend(
|
|
872
|
-
$material-icon-button,
|
|
873
|
-
$fluent-base-button,
|
|
874
|
-
(
|
|
875
|
-
foreground: (
|
|
876
|
-
color: (
|
|
877
|
-
'primary',
|
|
878
|
-
),
|
|
879
|
-
),
|
|
880
|
-
focus-visible-border-color: (
|
|
881
|
-
color: (
|
|
882
|
-
'gray',
|
|
883
|
-
500,
|
|
884
|
-
),
|
|
885
|
-
),
|
|
886
|
-
hover-background: (
|
|
887
|
-
color: (
|
|
888
|
-
'gray',
|
|
889
|
-
200,
|
|
890
|
-
),
|
|
891
|
-
),
|
|
892
|
-
hover-foreground: (
|
|
893
|
-
color: (
|
|
894
|
-
'primary',
|
|
895
|
-
),
|
|
896
|
-
),
|
|
897
|
-
focus-background: transparent,
|
|
898
|
-
focus-foreground: (
|
|
899
|
-
color: (
|
|
900
|
-
'primary',
|
|
901
|
-
),
|
|
902
|
-
),
|
|
903
|
-
focus-visible-background: transparent,
|
|
904
|
-
focus-visible-foreground: (
|
|
905
|
-
color: (
|
|
906
|
-
'primary',
|
|
907
|
-
),
|
|
908
|
-
),
|
|
909
|
-
active-background: (
|
|
910
|
-
color: (
|
|
911
|
-
'gray',
|
|
912
|
-
300,
|
|
913
|
-
),
|
|
914
|
-
),
|
|
915
|
-
active-foreground: (
|
|
916
|
-
color: (
|
|
917
|
-
'primary',
|
|
918
|
-
),
|
|
919
|
-
),
|
|
920
|
-
disabled-background: (
|
|
921
|
-
color: (
|
|
922
|
-
'gray',
|
|
923
|
-
100,
|
|
924
|
-
),
|
|
925
|
-
),
|
|
926
|
-
disabled-foreground: (
|
|
927
|
-
color: (
|
|
928
|
-
'gray',
|
|
929
|
-
400,
|
|
930
|
-
),
|
|
931
|
-
),
|
|
932
|
-
disabled-border-color: (
|
|
933
|
-
color: (
|
|
934
|
-
'gray',
|
|
935
|
-
100,
|
|
936
|
-
),
|
|
937
|
-
),
|
|
938
|
-
border-radius: (
|
|
939
|
-
border-radius: (
|
|
940
|
-
rem(0),
|
|
941
|
-
rem(0),
|
|
942
|
-
rem(20px),
|
|
943
|
-
),
|
|
944
|
-
),
|
|
945
|
-
size: (
|
|
946
|
-
sizable: (
|
|
947
|
-
rem(24px),
|
|
948
|
-
rem(32px),
|
|
949
|
-
rem(38px),
|
|
950
|
-
),
|
|
951
|
-
),
|
|
952
|
-
)
|
|
953
|
-
);
|
|
954
|
-
|
|
955
736
|
/// Generates a light fluent button schema.
|
|
956
737
|
/// @type {Map}
|
|
957
738
|
/// @requires {Map} $fluent-flat-button
|
|
958
739
|
/// @requires {Map} $fluent-outlined-button
|
|
959
|
-
/// @requires {Map} $fluent-
|
|
740
|
+
/// @requires {Map} $fluent-contained-button
|
|
960
741
|
/// @requires {Map} $fluent-fab-button
|
|
961
|
-
/// @requires {Map} $fluent-icon-button
|
|
962
742
|
$fluent-button: (
|
|
963
743
|
flat: $fluent-flat-button,
|
|
964
744
|
outlined: $fluent-outlined-button,
|
|
965
|
-
|
|
745
|
+
contained: $fluent-contained-button,
|
|
966
746
|
fab: $fluent-fab-button,
|
|
967
|
-
icon: $fluent-icon-button,
|
|
968
747
|
);
|
|
969
748
|
|
|
970
749
|
/// @type {Map}
|
|
@@ -1179,21 +958,21 @@ $bootstrap-outlined-button: extend(
|
|
|
1179
958
|
);
|
|
1180
959
|
|
|
1181
960
|
/// @type {Map}
|
|
1182
|
-
/// @prop {Map} background [color: ('primary', 500)] - The background color of a
|
|
1183
|
-
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of a
|
|
1184
|
-
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of an
|
|
1185
|
-
/// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an
|
|
1186
|
-
/// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of an
|
|
1187
|
-
/// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of an
|
|
1188
|
-
/// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of an
|
|
1189
|
-
/// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of an
|
|
1190
|
-
/// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an
|
|
1191
|
-
/// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an
|
|
1192
|
-
/// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a
|
|
1193
|
-
/// @requires {Map} $material-
|
|
961
|
+
/// @prop {Map} background [color: ('primary', 500)] - The background color of a contained button.
|
|
962
|
+
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of a contained button.
|
|
963
|
+
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of an contained button.
|
|
964
|
+
/// @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.
|
|
966
|
+
/// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of an contained button.
|
|
967
|
+
/// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of an contained button.
|
|
968
|
+
/// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of an contained button.
|
|
969
|
+
/// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an contained button.
|
|
970
|
+
/// @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
|
|
1194
973
|
/// @requires {Map} $bootstrap-base-button
|
|
1195
|
-
$bootstrap-
|
|
1196
|
-
$material-
|
|
974
|
+
$bootstrap-contained-button: extend(
|
|
975
|
+
$material-contained-button,
|
|
1197
976
|
$bootstrap-base-button,
|
|
1198
977
|
(
|
|
1199
978
|
background: (
|
|
@@ -1278,11 +1057,11 @@ $bootstrap-raised-button: extend(
|
|
|
1278
1057
|
/// @prop {List} border-radius [(rem(15px), rem(12px), rem(28px))] - The border radius used for outlined button.
|
|
1279
1058
|
/// @requires {Map} $material-fab-button
|
|
1280
1059
|
/// @requires {Map} $bootstrap-base-button
|
|
1281
|
-
/// @requires {Map} $bootstrap-
|
|
1060
|
+
/// @requires {Map} $bootstrap-contained-button
|
|
1282
1061
|
$bootstrap-fab-button: extend(
|
|
1283
1062
|
$material-fab-button,
|
|
1284
1063
|
$bootstrap-base-button,
|
|
1285
|
-
$bootstrap-
|
|
1064
|
+
$bootstrap-contained-button,
|
|
1286
1065
|
(
|
|
1287
1066
|
selector: '[igxButton="fab"], .igx-button--fab',
|
|
1288
1067
|
background: (
|
|
@@ -1349,114 +1128,17 @@ $bootstrap-fab-button: extend(
|
|
|
1349
1128
|
)
|
|
1350
1129
|
);
|
|
1351
1130
|
|
|
1352
|
-
/// @type {Map}
|
|
1353
|
-
/// @prop {Color} background [transparent] - The background color of a fab button.
|
|
1354
|
-
/// @prop {Color} foreground [color: ('primary', 500)] - The background color of a fab button.
|
|
1355
|
-
/// @prop {Color} hover-background [transparent] - The hover background color of an icon button.
|
|
1356
|
-
/// @prop {Map} hover-foreground [color: ('primary', 600)] - The hover text color of an icon button.
|
|
1357
|
-
/// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of an icon button.
|
|
1358
|
-
/// @prop {Map} focus-foreground [color: ('primary', 600)] - The focus text color of an icon button.
|
|
1359
|
-
/// @prop {Map} focus-visible-background [color: ('gray', 100)] - The focus-visible background color of an icon button.
|
|
1360
|
-
/// @prop {Map} focus-visible-foreground [color: ('primary', 600)] - The focus-visible text color of an icon button.
|
|
1361
|
-
/// @prop {Map} active-background [color: ('gray', 100)] - The active background color of an icon button.
|
|
1362
|
-
/// @prop {Map} active-foreground [color: ('primary', 600)] - The active text color of an icon button.
|
|
1363
|
-
/// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
|
|
1364
|
-
/// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the button.
|
|
1365
|
-
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for outlined button.
|
|
1366
|
-
/// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the icon button.
|
|
1367
|
-
/// @requires {Map} $material-icon-button
|
|
1368
|
-
/// @requires {Map} $bootstrap-base-button
|
|
1369
|
-
$bootstrap-icon-button: extend(
|
|
1370
|
-
$bootstrap-base-button,
|
|
1371
|
-
(
|
|
1372
|
-
selector: '[igxButton="icon"], .igx-button--icon',
|
|
1373
|
-
background: transparent,
|
|
1374
|
-
foreground: (
|
|
1375
|
-
color: (
|
|
1376
|
-
'primary',
|
|
1377
|
-
500,
|
|
1378
|
-
),
|
|
1379
|
-
),
|
|
1380
|
-
hover-background: transparent,
|
|
1381
|
-
hover-foreground: (
|
|
1382
|
-
color: (
|
|
1383
|
-
'primary',
|
|
1384
|
-
600,
|
|
1385
|
-
),
|
|
1386
|
-
),
|
|
1387
|
-
focus-background: (
|
|
1388
|
-
color: (
|
|
1389
|
-
'gray',
|
|
1390
|
-
100,
|
|
1391
|
-
),
|
|
1392
|
-
),
|
|
1393
|
-
focus-foreground: (
|
|
1394
|
-
color: (
|
|
1395
|
-
'primary',
|
|
1396
|
-
600,
|
|
1397
|
-
),
|
|
1398
|
-
),
|
|
1399
|
-
focus-visible-background: (
|
|
1400
|
-
color: (
|
|
1401
|
-
'gray',
|
|
1402
|
-
100,
|
|
1403
|
-
),
|
|
1404
|
-
),
|
|
1405
|
-
focus-visible-foreground: (
|
|
1406
|
-
color: (
|
|
1407
|
-
'primary',
|
|
1408
|
-
600,
|
|
1409
|
-
),
|
|
1410
|
-
),
|
|
1411
|
-
active-background: (
|
|
1412
|
-
color: (
|
|
1413
|
-
'gray',
|
|
1414
|
-
100,
|
|
1415
|
-
),
|
|
1416
|
-
),
|
|
1417
|
-
active-foreground: (
|
|
1418
|
-
color: (
|
|
1419
|
-
'primary',
|
|
1420
|
-
600,
|
|
1421
|
-
),
|
|
1422
|
-
),
|
|
1423
|
-
disabled-background: transparent,
|
|
1424
|
-
disabled-foreground: (
|
|
1425
|
-
color: (
|
|
1426
|
-
'primary',
|
|
1427
|
-
100,
|
|
1428
|
-
),
|
|
1429
|
-
),
|
|
1430
|
-
border-radius: (
|
|
1431
|
-
border-radius: (
|
|
1432
|
-
rem(4px),
|
|
1433
|
-
rem(0),
|
|
1434
|
-
rem(20px),
|
|
1435
|
-
),
|
|
1436
|
-
),
|
|
1437
|
-
size: (
|
|
1438
|
-
sizable: (
|
|
1439
|
-
rem(31px),
|
|
1440
|
-
rem(38px),
|
|
1441
|
-
rem(48px),
|
|
1442
|
-
),
|
|
1443
|
-
),
|
|
1444
|
-
)
|
|
1445
|
-
);
|
|
1446
|
-
|
|
1447
1131
|
/// Generates a light bootstrap button schema.
|
|
1448
1132
|
/// @type {Map}
|
|
1449
1133
|
/// @requires {Map} $bootstrap-flat-button
|
|
1450
1134
|
/// @requires {Map} $bootstrap-outlined-button
|
|
1451
|
-
/// @requires {Map} $bootstrap-
|
|
1135
|
+
/// @requires {Map} $bootstrap-contained-button
|
|
1452
1136
|
/// @requires {Map} $bootstrap-fab-button
|
|
1453
|
-
/// @requires {Map} $bootstrap-icon-button
|
|
1454
1137
|
$bootstrap-button: (
|
|
1455
1138
|
flat: $bootstrap-flat-button,
|
|
1456
1139
|
outlined: $bootstrap-outlined-button,
|
|
1457
|
-
|
|
1140
|
+
contained: $bootstrap-contained-button,
|
|
1458
1141
|
fab: $bootstrap-fab-button,
|
|
1459
|
-
icon: $bootstrap-icon-button,
|
|
1460
1142
|
);
|
|
1461
1143
|
|
|
1462
1144
|
/// @type {Map}
|
|
@@ -1648,21 +1330,21 @@ $indigo-outlined-button: extend(
|
|
|
1648
1330
|
);
|
|
1649
1331
|
|
|
1650
1332
|
/// @type {Map}
|
|
1651
|
-
/// @prop {Map} foreground [color: ('gray', 50)] - The idle text color of a
|
|
1652
|
-
/// @prop {Map} hover-background [color: ('primary', 400)] - The hover background color of a
|
|
1653
|
-
/// @prop {Map} hover-foreground [ color: ('gray', 50)] - The hover text color of a
|
|
1654
|
-
/// @prop {Map} focus-background [color: ('primary', 400)] - The focus background color of a
|
|
1655
|
-
/// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a
|
|
1656
|
-
/// @prop {Map} focus-visible-background [color: ('primary', 400)] - The focus-visible background color of a
|
|
1657
|
-
/// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a
|
|
1658
|
-
/// @prop {Map} active-background [color: ('gray', 50)] - The active background color of a
|
|
1659
|
-
/// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a
|
|
1660
|
-
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the
|
|
1661
|
-
/// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the
|
|
1662
|
-
/// @requires {Map} $material-
|
|
1333
|
+
/// @prop {Map} foreground [color: ('gray', 50)] - The idle text color of a contained button.
|
|
1334
|
+
/// @prop {Map} hover-background [color: ('primary', 400)] - The hover background color of a contained button.
|
|
1335
|
+
/// @prop {Map} hover-foreground [ color: ('gray', 50)] - The hover text color of a contained button.
|
|
1336
|
+
/// @prop {Map} focus-background [color: ('primary', 400)] - The focus background color of a contained button.
|
|
1337
|
+
/// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a contained button.
|
|
1338
|
+
/// @prop {Map} focus-visible-background [color: ('primary', 400)] - The focus-visible background color of a contained button.
|
|
1339
|
+
/// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a contained button.
|
|
1340
|
+
/// @prop {Map} active-background [color: ('gray', 50)] - The active background color of a contained button.
|
|
1341
|
+
/// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a contained button.
|
|
1342
|
+
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the contained button.
|
|
1343
|
+
/// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the contained button.
|
|
1344
|
+
/// @requires {Map} $material-contained-button
|
|
1663
1345
|
/// @requires {Map} $indigo-base-button
|
|
1664
|
-
$indigo-
|
|
1665
|
-
$material-
|
|
1346
|
+
$indigo-contained-button: extend(
|
|
1347
|
+
$material-contained-button,
|
|
1666
1348
|
$indigo-base-button,
|
|
1667
1349
|
(
|
|
1668
1350
|
foreground: (
|
|
@@ -1745,11 +1427,11 @@ $indigo-raised-button: extend(
|
|
|
1745
1427
|
/// @prop {List} size [(rem(36px), rem(42px), rem(48px))] - The size used for the fab button.
|
|
1746
1428
|
/// @requires {Map} $material-fab-button
|
|
1747
1429
|
/// @requires {Map} $indigo-base-button
|
|
1748
|
-
/// @requires {Map} $indigo-
|
|
1430
|
+
/// @requires {Map} $indigo-contained-button
|
|
1749
1431
|
$indigo-fab-button: extend(
|
|
1750
1432
|
$material-fab-button,
|
|
1751
1433
|
$indigo-base-button,
|
|
1752
|
-
$indigo-
|
|
1434
|
+
$indigo-contained-button,
|
|
1753
1435
|
(
|
|
1754
1436
|
selector: '[igxButton="fab"], .igx-button--fab',
|
|
1755
1437
|
foreground: (
|
|
@@ -1793,100 +1475,15 @@ $indigo-fab-button: extend(
|
|
|
1793
1475
|
)
|
|
1794
1476
|
);
|
|
1795
1477
|
|
|
1796
|
-
/// @type {Map}
|
|
1797
|
-
/// @prop {Map} foreground [ color: ('gray', 700)] - The idle text color of a fab button.
|
|
1798
|
-
/// @prop {Color} hover-background [transparent] - The hover background color of a icon button.
|
|
1799
|
-
/// @prop {Map} hover-foreground [ color: ('gray', 900)] - The hover text color of a raised button.
|
|
1800
|
-
/// @prop {Color} focus-background [transparent] - The focus background color of a icon button.
|
|
1801
|
-
/// @prop {Map} focus-foreground [ color: ('gray', 900)] - The focus text color of a fab button.
|
|
1802
|
-
/// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a icon button.
|
|
1803
|
-
/// @prop {Map} focus-visible-foreground [ color: ('gray', 900)] - The focus-visible text color of a fab button.
|
|
1804
|
-
/// @prop {Color} active-background [transparent] - The active background color of a flat button.
|
|
1805
|
-
/// @prop {Color} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
|
|
1806
|
-
/// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
|
|
1807
|
-
/// @prop {Map} focus-border-color [color: ('gray' 300)] - The focus border color of the button.
|
|
1808
|
-
/// @prop {Map} focus-visible-border-color [color: ('gray' 300)] - The focus-visible border color of the button.
|
|
1809
|
-
/// @prop {Map} active-border-color [color: ('gray' 300)] - The active border color of the button.
|
|
1810
|
-
/// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the icon button.
|
|
1811
|
-
/// @prop {Number} default-size [2] - The default size used for the icon button component.
|
|
1812
|
-
/// @requires {Map} $material-icon-button
|
|
1813
|
-
/// @requires {Map} $indigo-base-button
|
|
1814
|
-
$indigo-icon-button: extend(
|
|
1815
|
-
$material-icon-button,
|
|
1816
|
-
$indigo-base-button,
|
|
1817
|
-
(
|
|
1818
|
-
foreground: (
|
|
1819
|
-
color: (
|
|
1820
|
-
'gray',
|
|
1821
|
-
700,
|
|
1822
|
-
),
|
|
1823
|
-
),
|
|
1824
|
-
hover-background: transparent,
|
|
1825
|
-
hover-foreground: (
|
|
1826
|
-
color: (
|
|
1827
|
-
'gray',
|
|
1828
|
-
900,
|
|
1829
|
-
),
|
|
1830
|
-
),
|
|
1831
|
-
focus-background: transparent,
|
|
1832
|
-
focus-foreground: (
|
|
1833
|
-
color: (
|
|
1834
|
-
'gray',
|
|
1835
|
-
900,
|
|
1836
|
-
),
|
|
1837
|
-
),
|
|
1838
|
-
focus-visible-background: transparent,
|
|
1839
|
-
focus-visible-foreground: (
|
|
1840
|
-
color: (
|
|
1841
|
-
'gray',
|
|
1842
|
-
900,
|
|
1843
|
-
),
|
|
1844
|
-
),
|
|
1845
|
-
active-background: transparent,
|
|
1846
|
-
active-foreground: (
|
|
1847
|
-
color: (
|
|
1848
|
-
'gray',
|
|
1849
|
-
900,
|
|
1850
|
-
),
|
|
1851
|
-
),
|
|
1852
|
-
disabled-background: transparent,
|
|
1853
|
-
focus-border-color: (
|
|
1854
|
-
color: (
|
|
1855
|
-
'gray' 300,
|
|
1856
|
-
),
|
|
1857
|
-
),
|
|
1858
|
-
focus-visible-border-color: (
|
|
1859
|
-
color: (
|
|
1860
|
-
'gray' 300,
|
|
1861
|
-
),
|
|
1862
|
-
),
|
|
1863
|
-
active-border-color: (
|
|
1864
|
-
color: (
|
|
1865
|
-
'gray' 300,
|
|
1866
|
-
),
|
|
1867
|
-
),
|
|
1868
|
-
size: (
|
|
1869
|
-
sizable: (
|
|
1870
|
-
rem(28px),
|
|
1871
|
-
rem(32px),
|
|
1872
|
-
rem(36px),
|
|
1873
|
-
),
|
|
1874
|
-
),
|
|
1875
|
-
default-size: 2,
|
|
1876
|
-
)
|
|
1877
|
-
);
|
|
1878
|
-
|
|
1879
1478
|
/// Generates a light indigo button schema.
|
|
1880
1479
|
/// @type {Map}
|
|
1881
1480
|
/// @requires {Map} $indigo-flat-button
|
|
1882
1481
|
/// @requires {Map} $indigo-outlined-button
|
|
1883
|
-
/// @requires {Map} $indigo-
|
|
1482
|
+
/// @requires {Map} $indigo-contained-button
|
|
1884
1483
|
/// @requires {Map} $indigo-fab-button
|
|
1885
|
-
/// @requires {Map} $indigo-icon-button
|
|
1886
1484
|
$indigo-button: (
|
|
1887
1485
|
flat: $indigo-flat-button,
|
|
1888
1486
|
outlined: $indigo-outlined-button,
|
|
1889
|
-
|
|
1487
|
+
contained: $indigo-contained-button,
|
|
1890
1488
|
fab: $indigo-fab-button,
|
|
1891
|
-
icon: $indigo-icon-button,
|
|
1892
1489
|
);
|