igniteui-theming 5.0.0-beta.3 → 5.0.0-beta.5
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/_banner.scss +23 -4
- package/sass/themes/schemas/components/dark/_button.scss +43 -1
- package/sass/themes/schemas/components/elevation/_snackbar.scss +7 -1
- package/sass/themes/schemas/components/light/_banner.scss +36 -24
- package/sass/themes/schemas/components/light/_button.scss +114 -9
- package/sass/themes/schemas/components/light/_snackbar.scss +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.5",
|
|
4
4
|
"description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,9 +19,9 @@ $dark-fluent-banner: $fluent-banner;
|
|
|
19
19
|
|
|
20
20
|
/// Generates a dark bootstrap banner schema.
|
|
21
21
|
/// @type {Map}
|
|
22
|
-
/// @prop {Map} banner-background [color: ('surface')] - The
|
|
23
|
-
/// @prop {Map} banner-message-color [color: ('gray', 600)] - The color used for banner label.
|
|
24
|
-
/// @prop {Map} banner-illustration-color [color: ('gray', 600)] - The color used banner illustration.
|
|
22
|
+
/// @prop {Map} banner-background [color: ('surface')] - The color used for the banner background.
|
|
23
|
+
/// @prop {Map} banner-message-color [color: ('gray', 600)] - The color used for the banner label.
|
|
24
|
+
/// @prop {Map} banner-illustration-color [color: ('gray', 600)] - The color used for the banner illustration.
|
|
25
25
|
/// @requires $bootstrap-banner
|
|
26
26
|
$dark-bootstrap-banner: extend(
|
|
27
27
|
$bootstrap-banner,
|
|
@@ -50,5 +50,24 @@ $dark-bootstrap-banner: extend(
|
|
|
50
50
|
|
|
51
51
|
/// Generates a dark indigo banner schema.
|
|
52
52
|
/// @type {Map}
|
|
53
|
+
/// @prop {Map} banner-background [color: ('gray', 50)] - The color used for the banner background.
|
|
54
|
+
/// @prop {Map} banner-border-color [color: ('gray', 100)] - The color used for the banner border.
|
|
53
55
|
/// @requires $indigo-banner
|
|
54
|
-
$dark-indigo-banner:
|
|
56
|
+
$dark-indigo-banner: extend(
|
|
57
|
+
$indigo-banner,
|
|
58
|
+
(
|
|
59
|
+
banner-background: (
|
|
60
|
+
color: (
|
|
61
|
+
'gray',
|
|
62
|
+
50,
|
|
63
|
+
),
|
|
64
|
+
),
|
|
65
|
+
|
|
66
|
+
banner-border-color: (
|
|
67
|
+
color: (
|
|
68
|
+
'gray',
|
|
69
|
+
100,
|
|
70
|
+
),
|
|
71
|
+
),
|
|
72
|
+
)
|
|
73
|
+
);
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
/// @type {Map}
|
|
13
13
|
/// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
|
|
14
|
-
/// @prop {
|
|
14
|
+
/// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
|
|
15
|
+
/// @prop {Map} disabled-icon-color [color: ('gray', 500)] - The disabled icon color of the button.
|
|
15
16
|
$material-base-button-dark: (
|
|
16
17
|
disabled-background: (
|
|
17
18
|
color: (
|
|
@@ -25,6 +26,12 @@ $material-base-button-dark: (
|
|
|
25
26
|
500,
|
|
26
27
|
),
|
|
27
28
|
),
|
|
29
|
+
disabled-icon-color: (
|
|
30
|
+
color: (
|
|
31
|
+
'gray',
|
|
32
|
+
500,
|
|
33
|
+
),
|
|
34
|
+
),
|
|
28
35
|
);
|
|
29
36
|
|
|
30
37
|
/// @type {Map}
|
|
@@ -84,6 +91,7 @@ $dark-material-button: (
|
|
|
84
91
|
/// @prop {Map} focus-hover-background [color: ('gray', 50)] - The background color on focus hovered state of the button.
|
|
85
92
|
/// @prop {Map} disabled-background [color: ('gray', 50)] - The disabled background color of the button.
|
|
86
93
|
/// @prop {Map} disabled-foreground [color: ('gray', 200)] - The disabled foreground color of the button.
|
|
94
|
+
/// @prop {Map} disabled-icon-color [color: ('gray', 200)] - The disabled icon color of the button.
|
|
87
95
|
$fluent-base-button-dark: (
|
|
88
96
|
focus-visible-border-color: (
|
|
89
97
|
color: (
|
|
@@ -115,6 +123,12 @@ $fluent-base-button-dark: (
|
|
|
115
123
|
200,
|
|
116
124
|
),
|
|
117
125
|
),
|
|
126
|
+
disabled-icon-color: (
|
|
127
|
+
color: (
|
|
128
|
+
'gray',
|
|
129
|
+
200,
|
|
130
|
+
),
|
|
131
|
+
),
|
|
118
132
|
);
|
|
119
133
|
|
|
120
134
|
/// @type {Map}
|
|
@@ -184,6 +198,8 @@ $fluent-outlined-button-dark: extend(
|
|
|
184
198
|
/// @type {Map}
|
|
185
199
|
/// @prop {Map} background [color: ('primary', 300)] - The background color of an contained button.
|
|
186
200
|
/// @prop {Map} foreground [contrast-color: ('primary', 300)] - The idle text color of a contained button.
|
|
201
|
+
/// @prop {Map} icon-color [contrast-color: ('primary', 300)] - The idle icon color of the button.
|
|
202
|
+
/// @prop {Map} icon-color-hover [contrast-color: ('primary', 300)] - The hover icon color of the button.
|
|
187
203
|
/// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 300)] - The focus-visible border color of a contained button.
|
|
188
204
|
/// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
|
|
189
205
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of a contained button.
|
|
@@ -213,6 +229,18 @@ $fluent-contained-button-dark: extend(
|
|
|
213
229
|
300,
|
|
214
230
|
),
|
|
215
231
|
),
|
|
232
|
+
icon-color: (
|
|
233
|
+
contrast-color: (
|
|
234
|
+
'primary',
|
|
235
|
+
300,
|
|
236
|
+
),
|
|
237
|
+
),
|
|
238
|
+
icon-color-hover: (
|
|
239
|
+
contrast-color: (
|
|
240
|
+
'primary',
|
|
241
|
+
300,
|
|
242
|
+
),
|
|
243
|
+
),
|
|
216
244
|
hover-background: (
|
|
217
245
|
color: (
|
|
218
246
|
'primary',
|
|
@@ -285,6 +313,8 @@ $fluent-contained-button-dark: extend(
|
|
|
285
313
|
/// @type {Map}
|
|
286
314
|
/// @prop {Map} background [color: ('primary', 300)] - The background color of an contained button.
|
|
287
315
|
/// @prop {Map} foreground [contrast-color: ('primary', 300)] - The idle text color of a contained button.
|
|
316
|
+
/// @prop {Map} icon-color [contrast-color: ('primary', 300)] - The idle icon color of the button.
|
|
317
|
+
/// @prop {Map} icon-color-hover [contrast-color: ('primary', 300)] - The hover icon color of the button.
|
|
288
318
|
/// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 300)] - The focus-visible border color of a contained button.
|
|
289
319
|
/// @prop {Map} active-border-color [color: ('primary', 200)] - The active border color of a contained button.
|
|
290
320
|
/// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
|
|
@@ -315,6 +345,18 @@ $fluent-fab-button-dark: extend(
|
|
|
315
345
|
300,
|
|
316
346
|
),
|
|
317
347
|
),
|
|
348
|
+
icon-color: (
|
|
349
|
+
contrast-color: (
|
|
350
|
+
'primary',
|
|
351
|
+
300,
|
|
352
|
+
),
|
|
353
|
+
),
|
|
354
|
+
icon-color-hover: (
|
|
355
|
+
contrast-color: (
|
|
356
|
+
'primary',
|
|
357
|
+
300,
|
|
358
|
+
),
|
|
359
|
+
),
|
|
318
360
|
hover-background: (
|
|
319
361
|
color: (
|
|
320
362
|
'primary',
|
|
@@ -11,7 +11,13 @@ $default-elevation-snackbar: (
|
|
|
11
11
|
);
|
|
12
12
|
|
|
13
13
|
/// @type Map
|
|
14
|
-
/// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used in the snackbar.
|
|
14
|
+
/// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used in the bootstrap snackbar.
|
|
15
15
|
$bootstrap-elevation-snackbar: (
|
|
16
16
|
elevation: 10,
|
|
17
17
|
);
|
|
18
|
+
|
|
19
|
+
/// @type Map
|
|
20
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used in the indigo snackbar.
|
|
21
|
+
$indigo-elevation-snackbar: (
|
|
22
|
+
elevation: 0,
|
|
23
|
+
);
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
/// Generates a light banner schema.
|
|
11
11
|
/// @type {Map}
|
|
12
|
-
/// @prop {Map} banner-background [color: 'surface']- The
|
|
13
|
-
/// @prop {Map} banner-message-color [contrast-color: 'surface']- The color used for banner label.
|
|
14
|
-
/// @prop {Map} banner-border-color [color: ('gray', 400)] - The
|
|
15
|
-
/// @prop {Map} banner-illustration-color [contrast-color: 'surface'] - The color used banner illustration.
|
|
12
|
+
/// @prop {Map} banner-background [color: 'surface'] - The color used for the banner background.
|
|
13
|
+
/// @prop {Map} banner-message-color [contrast-color: 'surface'] - The color used for the banner label.
|
|
14
|
+
/// @prop {Map} banner-border-color [color: ('gray', 400)] - The color used for the banner border.
|
|
15
|
+
/// @prop {Map} banner-illustration-color [contrast-color: 'surface'] - The color used for the banner illustration.
|
|
16
16
|
$light-banner: (
|
|
17
17
|
banner-background: (
|
|
18
18
|
color: 'surface',
|
|
@@ -46,9 +46,9 @@ $fluent-banner: $light-banner;
|
|
|
46
46
|
|
|
47
47
|
/// Generates a bootstrap banner schema.
|
|
48
48
|
/// @type {Map}
|
|
49
|
-
/// @prop {Map} banner-background [contrast-color: ('gray', 900)] - The
|
|
50
|
-
/// @prop {Map} banner-message-color [color: ('gray', 800)] - The color used for banner label.
|
|
51
|
-
/// @prop {Map} banner-illustration-color [color: ('gray', 800)] - The color used banner illustration.
|
|
49
|
+
/// @prop {Map} banner-background [contrast-color: ('gray', 900)] - The color used for the banner background.
|
|
50
|
+
/// @prop {Map} banner-message-color [color: ('gray', 800)] - The color used for the banner label.
|
|
51
|
+
/// @prop {Map} banner-illustration-color [color: ('gray', 800)] - The color used for the banner illustration.
|
|
52
52
|
/// @requires {Map} $light-banner
|
|
53
53
|
$bootstrap-banner: extend(
|
|
54
54
|
$light-banner,
|
|
@@ -78,24 +78,36 @@ $bootstrap-banner: extend(
|
|
|
78
78
|
|
|
79
79
|
/// Generates an indigo banner schema.
|
|
80
80
|
/// @type {Map}
|
|
81
|
-
/// @prop {Map} banner-
|
|
82
|
-
/// @prop {Map} banner-
|
|
83
|
-
/// @
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
900,
|
|
91
|
-
),
|
|
81
|
+
/// @prop {Map} banner-background [color: ('gray', 200)] - The color used for the banner background.
|
|
82
|
+
/// @prop {Map} banner-message-color [color: ('gray', 700)] - The color used for the banner label.
|
|
83
|
+
/// @prop {Map} banner-border-color [color: ('gray', 300)] - The color used for the banner border.
|
|
84
|
+
/// @prop {Map} banner-illustration-color [color: ('gray', 600)] - The color used for the banner illustration.
|
|
85
|
+
$indigo-banner: (
|
|
86
|
+
banner-background: (
|
|
87
|
+
color: (
|
|
88
|
+
'gray',
|
|
89
|
+
200,
|
|
92
90
|
),
|
|
91
|
+
),
|
|
93
92
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
),
|
|
93
|
+
banner-border-color: (
|
|
94
|
+
color: (
|
|
95
|
+
'gray',
|
|
96
|
+
300,
|
|
99
97
|
),
|
|
100
|
-
)
|
|
98
|
+
),
|
|
99
|
+
|
|
100
|
+
banner-message-color: (
|
|
101
|
+
color: (
|
|
102
|
+
'gray',
|
|
103
|
+
700,
|
|
104
|
+
),
|
|
105
|
+
),
|
|
106
|
+
|
|
107
|
+
banner-illustration-color: (
|
|
108
|
+
color: (
|
|
109
|
+
'gray',
|
|
110
|
+
600,
|
|
111
|
+
),
|
|
112
|
+
),
|
|
101
113
|
);
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the button.
|
|
21
21
|
/// @prop {Map} disabled-background [color: ('gray', 300)] - The disabled background color of the button.
|
|
22
22
|
/// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
|
|
23
|
+
/// @prop {Map} disabled-icon-color [color: ('gray', 500)] - The disabled icon color of the button.
|
|
23
24
|
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
|
|
24
25
|
/// @prop {Number} default-size [1] - The default size used for the button component.
|
|
25
26
|
$light-base-button: (
|
|
@@ -42,6 +43,12 @@ $light-base-button: (
|
|
|
42
43
|
500,
|
|
43
44
|
),
|
|
44
45
|
),
|
|
46
|
+
disabled-icon-color: (
|
|
47
|
+
color: (
|
|
48
|
+
'gray',
|
|
49
|
+
500,
|
|
50
|
+
),
|
|
51
|
+
),
|
|
45
52
|
size: (
|
|
46
53
|
sizable: (
|
|
47
54
|
rem(24px),
|
|
@@ -173,6 +180,8 @@ $material-base-button: $light-base-button;
|
|
|
173
180
|
|
|
174
181
|
/// @type {Map}
|
|
175
182
|
/// @prop {Map} foreground [color: ('secondary', 500)] - The idle text color of a flat button.
|
|
183
|
+
/// @prop {Map} icon-color [color: ('secondary', 500)] - The idle icon color of the button.
|
|
184
|
+
/// @prop {Map} icon-color-hover [color: ('secondary', 500)] - The hover icon color of the button.
|
|
176
185
|
/// @prop {Map} hover-background [color: ('secondary', 500, .08)] - The hover background color of a flat button.
|
|
177
186
|
/// @prop {Map} hover-foreground [color: ('secondary', 500)] - The hover text color of a flat button.
|
|
178
187
|
/// @prop {Map} focus-background [color: ('secondary', 400, .16)] - The focus background color of a flat button.
|
|
@@ -196,6 +205,18 @@ $material-flat-button: extend(
|
|
|
196
205
|
500,
|
|
197
206
|
),
|
|
198
207
|
),
|
|
208
|
+
icon-color: (
|
|
209
|
+
color: (
|
|
210
|
+
'secondary',
|
|
211
|
+
500,
|
|
212
|
+
),
|
|
213
|
+
),
|
|
214
|
+
icon-color-hover: (
|
|
215
|
+
color: (
|
|
216
|
+
'secondary',
|
|
217
|
+
500,
|
|
218
|
+
),
|
|
219
|
+
),
|
|
199
220
|
hover-background: (
|
|
200
221
|
color: (
|
|
201
222
|
'secondary',
|
|
@@ -307,6 +328,8 @@ $material-outlined-button: extend(
|
|
|
307
328
|
|
|
308
329
|
/// @type {Map}
|
|
309
330
|
/// @prop {Map} foreground [contrast-color: ('secondary', 500)] - The idle text color of a contained button.
|
|
331
|
+
/// @prop {Map} icon-color [color: ('secondary', 500)] - The idle icon color of the button.
|
|
332
|
+
/// @prop {Map} icon-color-hover [color: ('secondary', 500)] - The hover icon color of the button.
|
|
310
333
|
/// @prop {Map} hover-background [color: ('secondary', 400)] - The hover background color of a flat button.
|
|
311
334
|
/// @prop {Map} hover-foreground [contrast-color: ('secondary', 400)] - The hover text color of a contained button.
|
|
312
335
|
/// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a flat button.
|
|
@@ -329,6 +352,18 @@ $material-contained-button: extend(
|
|
|
329
352
|
500,
|
|
330
353
|
),
|
|
331
354
|
),
|
|
355
|
+
icon-color: (
|
|
356
|
+
contrast-color: (
|
|
357
|
+
'secondary',
|
|
358
|
+
500,
|
|
359
|
+
),
|
|
360
|
+
),
|
|
361
|
+
icon-color-hover: (
|
|
362
|
+
contrast-color: (
|
|
363
|
+
'secondary',
|
|
364
|
+
400,
|
|
365
|
+
),
|
|
366
|
+
),
|
|
332
367
|
hover-background: (
|
|
333
368
|
color: (
|
|
334
369
|
'secondary',
|
|
@@ -436,6 +471,8 @@ $material-button: (
|
|
|
436
471
|
/// @requires {Map} $light-base-button
|
|
437
472
|
/// @requires {Map} $flat-elevation-button
|
|
438
473
|
/// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the button.
|
|
474
|
+
/// @prop {Map} icon-color [color: ('gray', 900)] - The idle icon color of the button.
|
|
475
|
+
/// @prop {Map} icon-color-hover [color: ('gray', 900)] - The hover icon color of the button.
|
|
439
476
|
/// @prop {Map} focus-visible-border-color [color: ('gray', 700)] - The focus-visible border color of the button.
|
|
440
477
|
/// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of the button.
|
|
441
478
|
/// @prop {Color} focus-background [transparent] - The focus text color of the button.
|
|
@@ -444,7 +481,6 @@ $material-button: (
|
|
|
444
481
|
/// @prop {Map} focus-hover-foreground [color: ('gray', 900)] - The focus-hover text color of the button.
|
|
445
482
|
/// @prop {Color} focus-visible-background [transparent] - The focus-visible text color of the button.
|
|
446
483
|
/// @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
484
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for outlined button.
|
|
449
485
|
/// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the button.
|
|
450
486
|
/// @prop {Number} default-size [2] - The default size used for the button component.
|
|
@@ -458,6 +494,18 @@ $fluent-base-button: extend(
|
|
|
458
494
|
900,
|
|
459
495
|
),
|
|
460
496
|
),
|
|
497
|
+
icon-color: (
|
|
498
|
+
color: (
|
|
499
|
+
'gray',
|
|
500
|
+
900,
|
|
501
|
+
),
|
|
502
|
+
),
|
|
503
|
+
icon-color-hover: (
|
|
504
|
+
color: (
|
|
505
|
+
'gray',
|
|
506
|
+
900,
|
|
507
|
+
),
|
|
508
|
+
),
|
|
461
509
|
focus-visible-border-color: (
|
|
462
510
|
color: (
|
|
463
511
|
'gray',
|
|
@@ -502,12 +550,6 @@ $fluent-base-button: extend(
|
|
|
502
550
|
100,
|
|
503
551
|
),
|
|
504
552
|
),
|
|
505
|
-
disabled-foreground: (
|
|
506
|
-
color: (
|
|
507
|
-
'gray',
|
|
508
|
-
500,
|
|
509
|
-
),
|
|
510
|
-
),
|
|
511
553
|
border-radius: (
|
|
512
554
|
border-radius: (
|
|
513
555
|
rem(2px),
|
|
@@ -634,6 +676,8 @@ $fluent-outlined-button: extend(
|
|
|
634
676
|
/// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 900)] - The focus-visible border color of a contained button.
|
|
635
677
|
/// @prop {Map} background [color: ('primary', 500)] - The background color of an contained button.
|
|
636
678
|
/// @prop {Map} foreground [contrast-color: ('primary', 900)] - The idle text color of a contained button.
|
|
679
|
+
/// @prop {Map} icon-color [contrast-color: ('primary', 900)] - The idle icon color of the button.
|
|
680
|
+
/// @prop {Map} icon-color-hover [contrast-color: ('primary', 900)] - The hover icon color of the button.
|
|
637
681
|
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background of a contained button.
|
|
638
682
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 900)] - The hover text color of a contained button.
|
|
639
683
|
/// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of a contained button.
|
|
@@ -673,6 +717,18 @@ $fluent-contained-button: extend(
|
|
|
673
717
|
900,
|
|
674
718
|
),
|
|
675
719
|
),
|
|
720
|
+
icon-color: (
|
|
721
|
+
contrast-color: (
|
|
722
|
+
'primary',
|
|
723
|
+
900,
|
|
724
|
+
),
|
|
725
|
+
),
|
|
726
|
+
icon-color-hover: (
|
|
727
|
+
contrast-color: (
|
|
728
|
+
'primary',
|
|
729
|
+
900,
|
|
730
|
+
),
|
|
731
|
+
),
|
|
676
732
|
hover-background: (
|
|
677
733
|
color: (
|
|
678
734
|
'primary',
|
|
@@ -789,6 +845,7 @@ $fluent-button: (
|
|
|
789
845
|
/// @type {Map}
|
|
790
846
|
/// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
|
|
791
847
|
/// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the button.
|
|
848
|
+
/// @prop {Map} disabled-icon-color [color: ('primary', 200)] - The disabled icon color of the button.
|
|
792
849
|
/// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
|
|
793
850
|
/// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the button.
|
|
794
851
|
/// @prop {Number} default-size [2] - The default size used for the button component.
|
|
@@ -798,16 +855,22 @@ $bootstrap-base-button: extend(
|
|
|
798
855
|
$light-base-button,
|
|
799
856
|
$flat-elevation-button,
|
|
800
857
|
(
|
|
858
|
+
disabled-background: (
|
|
859
|
+
color: (
|
|
860
|
+
'primary',
|
|
861
|
+
50,
|
|
862
|
+
),
|
|
863
|
+
),
|
|
801
864
|
disabled-foreground: (
|
|
802
865
|
color: (
|
|
803
866
|
'primary',
|
|
804
867
|
200,
|
|
805
868
|
),
|
|
806
869
|
),
|
|
807
|
-
disabled-
|
|
870
|
+
disabled-icon-color: (
|
|
808
871
|
color: (
|
|
809
872
|
'primary',
|
|
810
|
-
|
|
873
|
+
200,
|
|
811
874
|
),
|
|
812
875
|
),
|
|
813
876
|
shadow-color: (
|
|
@@ -830,6 +893,8 @@ $bootstrap-base-button: extend(
|
|
|
830
893
|
|
|
831
894
|
/// @type {Map}
|
|
832
895
|
/// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of a flat button.
|
|
896
|
+
/// @prop {Map} icon-color [color: ('primary', 500)] - The idle icon color of the button.
|
|
897
|
+
/// @prop {Map} icon-color-hover [color: ('primary', 800)] - The hover icon color of the button.
|
|
833
898
|
/// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
|
|
834
899
|
/// @prop {Map} hover-foreground [color: ('primary', 800)] - The hover text color of a flat button.
|
|
835
900
|
/// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
|
|
@@ -853,6 +918,18 @@ $bootstrap-flat-button: extend(
|
|
|
853
918
|
500,
|
|
854
919
|
),
|
|
855
920
|
),
|
|
921
|
+
icon-color: (
|
|
922
|
+
color: (
|
|
923
|
+
'primary',
|
|
924
|
+
500,
|
|
925
|
+
),
|
|
926
|
+
),
|
|
927
|
+
icon-color-hover: (
|
|
928
|
+
color: (
|
|
929
|
+
'primary',
|
|
930
|
+
800,
|
|
931
|
+
),
|
|
932
|
+
),
|
|
856
933
|
hover-background: transparent,
|
|
857
934
|
hover-foreground: (
|
|
858
935
|
color: (
|
|
@@ -894,6 +971,8 @@ $bootstrap-flat-button: extend(
|
|
|
894
971
|
|
|
895
972
|
/// @type {Map}
|
|
896
973
|
/// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of an outlined button.
|
|
974
|
+
/// @prop {Map} icon-color [color: ('primary', 500)] - The idle icon color of the button.
|
|
975
|
+
/// @prop {Map} icon-color-hover [contrast-color: ('primary', 600)] - The hover icon color of the button.
|
|
897
976
|
/// @prop {Map} hover-background [color: ('primary', 500)] - The hover background color of an outlined button.
|
|
898
977
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an outlined button.
|
|
899
978
|
/// @prop {Color} focus-background [transparent] - The focus background color of an outlined button.
|
|
@@ -923,6 +1002,18 @@ $bootstrap-outlined-button: extend(
|
|
|
923
1002
|
500,
|
|
924
1003
|
),
|
|
925
1004
|
),
|
|
1005
|
+
icon-color: (
|
|
1006
|
+
color: (
|
|
1007
|
+
'primary',
|
|
1008
|
+
500,
|
|
1009
|
+
),
|
|
1010
|
+
),
|
|
1011
|
+
icon-color-hover: (
|
|
1012
|
+
contrast-color: (
|
|
1013
|
+
'primary',
|
|
1014
|
+
600,
|
|
1015
|
+
),
|
|
1016
|
+
),
|
|
926
1017
|
hover-background: (
|
|
927
1018
|
color: (
|
|
928
1019
|
'primary',
|
|
@@ -1016,6 +1107,8 @@ $bootstrap-outlined-button: extend(
|
|
|
1016
1107
|
/// @type {Map}
|
|
1017
1108
|
/// @prop {Map} background [color: ('primary', 500)] - The background color of a contained button.
|
|
1018
1109
|
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of a contained button.
|
|
1110
|
+
/// @prop {Map} icon-color [contrast-color: ('primary', 600)] - The idle icon color of the button.
|
|
1111
|
+
/// @prop {Map} icon-color-hover [contrast-color: ('primary', 600)] - The hover icon color of the button.
|
|
1019
1112
|
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of an contained button.
|
|
1020
1113
|
/// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an contained button.
|
|
1021
1114
|
/// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of an contained button.
|
|
@@ -1044,6 +1137,18 @@ $bootstrap-contained-button: extend(
|
|
|
1044
1137
|
600,
|
|
1045
1138
|
),
|
|
1046
1139
|
),
|
|
1140
|
+
icon-color: (
|
|
1141
|
+
contrast-color: (
|
|
1142
|
+
'primary',
|
|
1143
|
+
600,
|
|
1144
|
+
),
|
|
1145
|
+
),
|
|
1146
|
+
icon-color-hover: (
|
|
1147
|
+
contrast-color: (
|
|
1148
|
+
'primary',
|
|
1149
|
+
600,
|
|
1150
|
+
),
|
|
1151
|
+
),
|
|
1047
1152
|
hover-background: (
|
|
1048
1153
|
color: (
|
|
1049
1154
|
'primary',
|
|
@@ -108,31 +108,32 @@ $bootstrap-snackbar: extend(
|
|
|
108
108
|
|
|
109
109
|
/// Generates an indigo snackbar schema.
|
|
110
110
|
/// @type {Map}
|
|
111
|
-
/// @prop {Map} background [color: ('gray',
|
|
112
|
-
/// @prop {Map} text-color [
|
|
113
|
-
/// @prop {Map} button-color [
|
|
111
|
+
/// @prop {Map} background [color: ('gray', 200)] - The background color used in the snackbar.
|
|
112
|
+
/// @prop {Map} text-color [color: ('gray', 700)] - The text color used in the snackbar.
|
|
113
|
+
/// @prop {Map} button-color [color: ('gray', 700)] - The button color used in the snackbar.
|
|
114
114
|
/// @prop {List} border-radius [(rem(6px), rem(0), rem(24px))] - The border radius used for snackbar.
|
|
115
115
|
/// @requires $light-snackbar
|
|
116
|
+
/// @requires {Map} $indigo-elevation-snackbar
|
|
116
117
|
$indigo-snackbar: extend(
|
|
117
118
|
$light-snackbar,
|
|
119
|
+
$indigo-elevation-snackbar,
|
|
118
120
|
(
|
|
119
121
|
background: (
|
|
120
122
|
color: (
|
|
121
123
|
'gray',
|
|
122
|
-
|
|
123
|
-
0.9,
|
|
124
|
+
200,
|
|
124
125
|
),
|
|
125
126
|
),
|
|
126
127
|
|
|
127
128
|
text-color: (
|
|
128
|
-
|
|
129
|
+
color: (
|
|
129
130
|
'gray',
|
|
130
131
|
700,
|
|
131
132
|
),
|
|
132
133
|
),
|
|
133
134
|
|
|
134
135
|
button-color: (
|
|
135
|
-
|
|
136
|
+
color: (
|
|
136
137
|
'gray',
|
|
137
138
|
700,
|
|
138
139
|
),
|