igniteui-theming 8.0.0 → 8.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.1.0-beta.1",
|
|
4
4
|
"description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,8 +16,60 @@ $material-flat-icon-button-dark: extend($material-flat-icon-button);
|
|
|
16
16
|
|
|
17
17
|
/// Generates a dark material contained icon button schema.
|
|
18
18
|
/// @type {Map}
|
|
19
|
+
/// @prop {Map} background [color: ('gray', 900, .24)] - The background color of the material contained icon button.
|
|
20
|
+
/// @prop {Map} hover-background [color: ('gray', 900, .32)] - The hover background color of the material contained icon button.
|
|
21
|
+
/// @prop {Map} focus-background [color: ('gray', 900, .4)] - The focus background color of the material contained icon button.
|
|
22
|
+
/// @prop {Map} focus-hover-background [color: ('gray', 900, .44)] - The background color on focus hovered state of the material contained icon button.
|
|
23
|
+
/// @prop {Map} active-background [color: ('gray', 900, .5)] - The active background color of the material contained icon button.
|
|
24
|
+
/// @prop {Map} disabled-background [color: ('gray', 900, .16)] - The disabled background color of the material contained icon button.
|
|
19
25
|
/// @requires {Map} $material-contained-icon-button
|
|
20
|
-
$material-contained-icon-button-dark: extend(
|
|
26
|
+
$material-contained-icon-button-dark: extend(
|
|
27
|
+
$material-contained-icon-button,
|
|
28
|
+
(
|
|
29
|
+
background: (
|
|
30
|
+
color: (
|
|
31
|
+
'gray',
|
|
32
|
+
900,
|
|
33
|
+
0.24,
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
hover-background: (
|
|
37
|
+
color: (
|
|
38
|
+
'gray',
|
|
39
|
+
900,
|
|
40
|
+
0.32,
|
|
41
|
+
),
|
|
42
|
+
),
|
|
43
|
+
focus-background: (
|
|
44
|
+
color: (
|
|
45
|
+
'gray',
|
|
46
|
+
900,
|
|
47
|
+
0.4,
|
|
48
|
+
),
|
|
49
|
+
),
|
|
50
|
+
focus-hover-background: (
|
|
51
|
+
color: (
|
|
52
|
+
'gray',
|
|
53
|
+
900,
|
|
54
|
+
0.44,
|
|
55
|
+
),
|
|
56
|
+
),
|
|
57
|
+
active-background: (
|
|
58
|
+
color: (
|
|
59
|
+
'gray',
|
|
60
|
+
900,
|
|
61
|
+
0.5,
|
|
62
|
+
),
|
|
63
|
+
),
|
|
64
|
+
disabled-background: (
|
|
65
|
+
color: (
|
|
66
|
+
'gray',
|
|
67
|
+
900,
|
|
68
|
+
0.16,
|
|
69
|
+
),
|
|
70
|
+
),
|
|
71
|
+
)
|
|
72
|
+
);
|
|
21
73
|
|
|
22
74
|
/// Generates a dark material outlined icon button schema.
|
|
23
75
|
/// @type {Map}
|
|
@@ -38,6 +90,8 @@ $dark-material-icon-button: (
|
|
|
38
90
|
/// @type {Map}
|
|
39
91
|
/// @prop {Map} hover-background [color: ('gray', 50)] - The hover background color of the fluent icon button.
|
|
40
92
|
/// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of the fluent dark icon button.
|
|
93
|
+
/// @prop {Map} focus-hover-background [color: ('gray', 50)] - The background color on focus hovered state of the icon button.
|
|
94
|
+
/// @prop {Map} active-background [color: ('gray', 100)] - The active background color of the fluent icon button.
|
|
41
95
|
/// @prop {Map} disabled-background [color: ('gray', 50)] - The disabled background color of the icon button.
|
|
42
96
|
/// @prop {Map} disabled-foreground [color: ('gray', 200)] - The disabled foreground color of the icon button.
|
|
43
97
|
$fluent-base-icon-button-dark: (
|
|
@@ -53,6 +107,18 @@ $fluent-base-icon-button-dark: (
|
|
|
53
107
|
400,
|
|
54
108
|
),
|
|
55
109
|
),
|
|
110
|
+
focus-hover-background: (
|
|
111
|
+
color: (
|
|
112
|
+
'gray',
|
|
113
|
+
50,
|
|
114
|
+
),
|
|
115
|
+
),
|
|
116
|
+
active-background: (
|
|
117
|
+
color: (
|
|
118
|
+
'gray',
|
|
119
|
+
100,
|
|
120
|
+
),
|
|
121
|
+
),
|
|
56
122
|
disabled-background: (
|
|
57
123
|
color: (
|
|
58
124
|
'gray',
|
|
@@ -69,37 +135,45 @@ $fluent-base-icon-button-dark: (
|
|
|
69
135
|
|
|
70
136
|
/// Generates a dark fluent flat icon button schema.
|
|
71
137
|
/// @type {Map}
|
|
72
|
-
/// @prop {Map}
|
|
73
|
-
/// @prop {Map}
|
|
74
|
-
/// @prop {Map} focus-
|
|
138
|
+
/// @prop {Map} foreground [color: ('primary', 300)] - The idle text color of the fluent icon button.
|
|
139
|
+
/// @prop {Map} hover-foreground [color: ('primary', 200)] - The hover text color of the fluent icon button.
|
|
140
|
+
/// @prop {Map} focus-foreground [color: ('primary', 300)] - The focus text color of the fluent icon button.
|
|
141
|
+
/// @prop {Map} focus-hover-foreground [color: ('primary', 200)] - The foreground color on focus hovered state of the icon button.
|
|
142
|
+
/// @prop {Map} active-foreground [color: ('primary', 100)] - The active text color of the fluent icon button.
|
|
75
143
|
/// @requires {Map} $fluent-flat-icon-button
|
|
76
144
|
/// @requires {Map} $fluent-base-icon-button-dark
|
|
77
145
|
$fluent-flat-icon-button-dark: extend(
|
|
78
146
|
$fluent-flat-icon-button,
|
|
79
147
|
$fluent-base-icon-button-dark,
|
|
80
148
|
(
|
|
81
|
-
|
|
149
|
+
foreground: (
|
|
82
150
|
color: (
|
|
83
|
-
'
|
|
84
|
-
|
|
151
|
+
'primary',
|
|
152
|
+
300,
|
|
85
153
|
),
|
|
86
154
|
),
|
|
87
155
|
hover-foreground: (
|
|
88
156
|
color: (
|
|
89
157
|
'primary',
|
|
90
|
-
|
|
158
|
+
200,
|
|
91
159
|
),
|
|
92
160
|
),
|
|
93
|
-
focus-
|
|
161
|
+
focus-foreground: (
|
|
94
162
|
color: (
|
|
95
|
-
'
|
|
96
|
-
|
|
163
|
+
'primary',
|
|
164
|
+
300,
|
|
97
165
|
),
|
|
98
166
|
),
|
|
99
167
|
focus-hover-foreground: (
|
|
100
168
|
color: (
|
|
101
169
|
'primary',
|
|
102
|
-
|
|
170
|
+
200,
|
|
171
|
+
),
|
|
172
|
+
),
|
|
173
|
+
active-foreground: (
|
|
174
|
+
color: (
|
|
175
|
+
'primary',
|
|
176
|
+
100,
|
|
103
177
|
),
|
|
104
178
|
),
|
|
105
179
|
)
|
|
@@ -115,7 +189,7 @@ $fluent-flat-icon-button-dark: extend(
|
|
|
115
189
|
/// @prop {Map} focus-foreground [contrast-color: ('primary', 300)] - The focus text color of the fluent dark contained icon button.
|
|
116
190
|
/// @prop {Map} focus-hover-background [color: ('primary', 200)] - The background color on focus hovered state of the icon button.
|
|
117
191
|
/// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 300)] - The foreground color on focus hovered state of the icon button.
|
|
118
|
-
/// @prop {Map} active-background [color: ('primary',
|
|
192
|
+
/// @prop {Map} active-background [color: ('primary', 100)] - The active background color of the fluent dark contained icon button.
|
|
119
193
|
/// @prop {Map} active-foreground [contrast-color: ('primary', 300)] - The active text color of the fluent dark contained icon button.
|
|
120
194
|
/// @prop {Map} focus-border-color [contrast-color: ('primary', 300)] - The focus border color of the fluent dark contained icon button.
|
|
121
195
|
/// @requires {Map} $fluent-contained-icon-button
|
|
@@ -175,7 +249,7 @@ $fluent-contained-icon-button-dark: extend(
|
|
|
175
249
|
active-background: (
|
|
176
250
|
color: (
|
|
177
251
|
'primary',
|
|
178
|
-
|
|
252
|
+
100,
|
|
179
253
|
),
|
|
180
254
|
),
|
|
181
255
|
active-foreground: (
|
|
@@ -257,14 +331,16 @@ $dark-bootstrap-icon-button: (
|
|
|
257
331
|
|
|
258
332
|
/// Generates a dark base indigo icon button schema.
|
|
259
333
|
/// @prop {Map} foreground [contrast-color: ('primary', 500, .8)] - The idle text color of the indigo icon button.
|
|
260
|
-
/// @prop {Map} hover-background [contrast-color: ('primary', 500,
|
|
334
|
+
/// @prop {Map} hover-background [contrast-color: ('primary', 500, .1)] - The hover background color of the indigo icon button.
|
|
261
335
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of the indigo icon button.
|
|
262
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of the indigo icon button.
|
|
263
|
-
/// @prop {Map} focus-hover-background [contrast-color: ('primary', 500,
|
|
336
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500, .8)] - The focus text color of the indigo icon button.
|
|
337
|
+
/// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, .1)] - The background color on focus hovered state of the icon button.
|
|
264
338
|
/// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 500)] - The foreground color on focus hovered state of the icon button.
|
|
265
339
|
/// @prop {Map} focus-border-color [contrast-color: ('primary', 500, .2)] - The focus border color of the indigo icon button.
|
|
340
|
+
/// @prop {Map} active-background [contrast-color: ('primary', 500, .1)] - The active background color of the indigo icon button.
|
|
266
341
|
/// @prop {Map} active-foreground [contrast-color: ('primary', 500)] - The active text color of the indigo icon button.
|
|
267
342
|
/// @prop {Map} disabled-foreground [contrast-color: ('gray', 50, .2)] - The disabled foreground color of the indigo icon button.
|
|
343
|
+
/// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of the indigo icon button.
|
|
268
344
|
/// @type {Map}
|
|
269
345
|
$indigo-base-icon-button-dark: (
|
|
270
346
|
foreground: (
|
|
@@ -274,6 +350,13 @@ $indigo-base-icon-button-dark: (
|
|
|
274
350
|
0.8,
|
|
275
351
|
),
|
|
276
352
|
),
|
|
353
|
+
hover-background: (
|
|
354
|
+
contrast-color: (
|
|
355
|
+
'primary',
|
|
356
|
+
500,
|
|
357
|
+
0.1,
|
|
358
|
+
),
|
|
359
|
+
),
|
|
277
360
|
hover-foreground: (
|
|
278
361
|
contrast-color: (
|
|
279
362
|
'primary',
|
|
@@ -284,39 +367,40 @@ $indigo-base-icon-button-dark: (
|
|
|
284
367
|
contrast-color: (
|
|
285
368
|
'primary',
|
|
286
369
|
500,
|
|
370
|
+
0.8,
|
|
287
371
|
),
|
|
288
372
|
),
|
|
289
|
-
focus-hover-
|
|
373
|
+
focus-hover-background: (
|
|
290
374
|
contrast-color: (
|
|
291
375
|
'primary',
|
|
292
376
|
500,
|
|
377
|
+
0.1,
|
|
293
378
|
),
|
|
294
379
|
),
|
|
295
|
-
focus-
|
|
380
|
+
focus-hover-foreground: (
|
|
296
381
|
contrast-color: (
|
|
297
382
|
'primary',
|
|
298
383
|
500,
|
|
299
|
-
0.2,
|
|
300
384
|
),
|
|
301
385
|
),
|
|
302
|
-
|
|
386
|
+
focus-border-color: (
|
|
303
387
|
contrast-color: (
|
|
304
388
|
'primary',
|
|
305
389
|
500,
|
|
390
|
+
0.2,
|
|
306
391
|
),
|
|
307
392
|
),
|
|
308
|
-
|
|
393
|
+
active-background: (
|
|
309
394
|
contrast-color: (
|
|
310
395
|
'primary',
|
|
311
396
|
500,
|
|
312
397
|
0.1,
|
|
313
398
|
),
|
|
314
399
|
),
|
|
315
|
-
|
|
400
|
+
active-foreground: (
|
|
316
401
|
contrast-color: (
|
|
317
402
|
'primary',
|
|
318
403
|
500,
|
|
319
|
-
0.1,
|
|
320
404
|
),
|
|
321
405
|
),
|
|
322
406
|
disabled-foreground: (
|
|
@@ -326,39 +410,24 @@ $indigo-base-icon-button-dark: (
|
|
|
326
410
|
0.2,
|
|
327
411
|
),
|
|
328
412
|
),
|
|
413
|
+
shadow-color: (
|
|
414
|
+
contrast-color: (
|
|
415
|
+
'primary',
|
|
416
|
+
500,
|
|
417
|
+
0.2,
|
|
418
|
+
),
|
|
419
|
+
),
|
|
329
420
|
);
|
|
330
421
|
|
|
331
422
|
/// Generates a dark indigo flat icon button schema.
|
|
332
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of the indigo icon button.
|
|
333
|
-
/// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of a flat button.
|
|
334
423
|
/// @type {Map}
|
|
335
424
|
/// @requires {Map} $indigo-flat-icon-button
|
|
336
|
-
$indigo-flat-icon-button-dark: extend(
|
|
337
|
-
$indigo-flat-icon-button,
|
|
338
|
-
$indigo-base-icon-button-dark,
|
|
339
|
-
(
|
|
340
|
-
focus-foreground: (
|
|
341
|
-
contrast-color: (
|
|
342
|
-
'primary',
|
|
343
|
-
500,
|
|
344
|
-
0.8,
|
|
345
|
-
),
|
|
346
|
-
),
|
|
347
|
-
shadow-color: (
|
|
348
|
-
contrast-color: (
|
|
349
|
-
'primary',
|
|
350
|
-
500,
|
|
351
|
-
0.2,
|
|
352
|
-
),
|
|
353
|
-
),
|
|
354
|
-
)
|
|
355
|
-
);
|
|
425
|
+
$indigo-flat-icon-button-dark: extend($indigo-flat-icon-button, $indigo-base-icon-button-dark);
|
|
356
426
|
|
|
357
427
|
/// Generates a dark indigo outlined icon button schema.
|
|
358
428
|
/// @type {Map}
|
|
359
429
|
/// @prop {Map} border-color [contrast-color: ('primary', 500, 0.6)] - The border color of the indigo outlined icon button.
|
|
360
430
|
/// @prop {Map} disabled-border-color [contrast-color: ('primary', 500, 0.2)] - The disabled border color of the indigo outlined icon button.
|
|
361
|
-
/// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of the indigo outlined icon button.
|
|
362
431
|
/// @requires {Map} $indigo-outlined-icon-button
|
|
363
432
|
$indigo-outlined-icon-button-dark: extend(
|
|
364
433
|
$indigo-outlined-icon-button,
|
|
@@ -378,13 +447,6 @@ $indigo-outlined-icon-button-dark: extend(
|
|
|
378
447
|
0.2,
|
|
379
448
|
),
|
|
380
449
|
),
|
|
381
|
-
shadow-color: (
|
|
382
|
-
contrast-color: (
|
|
383
|
-
'primary',
|
|
384
|
-
500,
|
|
385
|
-
0.2,
|
|
386
|
-
),
|
|
387
|
-
),
|
|
388
450
|
)
|
|
389
451
|
);
|
|
390
452
|
|
|
@@ -393,6 +455,7 @@ $indigo-outlined-icon-button-dark: extend(
|
|
|
393
455
|
/// @prop {Map} hover-background [color: ('primary', 400)] - The hover background color of the indigo icon button.
|
|
394
456
|
/// @prop {Map} focus-hover-background [color: ('primary', 400)] - The background color on focus hovered state of the icon button.
|
|
395
457
|
/// @prop {Map} focus-border-color [contrast-color: ('primary', 400, .5)] - The focus border color of the indigo icon button.
|
|
458
|
+
/// @prop {Map} active-background [color: ('primary', 400)] - The active background color of the indigo contained icon button.
|
|
396
459
|
/// @requires {Map} $indigo-contained-icon-button
|
|
397
460
|
$indigo-contained-icon-button-dark: extend(
|
|
398
461
|
$indigo-contained-icon-button,
|
|
@@ -417,6 +480,12 @@ $indigo-contained-icon-button-dark: extend(
|
|
|
417
480
|
0.5,
|
|
418
481
|
),
|
|
419
482
|
),
|
|
483
|
+
active-background: (
|
|
484
|
+
color: (
|
|
485
|
+
'primary',
|
|
486
|
+
400,
|
|
487
|
+
),
|
|
488
|
+
),
|
|
420
489
|
)
|
|
421
490
|
);
|
|
422
491
|
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
/// @prop {Color} shadow-color [transparent] - The shadow color of the material icon button.
|
|
15
15
|
/// @prop {Color} background [transparent] - The background color of the material icon button.
|
|
16
16
|
/// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the material icon button.
|
|
17
|
-
/// @prop {
|
|
17
|
+
/// @prop {Map} hover-background [color: ('gray', 500, .08)] - The hover background color of the material icon button.
|
|
18
18
|
/// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of the material icon button.
|
|
19
|
-
/// @prop {Map} focus-background [color: ('gray',
|
|
19
|
+
/// @prop {Map} focus-background [color: ('gray', 500, .16)] - The focus background color of the material icon button.
|
|
20
20
|
/// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the material icon button.
|
|
21
|
-
/// @prop {Map} focus-hover-background [color: ('gray',
|
|
21
|
+
/// @prop {Map} focus-hover-background [color: ('gray', 500, .24)] - The background color on focus hovered state of the icon button.
|
|
22
22
|
/// @prop {Map} focus-hover-foreground [color: ('gray', 900)] - The foreground color on focus hovered state of the icon button.
|
|
23
|
-
/// @prop {Map} active-background [color: ('gray',
|
|
23
|
+
/// @prop {Map} active-background [color: ('gray', 500, .32)] - The active background color of the material icon button.
|
|
24
24
|
/// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of the material icon button.
|
|
25
25
|
/// @prop {Color} border-color [transparent] - The border color of the material icon button.
|
|
26
|
-
/// @prop {
|
|
27
|
-
/// @prop {
|
|
26
|
+
/// @prop {Color} focus-border-color [transparent] - The focus border color of the material icon button.
|
|
27
|
+
/// @prop {Color} disabled-background [transparent] - The disabled background color of the material icon button.
|
|
28
28
|
/// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the material icon button.
|
|
29
|
-
/// @prop {
|
|
29
|
+
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the material icon button.
|
|
30
30
|
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the material icon button.
|
|
31
31
|
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the material icon button.
|
|
32
32
|
/// @prop {Number} default-size [3] - The default size used for the icon button.
|
|
@@ -39,7 +39,13 @@ $material-base-icon-button: (
|
|
|
39
39
|
900,
|
|
40
40
|
),
|
|
41
41
|
),
|
|
42
|
-
hover-background:
|
|
42
|
+
hover-background: (
|
|
43
|
+
color: (
|
|
44
|
+
'gray',
|
|
45
|
+
500,
|
|
46
|
+
0.08,
|
|
47
|
+
),
|
|
48
|
+
),
|
|
43
49
|
hover-foreground: (
|
|
44
50
|
color: (
|
|
45
51
|
'gray',
|
|
@@ -49,7 +55,8 @@ $material-base-icon-button: (
|
|
|
49
55
|
focus-background: (
|
|
50
56
|
color: (
|
|
51
57
|
'gray',
|
|
52
|
-
|
|
58
|
+
500,
|
|
59
|
+
0.16,
|
|
53
60
|
),
|
|
54
61
|
),
|
|
55
62
|
focus-foreground: (
|
|
@@ -61,7 +68,8 @@ $material-base-icon-button: (
|
|
|
61
68
|
focus-hover-background: (
|
|
62
69
|
color: (
|
|
63
70
|
'gray',
|
|
64
|
-
|
|
71
|
+
500,
|
|
72
|
+
0.24,
|
|
65
73
|
),
|
|
66
74
|
),
|
|
67
75
|
focus-hover-foreground: (
|
|
@@ -73,7 +81,8 @@ $material-base-icon-button: (
|
|
|
73
81
|
active-background: (
|
|
74
82
|
color: (
|
|
75
83
|
'gray',
|
|
76
|
-
|
|
84
|
+
500,
|
|
85
|
+
0.32,
|
|
77
86
|
),
|
|
78
87
|
),
|
|
79
88
|
active-foreground: (
|
|
@@ -83,30 +92,15 @@ $material-base-icon-button: (
|
|
|
83
92
|
),
|
|
84
93
|
),
|
|
85
94
|
border-color: transparent,
|
|
86
|
-
focus-border-color:
|
|
87
|
-
|
|
88
|
-
'gray',
|
|
89
|
-
400,
|
|
90
|
-
),
|
|
91
|
-
),
|
|
92
|
-
disabled-background: (
|
|
93
|
-
color: (
|
|
94
|
-
'gray',
|
|
95
|
-
100,
|
|
96
|
-
),
|
|
97
|
-
),
|
|
95
|
+
focus-border-color: transparent,
|
|
96
|
+
disabled-background: transparent,
|
|
98
97
|
disabled-foreground: (
|
|
99
98
|
color: (
|
|
100
99
|
'gray',
|
|
101
100
|
500,
|
|
102
101
|
),
|
|
103
102
|
),
|
|
104
|
-
disabled-border-color:
|
|
105
|
-
color: (
|
|
106
|
-
'gray',
|
|
107
|
-
100,
|
|
108
|
-
),
|
|
109
|
-
),
|
|
103
|
+
disabled-border-color: transparent,
|
|
110
104
|
border-radius: (
|
|
111
105
|
border-radius: (
|
|
112
106
|
rem(20px),
|
|
@@ -126,31 +120,22 @@ $material-base-icon-button: (
|
|
|
126
120
|
|
|
127
121
|
/// Generates a material flat icon button schema.
|
|
128
122
|
/// @type {Map}
|
|
129
|
-
/// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of the material icon button.
|
|
130
|
-
/// @prop {Color} disabled-background [transparent] - The disabled background color the material flat icon button.
|
|
131
|
-
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the material flat icon button.
|
|
132
123
|
/// @requires {Map} $material-base-icon-button
|
|
133
124
|
$material-flat-icon-button: extend(
|
|
134
125
|
$material-base-icon-button,
|
|
135
126
|
(
|
|
136
127
|
selector: '[igxIconButton="flat"], .igx-icon-button--flat',
|
|
137
|
-
hover-background: (
|
|
138
|
-
color: (
|
|
139
|
-
'gray',
|
|
140
|
-
100,
|
|
141
|
-
),
|
|
142
|
-
),
|
|
143
|
-
disabled-background: transparent,
|
|
144
|
-
disabled-border-color: transparent,
|
|
145
128
|
)
|
|
146
129
|
);
|
|
147
130
|
|
|
148
131
|
/// Generates a material contained icon button schema.
|
|
149
132
|
/// @type {Map}
|
|
150
|
-
/// @prop {Map} background [color: ('gray',
|
|
151
|
-
/// @prop {Map} hover-background [color: ('gray',
|
|
152
|
-
/// @prop {Map} focus-background [color: ('gray',
|
|
153
|
-
/// @prop {Map}
|
|
133
|
+
/// @prop {Map} background [color: ('gray', 900, .08)] - The background color of the material contained icon button.
|
|
134
|
+
/// @prop {Map} hover-background [color: ('gray', 900, .12)] - The hover background color of the material contained icon button.
|
|
135
|
+
/// @prop {Map} focus-background [color: ('gray', 900, .16)] - The focus background color of the material contained icon button.
|
|
136
|
+
/// @prop {Map} focus-hover-background [color: ('gray', 900, .20)] - The background color on focus hovered state of the material contained icon button.
|
|
137
|
+
/// @prop {Map} active-background [color: ('gray', 900, .24)] - The active background color of the material contained icon button.
|
|
138
|
+
/// @prop {Map} disabled-background [color: ('gray', 900, .04)] - The disabled background color of the material contained icon button.
|
|
154
139
|
/// @requires {Map} $material-base-icon-button
|
|
155
140
|
$material-contained-icon-button: extend(
|
|
156
141
|
$material-base-icon-button,
|
|
@@ -159,25 +144,43 @@ $material-contained-icon-button: extend(
|
|
|
159
144
|
background: (
|
|
160
145
|
color: (
|
|
161
146
|
'gray',
|
|
162
|
-
|
|
147
|
+
900,
|
|
148
|
+
0.08,
|
|
163
149
|
),
|
|
164
150
|
),
|
|
165
151
|
hover-background: (
|
|
166
152
|
color: (
|
|
167
153
|
'gray',
|
|
168
|
-
|
|
154
|
+
900,
|
|
155
|
+
0.12,
|
|
169
156
|
),
|
|
170
157
|
),
|
|
171
158
|
focus-background: (
|
|
172
159
|
color: (
|
|
173
160
|
'gray',
|
|
174
|
-
|
|
161
|
+
900,
|
|
162
|
+
0.16,
|
|
163
|
+
),
|
|
164
|
+
),
|
|
165
|
+
focus-hover-background: (
|
|
166
|
+
color: (
|
|
167
|
+
'gray',
|
|
168
|
+
900,
|
|
169
|
+
0.2,
|
|
175
170
|
),
|
|
176
171
|
),
|
|
177
172
|
active-background: (
|
|
178
173
|
color: (
|
|
179
174
|
'gray',
|
|
180
|
-
|
|
175
|
+
900,
|
|
176
|
+
0.24,
|
|
177
|
+
),
|
|
178
|
+
),
|
|
179
|
+
disabled-background: (
|
|
180
|
+
color: (
|
|
181
|
+
'gray',
|
|
182
|
+
900,
|
|
183
|
+
0.04,
|
|
181
184
|
),
|
|
182
185
|
),
|
|
183
186
|
)
|
|
@@ -186,7 +189,8 @@ $material-contained-icon-button: extend(
|
|
|
186
189
|
/// Generates a material outlined icon button schema.
|
|
187
190
|
/// @type {Map}
|
|
188
191
|
/// @prop {Map} border-color [color: ('gray', 300)] - The border color of the material outlined icon button.
|
|
189
|
-
/// @prop {Map}
|
|
192
|
+
/// @prop {Map} focus-border-color [color: ('gray', 300)] - The focus border color of the material outlined icon button.
|
|
193
|
+
/// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled border color of the material outlined icon button.
|
|
190
194
|
/// @requires {Map} $material-base-icon-button
|
|
191
195
|
$material-outlined-icon-button: extend(
|
|
192
196
|
$material-base-icon-button,
|
|
@@ -198,10 +202,16 @@ $material-outlined-icon-button: extend(
|
|
|
198
202
|
300,
|
|
199
203
|
),
|
|
200
204
|
),
|
|
205
|
+
focus-border-color: (
|
|
206
|
+
color: (
|
|
207
|
+
'gray',
|
|
208
|
+
300,
|
|
209
|
+
),
|
|
210
|
+
),
|
|
201
211
|
disabled-border-color: (
|
|
202
212
|
color: (
|
|
203
213
|
'gray',
|
|
204
|
-
|
|
214
|
+
300,
|
|
205
215
|
),
|
|
206
216
|
),
|
|
207
217
|
)
|
|
@@ -232,7 +242,7 @@ $material-icon-button: (
|
|
|
232
242
|
/// @prop {Map} focus-hover-background [color: ('gray', 200)] - The background color on focus hovered state of the icon button.
|
|
233
243
|
/// @prop {Map} focus-hover-foreground [color: ('primary', 600)] - The foreground color on focus hovered state of the icon button.
|
|
234
244
|
/// @prop {Map} active-background [color: ('gray', 300)] - The active background color of the fluent icon button.
|
|
235
|
-
/// @prop {Map} active-foreground [color: ('primary',
|
|
245
|
+
/// @prop {Map} active-foreground [color: ('primary', 800)] - The active text color of the fluent icon button.
|
|
236
246
|
/// @prop {Color} border-color [transparent] - The border color of the fluent icon button.
|
|
237
247
|
/// @prop {Map} focus-border-color [color: ('gray', 700)] - The focus border color of the fluent icon button.
|
|
238
248
|
/// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the fluent icon button.
|
|
@@ -290,7 +300,7 @@ $fluent-base-icon-button: (
|
|
|
290
300
|
active-foreground: (
|
|
291
301
|
color: (
|
|
292
302
|
'primary',
|
|
293
|
-
|
|
303
|
+
800,
|
|
294
304
|
),
|
|
295
305
|
),
|
|
296
306
|
border-color: transparent,
|
|
@@ -435,7 +445,6 @@ $fluent-contained-icon-button: extend(
|
|
|
435
445
|
/// @prop {Color} focus-background [transparent] - The focus background color of the fluent outlined icon button.
|
|
436
446
|
/// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the fluent outlined icon button.
|
|
437
447
|
/// @prop {Map} focus-hover-foreground [color: ('gray', 900)] - The foreground color on focus hovered state of the icon button.
|
|
438
|
-
/// @prop {Map} active-background [color: ('gray', 200)] - The active background color of the fluent outlined icon button.
|
|
439
448
|
/// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of the fluent outlined icon button.
|
|
440
449
|
/// @prop {Map} focus-border-color [color: ('gray', 700)] - The focus border color of the fluent outlined icon button.
|
|
441
450
|
/// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled border color of the fluent outlined icon button.
|
|
@@ -475,12 +484,6 @@ $fluent-outlined-icon-button: extend(
|
|
|
475
484
|
900,
|
|
476
485
|
),
|
|
477
486
|
),
|
|
478
|
-
active-background: (
|
|
479
|
-
color: (
|
|
480
|
-
'gray',
|
|
481
|
-
200,
|
|
482
|
-
),
|
|
483
|
-
),
|
|
484
487
|
active-foreground: (
|
|
485
488
|
color: (
|
|
486
489
|
'gray',
|
|
@@ -522,12 +525,12 @@ $fluent-icon-button: (
|
|
|
522
525
|
/// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of the bootstrap icon button.
|
|
523
526
|
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of the bootstrap icon button.
|
|
524
527
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of the bootstrap icon button.
|
|
525
|
-
/// @prop {
|
|
528
|
+
/// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of the bootstrap flat icon button.
|
|
526
529
|
/// @prop {Map} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of the bootstrap icon button.
|
|
527
530
|
/// @prop {Map} focus-hover-background [color: ('primary', 600)] - The background color on focus hovered state of the icon button.
|
|
528
531
|
/// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 600)] - The foreground color on focus hovered state of the icon button.
|
|
529
|
-
/// @prop {Map} active-background [color: ('primary',
|
|
530
|
-
/// @prop {Map} active-foreground [contrast-color: ('primary',
|
|
532
|
+
/// @prop {Map} active-background [color: ('primary', 800)] - The active background color of the bootstrap icon button.
|
|
533
|
+
/// @prop {Map} active-foreground [contrast-color: ('primary', 800)] - The active text color of the bootstrap icon button.
|
|
531
534
|
/// @prop {Color} border-color [transparent] - The border color of the bootstrap icon button.
|
|
532
535
|
/// @prop {Map} focus-border-color [transparent] - The focus border color of the bootstrap icon button.
|
|
533
536
|
/// @prop {Color} disabled-background [transparent] - The disabled background color of the bootstrap icon button.
|
|
@@ -563,7 +566,12 @@ $bootstrap-base-icon-button: (
|
|
|
563
566
|
600,
|
|
564
567
|
),
|
|
565
568
|
),
|
|
566
|
-
focus-background:
|
|
569
|
+
focus-background: (
|
|
570
|
+
color: (
|
|
571
|
+
'primary',
|
|
572
|
+
500,
|
|
573
|
+
),
|
|
574
|
+
),
|
|
567
575
|
focus-foreground: (
|
|
568
576
|
contrast-color: (
|
|
569
577
|
'primary',
|
|
@@ -585,13 +593,13 @@ $bootstrap-base-icon-button: (
|
|
|
585
593
|
active-background: (
|
|
586
594
|
color: (
|
|
587
595
|
'primary',
|
|
588
|
-
|
|
596
|
+
800,
|
|
589
597
|
),
|
|
590
598
|
),
|
|
591
599
|
active-foreground: (
|
|
592
600
|
contrast-color: (
|
|
593
601
|
'primary',
|
|
594
|
-
|
|
602
|
+
800,
|
|
595
603
|
),
|
|
596
604
|
),
|
|
597
605
|
border-color: transparent,
|
|
@@ -624,13 +632,13 @@ $bootstrap-base-icon-button: (
|
|
|
624
632
|
/// Generates a bootstrap flat icon button schema.
|
|
625
633
|
/// @type {Map}
|
|
626
634
|
/// @prop {Color} hover-background [transparent] - The hover background color of the bootstrap flat icon button.
|
|
627
|
-
/// @prop {Map} hover-foreground [color: ('primary',
|
|
628
|
-
/// @prop {
|
|
635
|
+
/// @prop {Map} hover-foreground [color: ('primary', 600)] - The hover text color of the bootstrap flat icon button.
|
|
636
|
+
/// @prop {Color} focus-background [transparent] - The focus background color of the bootstrap flat icon button.
|
|
629
637
|
/// @prop {Map} focus-foreground [color: ('primary', 500)] - The focus text color of the bootstrap flat icon button.
|
|
630
638
|
/// @prop {Color} focus-hover-background [transparent] - The background color on focus hovered state of the icon button.
|
|
631
|
-
/// @prop {Map} focus-hover-foreground [color: ('primary',
|
|
632
|
-
/// @prop {
|
|
633
|
-
/// @prop {Map} active-foreground [color: ('primary',
|
|
639
|
+
/// @prop {Map} focus-hover-foreground [color: ('primary', 600)] - The foreground color on focus hovered state of the icon button.
|
|
640
|
+
/// @prop {Color} active-background [transparent] - The active background color of the bootstrap flat icon button.
|
|
641
|
+
/// @prop {Map} active-foreground [color: ('primary', 800)] - The active text color of the bootstrap flat icon button.
|
|
634
642
|
/// @requires {Map} $bootstrap-base-icon-button
|
|
635
643
|
$bootstrap-flat-icon-button: extend(
|
|
636
644
|
$bootstrap-base-icon-button,
|
|
@@ -640,9 +648,10 @@ $bootstrap-flat-icon-button: extend(
|
|
|
640
648
|
hover-foreground: (
|
|
641
649
|
color: (
|
|
642
650
|
'primary',
|
|
643
|
-
|
|
651
|
+
600,
|
|
644
652
|
),
|
|
645
653
|
),
|
|
654
|
+
focus-background: transparent,
|
|
646
655
|
focus-foreground: (
|
|
647
656
|
color: (
|
|
648
657
|
'primary',
|
|
@@ -653,19 +662,14 @@ $bootstrap-flat-icon-button: extend(
|
|
|
653
662
|
focus-hover-foreground: (
|
|
654
663
|
color: (
|
|
655
664
|
'primary',
|
|
656
|
-
|
|
657
|
-
),
|
|
658
|
-
),
|
|
659
|
-
active-background: (
|
|
660
|
-
color: (
|
|
661
|
-
'gray',
|
|
662
|
-
100,
|
|
665
|
+
600,
|
|
663
666
|
),
|
|
664
667
|
),
|
|
668
|
+
active-background: transparent,
|
|
665
669
|
active-foreground: (
|
|
666
670
|
color: (
|
|
667
671
|
'primary',
|
|
668
|
-
|
|
672
|
+
800,
|
|
669
673
|
),
|
|
670
674
|
),
|
|
671
675
|
)
|
|
@@ -675,7 +679,6 @@ $bootstrap-flat-icon-button: extend(
|
|
|
675
679
|
/// @type {Map}
|
|
676
680
|
/// @prop {Map} background [color: ('primary', 500)] - The background color of the bootstrap contained icon button.
|
|
677
681
|
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the bootstrap contained icon button.
|
|
678
|
-
/// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of the bootstrap flat icon button.
|
|
679
682
|
/// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the bootstrap contained icon button.
|
|
680
683
|
/// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the bootstrap contained icon button.
|
|
681
684
|
/// @requires {Map} $bootstrap-base-icon-button
|
|
@@ -695,12 +698,6 @@ $bootstrap-contained-icon-button: extend(
|
|
|
695
698
|
600,
|
|
696
699
|
),
|
|
697
700
|
),
|
|
698
|
-
focus-background: (
|
|
699
|
-
color: (
|
|
700
|
-
'primary',
|
|
701
|
-
500,
|
|
702
|
-
),
|
|
703
|
-
),
|
|
704
701
|
disabled-background: (
|
|
705
702
|
color: (
|
|
706
703
|
'primary',
|
|
@@ -719,11 +716,9 @@ $bootstrap-contained-icon-button: extend(
|
|
|
719
716
|
/// Generates a bootstrap outlined icon button schema.
|
|
720
717
|
/// @type {Map}
|
|
721
718
|
/// @prop {Map} border-color [color: ('primary', 500)] - The border color of the bootstrap outlined icon button.
|
|
722
|
-
/// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the bootstrap outlined icon button.
|
|
723
719
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of the bootstrap outlined icon button.
|
|
724
|
-
/// @prop {Map} focus-
|
|
725
|
-
/// @prop {Map}
|
|
726
|
-
/// @prop {Map} disabled-border-color [color: ('primary', 100)] - The disabled border color of the bootstrap outlined icon button.
|
|
720
|
+
/// @prop {Map} focus-border-color [color: ('primary', 800)] - The focus border color of the bootstrap outlined icon button.
|
|
721
|
+
/// @prop {Map} disabled-border-color [color: ('primary', 50)] - The disabled border color of the bootstrap outlined icon button.
|
|
727
722
|
/// @requires {Map} $bootstrap-base-icon-button
|
|
728
723
|
$bootstrap-outlined-icon-button: extend(
|
|
729
724
|
$bootstrap-base-icon-button,
|
|
@@ -741,22 +736,16 @@ $bootstrap-outlined-icon-button: extend(
|
|
|
741
736
|
600,
|
|
742
737
|
),
|
|
743
738
|
),
|
|
744
|
-
focus-foreground: (
|
|
745
|
-
color: (
|
|
746
|
-
'primary',
|
|
747
|
-
500,
|
|
748
|
-
),
|
|
749
|
-
),
|
|
750
739
|
focus-border-color: (
|
|
751
740
|
color: (
|
|
752
741
|
'primary',
|
|
753
|
-
|
|
742
|
+
800,
|
|
754
743
|
),
|
|
755
744
|
),
|
|
756
745
|
disabled-border-color: (
|
|
757
746
|
color: (
|
|
758
747
|
'primary',
|
|
759
|
-
|
|
748
|
+
50,
|
|
760
749
|
),
|
|
761
750
|
),
|
|
762
751
|
)
|
|
@@ -786,7 +775,7 @@ $bootstrap-icon-button: (
|
|
|
786
775
|
/// @prop {Map} focus-foreground [color: ('gray', 600)] - The focus text color of the indigo icon button.
|
|
787
776
|
/// @prop {Map} focus-hover-background [color: ('gray', 900, 0.5)] - The background color on focus hovered state of the icon button.
|
|
788
777
|
/// @prop {Map} focus-hover-foreground [color: ('gray', 700)] - The foreground color on focus hovered state of the icon button.
|
|
789
|
-
/// @prop {
|
|
778
|
+
/// @prop {Map} active-background [color: ('gray', 900, 0.5)] - The active background color of the indigo icon button.
|
|
790
779
|
/// @prop {Map} active-foreground [color: ('gray', 700)] - The active text color of the indigo icon button.
|
|
791
780
|
/// @prop {Color} border-color [transparent] - The border color of the indigo icon button.
|
|
792
781
|
/// @prop {Map} focus-border-color [color: ('gray', 900, 0.15)] - The focus border color of the indigo icon button.
|
|
@@ -844,7 +833,13 @@ $indigo-base-icon-button: (
|
|
|
844
833
|
700,
|
|
845
834
|
),
|
|
846
835
|
),
|
|
847
|
-
active-background:
|
|
836
|
+
active-background: (
|
|
837
|
+
color: (
|
|
838
|
+
'gray',
|
|
839
|
+
900,
|
|
840
|
+
0.05,
|
|
841
|
+
),
|
|
842
|
+
),
|
|
848
843
|
active-foreground: (
|
|
849
844
|
color: (
|
|
850
845
|
'gray',
|
|
@@ -928,7 +923,7 @@ $indigo-outlined-icon-button: extend(
|
|
|
928
923
|
/// @prop {Map} hover-background [color: ('primary', 400)] - The hover background color of the indigo contained icon button.
|
|
929
924
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of the indigo contained icon button.
|
|
930
925
|
/// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of the indigo contained icon button.
|
|
931
|
-
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus background color of the indigo contained icon button.
|
|
926
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 500, .8)] - The focus background color of the indigo contained icon button.
|
|
932
927
|
/// @prop {Map} focus-border-color [color: ('primary', 400, .5)] - The focus border color of the indigo icon button.
|
|
933
928
|
/// @prop {Map} focus-hover-background [color: ('primary', 400)] - The background color on focus hovered state of the icon button.
|
|
934
929
|
/// @prop {Map} focus-hover-foreground [color: ('primary', 500)] - The foreground color on focus hovered state of the icon button.
|
|
@@ -983,6 +978,7 @@ $indigo-contained-icon-button: extend(
|
|
|
983
978
|
contrast-color: (
|
|
984
979
|
'primary',
|
|
985
980
|
500,
|
|
981
|
+
0.8,
|
|
986
982
|
),
|
|
987
983
|
),
|
|
988
984
|
focus-border-color: (
|