igniteui-theming 1.4.2 → 1.4.3-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.
Files changed (42) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
  3. package/sass/themes/_index.scss +1 -0
  4. package/sass/themes/schemas/_index.scss +10 -9
  5. package/sass/themes/schemas/components/_index.scss +2 -0
  6. package/sass/themes/schemas/components/dark/_avatar.scss +40 -0
  7. package/sass/themes/schemas/components/dark/_button.scss +388 -0
  8. package/sass/themes/schemas/components/dark/_checkbox.scss +70 -0
  9. package/sass/themes/schemas/components/dark/_combo.scss +47 -0
  10. package/sass/themes/schemas/components/dark/_drop-down.scss +83 -0
  11. package/sass/themes/schemas/components/dark/_icon.scss +37 -0
  12. package/sass/themes/schemas/components/dark/_index.scss +120 -0
  13. package/sass/themes/schemas/components/dark/_input-group.scss +120 -0
  14. package/sass/themes/schemas/components/dark/_navbar.scss +27 -0
  15. package/sass/themes/schemas/components/dark/_radio.scss +102 -0
  16. package/sass/themes/schemas/components/dark/_rating.scss +29 -0
  17. package/sass/themes/schemas/components/dark/_select.scss +47 -0
  18. package/sass/themes/schemas/components/dark/_slider.scss +95 -0
  19. package/sass/themes/schemas/components/dark/_switch.scss +150 -0
  20. package/sass/themes/schemas/components/dark/_tabs.scss +54 -0
  21. package/sass/themes/schemas/components/dark/_tree.scss +95 -0
  22. package/sass/themes/schemas/components/elevation/_button.scss +63 -0
  23. package/sass/themes/schemas/components/elevation/_drop-down.scss +29 -0
  24. package/sass/themes/schemas/components/elevation/_input-group.scss +37 -0
  25. package/sass/themes/schemas/components/elevation/_navbar.scss +23 -0
  26. package/sass/themes/schemas/components/elevation/_switch.scss +15 -0
  27. package/sass/themes/schemas/components/light/_avatar.scss +55 -0
  28. package/sass/themes/schemas/components/light/_button.scss +1173 -0
  29. package/sass/themes/schemas/components/light/_checkbox.scss +212 -0
  30. package/sass/themes/schemas/components/light/_combo.scss +203 -0
  31. package/sass/themes/schemas/components/light/_drop-down.scss +245 -0
  32. package/sass/themes/schemas/components/light/_icon.scss +46 -0
  33. package/sass/themes/schemas/components/light/_index.scss +121 -0
  34. package/sass/themes/schemas/components/light/_input-group.scss +497 -0
  35. package/sass/themes/schemas/components/light/_navbar.scss +95 -0
  36. package/sass/themes/schemas/components/light/_radio.scss +177 -0
  37. package/sass/themes/schemas/components/light/_rating.scss +96 -0
  38. package/sass/themes/schemas/components/light/_select.scss +118 -0
  39. package/sass/themes/schemas/components/light/_slider.scss +229 -0
  40. package/sass/themes/schemas/components/light/_switch.scss +311 -0
  41. package/sass/themes/schemas/components/light/_tabs.scss +258 -0
  42. package/sass/themes/schemas/components/light/_tree.scss +188 -0
@@ -0,0 +1,1173 @@
1
+ @use '../../../../utils/map' as *;
2
+ @use '../../../../typography/functions' as *;
3
+ @use '../elevation/button' as *;
4
+
5
+ /* stylelint-disable max-line-length */
6
+
7
+ ////
8
+ /// @package theming
9
+ /// @group schemas
10
+ /// @access public
11
+ ////
12
+
13
+ /// @type {Map}
14
+ /// @prop {Color} shadow-color [transparent] - The shadow color of the button.
15
+ /// @prop {Color} border-color [transparent] - The outline color of the button.
16
+ /// @prop {Color} hover-border-color [transparent] - The hover border color of the button.
17
+ /// @prop {Color} focus-border-color [transparent] - The focus border color of the button.
18
+ /// @prop {Color} focus-visible-border-color [transparent] - The focus-visible border color of the button.
19
+ /// @prop {Color} active-border-color [transparent] - The active border color of the button.
20
+ /// @prop {Color} disabled-border-color [transparent] - The disabled border color of the button.
21
+ /// @prop {Map} disabled-background [color: ('gray', 300)] - The disabled background color of the button.
22
+ /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
23
+ $material-base-button: (
24
+ shadow-color: transparent,
25
+ border-color: transparent,
26
+ hover-border-color: transparent,
27
+ focus-border-color: transparent,
28
+ focus-visible-border-color: transparent,
29
+ active-border-color: transparent,
30
+ disabled-border-color: transparent,
31
+ disabled-background: (
32
+ color: ('gray', 300)
33
+ ),
34
+ disabled-foreground: (
35
+ color: ('gray', 500)
36
+ ),
37
+ );
38
+
39
+ /// @type {Map}
40
+ /// @prop {Color} background [transparent] - The background color of a flat button.
41
+ /// @prop {Map} foreground [color: ('secondary', 500)] - The idle text color of a flat button.
42
+ /// @prop {Map} hover-background [color: ('secondary', 500, .05)] - The hover background color of a flat button.
43
+ /// @prop {Map} hover-foreground [color: ('secondary', 500)] - The hover text color of a flat button.
44
+ /// @prop {Map} focus-background [color: ('secondary', 400, .12)] - The focus background color of a flat button.
45
+ /// @prop {Map} focus-foreground [color: ('secondary', 500)] - The focus text color of a flat button.
46
+ /// @prop {Map} focus-visible-background ['secondary', 400, .12)] - The focus-visible background color of a flat button.
47
+ /// @prop {Map} focus-visible-foreground ['secondary', 500)] - The focus-visible text color of a flat button.
48
+ /// @prop {Map} active-background [color: ('secondary', 400, .12)] - The active background color of a flat button.
49
+ /// @prop {Map} active-foreground [color: ('secondary', 500)] - The active text color of a flat button.
50
+ /// @prop {Color} disabled-background [transparent] - The disabled background color a flat button.
51
+ /// @prop {Number} border-radius [4px] - The border radius used for flat button.
52
+ /// @requires {Map} $material-base-button
53
+ /// @requires {Map} $flat-elevation-button
54
+ $material-flat-button: extend(
55
+ $material-base-button,
56
+ $flat-elevation-button,
57
+ (
58
+ selector: '[igxButton="flat"], .igx-button--flat',
59
+ background: transparent,
60
+ foreground: (
61
+ color: ('secondary', 500)
62
+ ),
63
+ hover-background: (
64
+ color: ('secondary', 500, .05),
65
+ ),
66
+ hover-foreground: (
67
+ color: ('secondary', 500)
68
+ ),
69
+ focus-background: (
70
+ color: ('secondary', 400, .12),
71
+ ),
72
+ focus-foreground: (
73
+ color: ('secondary', 500)
74
+ ),
75
+ focus-visible-background: (
76
+ color: ('secondary', 400, .12),
77
+ ),
78
+ focus-visible-foreground: (
79
+ color: ('secondary', 500)
80
+ ),
81
+ active-background: (
82
+ color: ('secondary', 400, .12),
83
+ ),
84
+ active-foreground: (
85
+ color: ('secondary', 500)
86
+ ),
87
+ disabled-background: transparent,
88
+ border-radius: rem(4px)
89
+ )
90
+ );
91
+
92
+ /// @type {Map}
93
+ /// @prop {Map} border-color [color: ('secondary', 500)] - The outline color of an outlined button.
94
+ /// @prop {Map} hover-border-color [color: ('secondary', 500)] - The hover border color of an outlined button.
95
+ /// @prop {Map} focus-border-color [color: ('secondary', 500)] - The focus border color of an outlined button.
96
+ /// @prop {Map} focus-visible-border-color [color: ('secondary', 500)] - The focus-visible border color of an outlined button.
97
+ /// @prop {Map} active-border-color [color: ('secondary', 500)] - The active border color of an outlined button.
98
+ /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled focused border color of an outlined button.
99
+ /// @requires {Map} $material-flat-button
100
+ $material-outlined-button: extend(
101
+ $material-flat-button,
102
+ (
103
+ selector: '[igxButton="outlined"], .igx-button--outlined',
104
+ border-color: (
105
+ color: ('secondary', 500)
106
+ ),
107
+ hover-border-color: (
108
+ color: ('secondary', 500)
109
+ ),
110
+ focus-border-color: (
111
+ color: ('secondary', 500)
112
+ ),
113
+ focus-visible-border-color: (
114
+ color: ('secondary', 500)
115
+ ),
116
+ active-border-color: (
117
+ color: ('secondary', 500)
118
+ ),
119
+ disabled-border-color: (
120
+ color: ('gray', 300)
121
+ ),
122
+ )
123
+ );
124
+
125
+ /// @type {Map}
126
+ /// @prop {Map} background [color: ('secondary', 500)] - The background color of an raised button.
127
+ /// @prop {Map} foreground [contrast-color: ('secondary', 500)] - The idle text color of a raised button.
128
+ /// @prop {Map} hover-background [color: ('secondary', 300)] - The hover background of a raised button.
129
+ /// @prop {Map} hover-foreground [contrast-color: ('secondary', 300)] - The hover text color of a raised button.
130
+ /// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a raised button.
131
+ /// @prop {Map} focus-foreground [contrast-color: ('secondary', 300)] - The focus text color of a raised button.
132
+ /// @prop {Map} focus-visible-background [color: ('secondary', 300)] - The focus-visible background color of a raised button.
133
+ /// @prop {Map} focus-visible-foreground [contrast-color: ('secondary', 300)] - The focus-visible text color of a raised button.
134
+ /// @prop {Map} active-background [color: ('secondary', 300)] - The active background color of a raised button.
135
+ /// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a raised button.
136
+ /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
137
+ /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
138
+ /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
139
+ /// @prop {Number} border-radius [4px] - The border radius used for raised button. Can be a fraction between 0 and 1, pixels, or percent.
140
+ /// @requires {Map} $material-base-button
141
+ /// @requires {Map} $material-raised-elevation
142
+ $material-raised-button: extend(
143
+ $material-base-button,
144
+ $material-raised-elevation,
145
+ (
146
+ selector: '[igxButton="raised"], .igx-button--raised',
147
+ background: (
148
+ color: ('secondary', 500)
149
+ ),
150
+ foreground: (
151
+ contrast-color: ('secondary', 500)
152
+ ),
153
+ hover-background: (
154
+ color: ('secondary', 300)
155
+ ),
156
+ hover-foreground: (
157
+ contrast-color: ('secondary', 300)
158
+ ),
159
+ focus-background: (
160
+ color: ('secondary', 300)
161
+ ),
162
+ focus-foreground: (
163
+ contrast-color: ('secondary', 300)
164
+ ),
165
+ focus-visible-background: (
166
+ color: ('secondary', 300)
167
+ ),
168
+ focus-visible-foreground: (
169
+ contrast-color: ('secondary', 300)
170
+ ),
171
+ active-background: (
172
+ color: ('secondary', 300)
173
+ ),
174
+ active-foreground: (
175
+ contrast-color: ('secondary', 300)
176
+ ),
177
+ border-radius: rem(4px)
178
+ )
179
+ );
180
+
181
+ /// @type {Map}
182
+ /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
183
+ /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
184
+ /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
185
+ /// @prop {Number} border-radius [28px] - The border radius used for the floating button. Can be a fraction between 0 and 1, pixels, or percent.
186
+ /// @requires {Map} $material-raised-button
187
+ /// @requires {Map} $material-fab-elevation
188
+ $material-fab-button: extend(
189
+ $material-raised-button,
190
+ $material-fab-elevation,
191
+ (
192
+ selector: '[igxButton="fab"], .igx-button--fab',
193
+ border-radius: rem(28px)
194
+ )
195
+ );
196
+
197
+ /// @type {Map}
198
+ /// @prop {Color} background [transparent] - The background color of the an icon button.
199
+ /// @prop {Map} foreground [color: ('gray', 900)] - The icon color of an icon button.
200
+ /// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of an icon button.
201
+ /// @prop {Color} hover-foreground [transparent] - The hover icon color of an icon button.
202
+ /// @prop {Map} focus-background [color: ('gray', 200] - The focus background color an icon button.
203
+ /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus icon color of an icon button.
204
+ /// @prop {Map} focus-visible-background [color: ('gray', 200] - The focus-visible background color an icon button.
205
+ /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible icon color of an icon button.
206
+ /// @prop {Map} active-background [color: ('gray', 200] - The active background color an icon button.
207
+ /// @prop {Map} active-foreground [color: ('gray', 900)] - The active icon color of an icon button.
208
+ /// @prop {Color} disabled-background [transparent] - The disabled background color an icon button.
209
+ /// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of the button.
210
+ /// @prop {Map} focus-visible-border-color [color: ('gray', 400)] - The focus-visible border color of the button.
211
+ /// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of the button.
212
+ /// @prop {Number} border-radius [20px] - The border radius used for the floating button. Can be a fraction between 0 and 1, pixels, or percent.
213
+ /// @requires {Map} $material-base-button
214
+ /// @requires {Map} $material-ib-elevation
215
+ $material-icon-button: extend(
216
+ $material-base-button,
217
+ $material-ib-elevation,
218
+ (
219
+ selector: '[igxButton="icon"], .igx-button--icon',
220
+ background: transparent,
221
+ foreground: (
222
+ color: ('gray', 900)
223
+ ),
224
+ hover-background: transparent,
225
+ hover-foreground: (
226
+ color: ('gray', 900)
227
+ ),
228
+ focus-background: (
229
+ color: ('gray', 200)
230
+ ),
231
+ focus-foreground: (
232
+ color: ('gray', 900)
233
+ ),
234
+ focus-visible-background: (
235
+ color: ('gray', 200)
236
+ ),
237
+ focus-visible-foreground: (
238
+ color: ('gray', 900)
239
+ ),
240
+ active-background: (
241
+ color: ('gray', 200)
242
+ ),
243
+ active-foreground: (
244
+ color: ('gray', 900)
245
+ ),
246
+ disabled-background: transparent,
247
+ active-border-color: (
248
+ color: ('gray', 400)
249
+ ),
250
+ focus-border-color: (
251
+ color: ('gray', 400)
252
+ ),
253
+ focus-visible-border-color: (
254
+ color: ('gray', 400)
255
+ ),
256
+ border-radius: rem(20px),
257
+ )
258
+ );
259
+
260
+ /// Generates a light material button schema.
261
+ /// @type {Map}
262
+ /// @requires {Map} $material-flat-button
263
+ /// @requires {Map} $material-outlined-button
264
+ /// @requires {Map} $material-raised-button
265
+ /// @requires {Map} $material-fab-button
266
+ /// @requires {Map} $material-icon-button
267
+ $light-button: (
268
+ flat: $material-flat-button,
269
+ outlined: $material-outlined-button,
270
+ raised: $material-raised-button,
271
+ fab: $material-fab-button,
272
+ icon: $material-icon-button,
273
+ );
274
+
275
+ /// @type {Map}
276
+ /// @requires {Map} $material-base-button
277
+ /// @requires {Map} $flat-elevation-button
278
+ /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of the button.
279
+ /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the button.
280
+ $fluent-base-button: extend(
281
+ $material-base-button,
282
+ $flat-elevation-button,
283
+ (
284
+ disabled-background: (
285
+ color: ('gray', 200)
286
+ ),
287
+ disabled-foreground: (
288
+ color: ('gray', 400)
289
+ ),
290
+ )
291
+ );
292
+
293
+ /// @type {Map}
294
+ /// @prop {Map} focus-visible-border-color [color: ('gray', 800)] - The focus-visible border color of a flat button.
295
+ /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of a flat button.
296
+ /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
297
+ /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
298
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a flat button.
299
+ /// @prop {Color} focus-visible-foreground [color: ('gray', 800)] - The focus-visible text color of a flat button.
300
+ /// @prop {Map} hover-foreground [color: ('primary', 500)] - The hover text color of a flat button.
301
+ /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
302
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
303
+ /// @prop {Number} border-radius [0] - The border radius used for flat button. Can be a fraction between 0 and 1, pixels, or percent.
304
+ /// @requires {Map} $material-flat-button
305
+ /// @requires {Map} $fluent-base-button
306
+ $fluent-flat-button: extend(
307
+ $material-flat-button,
308
+ $fluent-base-button,
309
+ (
310
+ foreground: (
311
+ color: ('gray', 900)
312
+ ),
313
+ hover-background: transparent,
314
+ focus-background: transparent,
315
+ focus-visible-background: transparent,
316
+ active-background: transparent,
317
+ focus-visible-border-color: (
318
+ color: ('gray', 800)
319
+ ),
320
+ hover-foreground: (
321
+ color: ('primary', 500)
322
+ ),
323
+ focus-visible-foreground: (
324
+ color: ('gray', 800)
325
+ ),
326
+ active-foreground: (
327
+ color: ('gray', 900)
328
+ ),
329
+ disabled-background: transparent,
330
+ border-radius: rem(0)
331
+ )
332
+ );
333
+
334
+ /// @type {Map}
335
+ /// @prop {Map} border-color [color: ('gray', 800)] - The border color of an outlined button.
336
+ /// @prop {Map} hover-border-color [color: ('gray', 800)] - The hover border color of an outlined button.
337
+ /// @prop {Map} focus-border-color [color: ('gray', 800)] - The focus border color of an outlined button.
338
+ /// @prop {Map} focus-visible-border-color [color: ('gray', 800)] - The focus-visible border color of an outlined button.
339
+ /// @prop {Map} active-border-color [color: ('gray', 800)] - The active border color of an outlined button.
340
+ /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of an outlined button.
341
+ /// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of an outlined button.
342
+ /// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of an outlined button.
343
+ /// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of an outlined button.
344
+ /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of an outlined button.
345
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of an outlined button.
346
+ /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of an outlined button.
347
+ /// @prop {Map} active-background [color: ('gray', 100)] - The active background color of an outlined button.
348
+ /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of an outlined button.
349
+ /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of an outlined button.
350
+ /// @prop {Map} disabled-foreground [color: ('gray', 400, .5)] - The disabled foreground color of an outlined button.
351
+ /// @prop {Number} border-radius [2px] - The border radius used for outlined button.
352
+ /// @requires {Map} $material-outlined-button
353
+ /// @requires {Map} $fluent-base-button
354
+ $fluent-outlined-button: extend(
355
+ $material-outlined-button,
356
+ $fluent-base-button,
357
+ (
358
+ border-color: (
359
+ color: ('gray', 800)
360
+ ),
361
+ hover-border-color: (
362
+ color: ('gray', 800)
363
+ ),
364
+ focus-border-color: (
365
+ color: ('gray', 800)
366
+ ),
367
+ focus-visible-border-color: (
368
+ color: ('gray', 800)
369
+ ),
370
+ active-border-color: (
371
+ color: ('gray', 800)
372
+ ),
373
+ foreground: (
374
+ color: ('gray', 900)
375
+ ),
376
+ hover-background: (
377
+ color: ('gray', 200)
378
+ ),
379
+ hover-foreground: (
380
+ color: ('gray', 900)
381
+ ),
382
+ focus-background: (
383
+ color: ('gray', 100)
384
+ ),
385
+ focus-foreground: (
386
+ color: ('gray', 900)
387
+ ),
388
+ focus-visible-background: transparent,
389
+ focus-visible-foreground: (
390
+ color: ('gray', 900)
391
+ ),
392
+ active-background: (
393
+ color: ('gray', 300)
394
+ ),
395
+ active-foreground: (
396
+ contrast-color: ('gray', 300)
397
+ ),
398
+ disabled-background: (
399
+ color: ('gray', 200)
400
+ ),
401
+ disabled-foreground: (
402
+ color: ('gray', 400, .5)
403
+ ),
404
+ border-radius: rem(2px)
405
+ )
406
+ );
407
+
408
+ /// @type {Map}
409
+ /// @prop {Map} border-color [contrast-color: ('gray', 900)] - The border color of a raised button.
410
+ /// @prop {Map} hover-border-color [contrast-color: ('gray', 900)] - The hover border color of a raised button.
411
+ /// @prop {Map} focus-border-color [contrast-color: ('gray', 900)] - The focus border color of a raised button.
412
+ /// @prop {Map} focus-visible-border-color [contrast-color: ('gray', 900)] - The focus-visible border color of a raised button.
413
+ /// @prop {Map} active-border-color [contrast-color: ('gray', 900)] - The active border color of a raised button.
414
+ /// @prop {Map} background [color: ('primary', 500)] - The background color of an raised button.
415
+ /// @prop {Map} foreground [contrast-color: ('primary', 900] - The idle text color of a raised button.
416
+ /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background of a raised button.
417
+ /// @prop {Map} hover-foreground [contrast-color: ('primary', 900)] - The hover text color of a raised button.
418
+ /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of a raised button.
419
+ /// @prop {Map} focus-foreground [contrast-color: ('primary', 900)] - The focus text color of a raised button.
420
+ /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of a raised button.
421
+ /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 900)] - The focus-visible text color of a raised button.
422
+ /// @prop {Map} active-background [color: ('primary', 800)] - The active background color of a raised button.
423
+ /// @prop {Map} active-foreground [contrast-color: ('primary', 900)] - The active text color of a raised button.
424
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
425
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
426
+ /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
427
+ /// @prop {Number} border-radius [2px] - The border radius used for raised button. Can be a fraction between 0 and 1, pixels, or percent.
428
+ /// @requires {Map} $material-raised-button
429
+ /// @requires {Map} $fluent-base-button
430
+ $fluent-raised-button: extend(
431
+ $material-raised-button,
432
+ $fluent-base-button,
433
+ (
434
+ border-color: (
435
+ color: ('primary', 500)
436
+ ),
437
+ hover-border-color: (
438
+ color: ('primary', 600)
439
+ ),
440
+ focus-border-color: (
441
+ color: ('primary', 600)
442
+ ),
443
+ focus-visible-border-color: (
444
+ color: ('primary', 600)
445
+ ),
446
+ active-border-color: (
447
+ color: ('primary', 800)
448
+ ),
449
+ background: (
450
+ color: ('primary', 500)
451
+ ),
452
+ foreground: (
453
+ contrast-color: ('primary', 900)
454
+ ),
455
+ hover-background: (
456
+ color: ('primary', 600)
457
+ ),
458
+ hover-foreground: (
459
+ contrast-color: ('primary', 900)
460
+ ),
461
+ focus-background: (
462
+ color: ('primary', 600)
463
+ ),
464
+ focus-foreground: (
465
+ contrast-color: ('primary', 900)
466
+ ),
467
+ focus-visible-background: (
468
+ color: ('primary', 600)
469
+ ),
470
+ focus-visible-foreground: (
471
+ contrast-color: ('primary', 900)
472
+ ),
473
+ active-background: (
474
+ color: ('primary', 800)
475
+ ),
476
+ active-foreground: (
477
+ contrast-color: ('primary', 900)
478
+ ),
479
+ border-radius: rem(2px)
480
+ )
481
+ );
482
+
483
+ /// @type {Map}
484
+ /// @prop {Map} border-color [contrast: ('gray', 900)] - The border color of a fab button.
485
+ /// @prop {Map} hover-border-color [contrast-color: ('gray', 900)] - The hover border color of a fab button.
486
+ /// @prop {Map} focus-border-color [contrast-color: ('gray', 900)] - The focus border color of a fab button.
487
+ /// @prop {Map} focus-visible-border-color [contrast-color: ('gray', 900)] - The focus-visible border color of a fab button.
488
+ /// @prop {Map} active-border-color [contrast-color: ('gray', 900)] - The active border color of a fab button.
489
+ /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
490
+ /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
491
+ /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
492
+ /// @prop {Number} border-radius [14px] - The border radius used for fab button.
493
+ /// @requires {Map} $fluent-base-button
494
+ /// @requires {Map} $fluent-raised-button
495
+ $fluent-fab-button: extend(
496
+ $fluent-base-button,
497
+ $fluent-raised-button,
498
+ (
499
+ selector: '[igxButton="fab"], .igx-button--fab',
500
+ border-color: (
501
+ contrast-color: ('gray', 900)
502
+ ),
503
+ hover-border-color: (
504
+ contrast-color: ('gray', 900)
505
+ ),
506
+ focus-border-color: (
507
+ contrast-color: ('gray', 900)
508
+ ),
509
+ focus-visible-border-color: (
510
+ contrast-color: ('gray', 900)
511
+ ),
512
+ active-border-color: (
513
+ contrast-color: ('gray', 900)
514
+ ),
515
+ border-radius: rem(14px)
516
+ )
517
+ );
518
+
519
+ /// @type {Map}
520
+ /// @prop {Color} border-color [transparent] - The border color of an icon button.
521
+ /// @prop {Map} hover-border-color [color: ('gray', 500)] - The hover border color of an icon button.
522
+ /// @prop {Map} focus-border-color [color: ('gray', 500)] - The focus border color of an icon button.
523
+ /// @prop {Map} focus-visible-border-color [color: ('gray', 500)] - The focus-visible border color of an icon button.
524
+ /// @prop {Map} active-border-color [color: ('gray', 500)] - The active border color of an icon button.
525
+ /// @prop {Map} hover-background [color: ('gray', 200)] - The hover background color of an icon button.
526
+ /// @prop {Map} hover-foreground [contrast-color: ('primary')] - The hover text color of a an icon button.
527
+ /// @prop {Color} focus-background [transparent] - The focus icon color of an icon button.
528
+ /// @prop {Map} focus-foreground [contrast-color: ('primary')] - The focus text color of an icon button.
529
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible icon color of an icon button.
530
+ /// @prop {Map} focus-visible-foreground [contrast-color: ('primary')] - The focus-visible text color of an icon button.
531
+ /// @prop {Map} active-background [color: ('gray', 300)] - The active background color of an icon button.
532
+ /// @prop {Map} active-foreground [contrast-color: ('primary')] - The active text color of an icon button.
533
+ /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of an icon button.
534
+ /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of an icon button.
535
+ /// @prop {Map} disabled-border-color [color: ('gray', 100), lighten: 35%] - The disabled focused border color of an icon button.
536
+ /// @prop {Number} border-radius [0] - The border radius used for icon button. Can be a fraction between 0 and 1, pixels, or percent.
537
+ /// @requires {Map} $material-icon-button
538
+ /// @requires {Map} $fluent-base-button
539
+ $fluent-icon-button: extend(
540
+ $material-icon-button,
541
+ $fluent-base-button,
542
+ (
543
+ foreground: (
544
+ color: ('primary')
545
+ ),
546
+ focus-visible-border-color: (
547
+ color: ('gray', 500)
548
+ ),
549
+ hover-background: (
550
+ color: ('gray', 200)
551
+ ),
552
+ hover-foreground: (
553
+ color: ('primary')
554
+ ),
555
+ focus-background: transparent,
556
+ focus-foreground: (
557
+ color: ('primary')
558
+ ),
559
+ focus-visible-background: transparent,
560
+ focus-visible-foreground: (
561
+ color: ('primary')
562
+ ),
563
+ active-background: (
564
+ color: ('gray', 300)
565
+ ),
566
+ active-foreground: (
567
+ color: ('primary')
568
+ ),
569
+ disabled-background: (
570
+ color: ('gray', 100)
571
+ ),
572
+ disabled-foreground: (
573
+ color: ('gray', 400)
574
+ ),
575
+ disabled-border-color: (
576
+ color: ('gray', 100)
577
+ ),
578
+ border-radius: rem(0)
579
+ )
580
+ );
581
+
582
+ /// Generates a light fluent button schema.
583
+ /// @type {Map}
584
+ /// @requires {Map} $fluent-flat-button
585
+ /// @requires {Map} $fluent-outlined-button
586
+ /// @requires {Map} $fluent-raised-button
587
+ /// @requires {Map} $fluent-fab-button
588
+ /// @requires {Map} $fluent-icon-button
589
+ $fluent-button: (
590
+ flat: $fluent-flat-button,
591
+ outlined: $fluent-outlined-button,
592
+ raised: $fluent-raised-button,
593
+ fab: $fluent-fab-button,
594
+ icon: $fluent-icon-button,
595
+ );
596
+
597
+ /// @type {Map}
598
+ /// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
599
+ /// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the button.
600
+ /// @requires {Map} $material-base-button
601
+ /// @requires {Map} $flat-elevation-button
602
+ $bootstrap-base-button: extend(
603
+ $material-base-button,
604
+ $flat-elevation-button,
605
+ (
606
+ disabled-foreground: (
607
+ color: ('primary', 200)
608
+ ),
609
+ disabled-background: (
610
+ color: ('primary', 50)
611
+ ),
612
+ )
613
+ );
614
+
615
+ /// @type {Map}
616
+ /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of a flat button.
617
+ /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
618
+ /// @prop {Map} hover-foreground [color: ('primary', 800)] - The hover text color of a flat button.
619
+ /// @prop {Map} focus-background [transparent] - The focus background color of a flat button.
620
+ /// @prop {Map} focus-foreground [color: ('primary', 600)] - The focus text color of a flat button.
621
+ /// @prop {Map} focus-visible-background [transparent] - The focus-visible background color of a flat button.
622
+ /// @prop {Map} focus-visible-foreground [color: ('primary', 600)] - The focus-visible text color of a flat button.
623
+ /// @prop {Map} active-background [transparent] - The active background color of a flat button.
624
+ /// @prop {Map} active-foreground [color: ('primary', 600)] - The active background color of a flat button.
625
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
626
+ /// @prop {Number} border-radius [4px] - The border radius used for flat button.
627
+ /// @requires {Map} $material-flat-button
628
+ /// @requires {Map} $bootstrap-base-button
629
+ $bootstrap-flat-button: extend(
630
+ $material-flat-button,
631
+ $bootstrap-base-button,
632
+ (
633
+ foreground: (
634
+ color: ('primary', 500)
635
+ ),
636
+ hover-background: transparent,
637
+ hover-foreground: (
638
+ color: ('primary', 800)
639
+ ),
640
+ focus-background: transparent,
641
+ focus-foreground: (
642
+ color: ('primary', 600)
643
+ ),
644
+ focus-visible-background: transparent,
645
+ focus-visible-foreground: (
646
+ color: ('primary', 600)
647
+ ),
648
+ active-background: transparent,
649
+ active-foreground: (
650
+ color: ('primary', 600)
651
+ ),
652
+ disabled-background: transparent,
653
+ shadow-color: (
654
+ color: ('primary', 200, .5)
655
+ )
656
+ )
657
+ );
658
+
659
+ /// @type {Map}
660
+ /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of an outlined button.
661
+ /// @prop {Map} hover-background [color: ('primary', 500)] - The hover background color of an outlined button.
662
+ /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an outlined button.
663
+ /// @prop {Color} focus-background [transparent] - The focus background color of an outlined button.
664
+ /// @prop {Color} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of an outlined button.
665
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of an outlined button.
666
+ /// @prop {Color} focus-visible-foreground [color: ('primary', 500)] - The focus-visible text color of an outlined button.
667
+ /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an outlined button.
668
+ /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an outlined button.
669
+ /// @prop {Map} border-color [color: ('primary', 500)] - The border color of an outlined button.
670
+ /// @prop {Map} hover-border-color [color: ('primary', 500)] - The hover border color of an outlined button.
671
+ /// @prop {Map} focus-border-color [color: ('primary', 500)] - The focus border color of an outlined button.
672
+ /// @prop {Map} focus-visible-border-color [color: ('primary', 500)] - The focus-visible border color of an outlined button.
673
+ /// @prop {Map} active-border-color [color: ('primary', 500)] - The active border color of an outlined button.
674
+ /// @prop {Map} disabled-border-color [color: ('primary', 50), lighten: 35%] - The disabled focused border color of an outlined button.
675
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
676
+ /// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
677
+ /// @prop {Number} border-radius [4px] - The border radius used for outlined button.
678
+ /// @requires {Map} $material-outlined-button
679
+ /// @requires {Map} $bootstrap-base-button
680
+ $bootstrap-outlined-button: extend(
681
+ $material-outlined-button,
682
+ $bootstrap-base-button,
683
+ (
684
+ foreground: (
685
+ color: ('primary', 500)
686
+ ),
687
+ hover-background: (
688
+ color: ('primary', 500)
689
+ ),
690
+ hover-foreground: (
691
+ contrast-color: ('primary', 600)
692
+ ),
693
+ focus-background: transparent,
694
+ focus-foreground: (
695
+ color: ('primary', 500)
696
+ ),
697
+ focus-visible-background: transparent,
698
+ focus-visible-foreground: (
699
+ color: ('primary', 500)
700
+ ),
701
+ active-background: (
702
+ color: ('primary', 700)
703
+ ),
704
+ active-foreground: (
705
+ contrast-color: ('primary', 700)
706
+ ),
707
+ border-color: (
708
+ color: ('primary', 500)
709
+ ),
710
+ hover-border-color: (
711
+ color: ('primary', 500)
712
+ ),
713
+ focus-border-color: (
714
+ color: ('primary', 500)
715
+ ),
716
+ focus-visible-border-color: (
717
+ color: ('primary', 500)
718
+ ),
719
+ active-border-color: (
720
+ color: ('primary', 500)
721
+ ),
722
+ disabled-border-color: (
723
+ color: ('primary', 50)
724
+ ),
725
+ shadow-color: (
726
+ color: ('primary', 200, .5)
727
+ ),
728
+ disabled-background: transparent,
729
+ )
730
+ );
731
+
732
+ /// @type {Map}
733
+ /// @prop {Map} background [color: ('primary', 500)] - The background color of a raised button.
734
+ /// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of a raised button.
735
+ /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of an raised button.
736
+ /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an raised button.
737
+ /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of an raised button.
738
+ /// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of an raised button.
739
+ /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of an raised button.
740
+ /// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of an raised button.
741
+ /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an raised button.
742
+ /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an raised button.
743
+ /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a raised button.
744
+ /// @prop {Number} border-radius [4px] - The border radius used for outlined button. Can be a fraction between 0 and 1, pixels, or percent.
745
+ /// @requires {Map} $material-raised-button
746
+ /// @requires {Map} $bootstrap-base-button
747
+ $bootstrap-raised-button: extend(
748
+ $material-raised-button,
749
+ $bootstrap-base-button,
750
+ (
751
+ background: (
752
+ color: ('primary', 500)
753
+ ),
754
+ foreground: (
755
+ contrast-color: ('primary', 600)
756
+ ),
757
+ hover-background: (
758
+ color: ('primary', 600)
759
+ ),
760
+ hover-foreground: (
761
+ contrast-color: ('primary', 600)
762
+ ),
763
+ focus-background: (
764
+ color: ('primary', 600)
765
+ ),
766
+ focus-foreground: (
767
+ contrast-color: ('primary', 600)
768
+ ),
769
+ focus-visible-background: (
770
+ color: ('primary', 600)
771
+ ),
772
+ focus-visible-foreground: (
773
+ contrast-color: ('primary', 600)
774
+ ),
775
+ active-background: (
776
+ color: ('primary', 700)
777
+ ),
778
+ active-foreground: (
779
+ contrast-color: ('primary', 700)
780
+ ),
781
+ shadow-color: (
782
+ color: ('primary', 200)
783
+ ),
784
+ )
785
+ );
786
+
787
+ /// @type {Map}
788
+ /// @prop {Map} background [color: ('primary', 500)] - The background color of a fab button.
789
+ /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of a fab button.
790
+ /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of a fab button.
791
+ /// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of a fab button.
792
+ /// @prop {Color} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of a fab button.
793
+ /// @prop {Map} focus-visible-background [color: ('primary', 600)] - The focus-visible background color of a fab button.
794
+ /// @prop {Color} focus-visible-foreground [contrast-color: ('primary', 600)] - The focus-visible text color of a fab button.
795
+ /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of a fab button.
796
+ /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of a fab button.
797
+ /// @prop {Number} border-radius [15px] - The border radius used for outlined button.
798
+ /// @requires {Map} $material-fab-button
799
+ /// @requires {Map} $bootstrap-base-button
800
+ /// @requires {Map} $bootstrap-raised-button
801
+ $bootstrap-fab-button: extend(
802
+ $material-fab-button,
803
+ $bootstrap-base-button,
804
+ $bootstrap-raised-button,
805
+ (
806
+ selector: '[igxButton="fab"], .igx-button--fab',
807
+ background: (
808
+ color: ('primary', 500)
809
+ ),
810
+ hover-background: (
811
+ color: ('primary', 600)
812
+ ),
813
+ hover-foreground: (
814
+ contrast-color: ('primary', 600)
815
+ ),
816
+ focus-background: (
817
+ color: ('primary', 600)
818
+ ),
819
+ focus-foreground: (
820
+ contrast-color: ('primary', 600)
821
+ ),
822
+ focus-visible-background: (
823
+ color: ('primary', 600)
824
+ ),
825
+ focus-visible-foreground: (
826
+ contrast-color: ('primary', 600)
827
+ ),
828
+ active-background: (
829
+ color: ('primary', 700)
830
+ ),
831
+ active-foreground: (
832
+ contrast-color: ('primary', 700)
833
+ ),
834
+ border-radius: rem(15px)
835
+ )
836
+ );
837
+
838
+ /// @type {Map}
839
+ /// @prop {Color} background [transparent] - The background color of a fab button.
840
+ /// @prop {Color} foreground [color: ('primary', 500)] - The background color of a fab button.
841
+ /// @prop {Color} hover-background [transparent] - The hover background color of an icon button.
842
+ /// @prop {Map} hover-foreground [color: ('primary', 600)] - The hover text color of an icon button.
843
+ /// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of an icon button.
844
+ /// @prop {Map} focus-foreground [color: ('primary', 600)] - The focus text color of an icon button.
845
+ /// @prop {Map} focus-visible-background [color: ('gray', 100)] - The focus-visible background color of an icon button.
846
+ /// @prop {Map} focus-visible-foreground [color: ('primary', 600)] - The focus-visible text color of an icon button.
847
+ /// @prop {Map} active-background [color: ('gray', 100)] - The active background color of an icon button.
848
+ /// @prop {Map} active-foreground [color: ('primary', 600)] - The active text color of an icon button.
849
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
850
+ /// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the button.
851
+ /// @prop {Number} border-radius [4px] - The border radius used for outlined button.
852
+ /// @requires {Map} $material-icon-button
853
+ /// @requires {Map} $bootstrap-base-button
854
+ $bootstrap-icon-button: extend(
855
+ $bootstrap-base-button,
856
+ (
857
+ selector: '[igxButton="icon"], .igx-button--icon',
858
+ background: transparent,
859
+ foreground: (
860
+ color: ('primary', 500)
861
+ ),
862
+ hover-background: transparent,
863
+ hover-foreground: (
864
+ color: ('primary', 600)
865
+ ),
866
+ focus-background: (
867
+ color: ('gray', 100)
868
+ ),
869
+ focus-foreground: (
870
+ color: ('primary', 600)
871
+ ),
872
+ focus-visible-background: (
873
+ color: ('gray', 100)
874
+ ),
875
+ focus-visible-foreground: (
876
+ color: ('primary', 600)
877
+ ),
878
+ active-background: (
879
+ color: ('gray', 100)
880
+ ),
881
+ active-foreground: (
882
+ color: ('primary', 600)
883
+ ),
884
+ disabled-background: transparent,
885
+ disabled-foreground: (
886
+ color: ('primary', 100)
887
+ ),
888
+ border-radius: rem(4px)
889
+ )
890
+ );
891
+
892
+ /// Generates a light bootstrap button schema.
893
+ /// @type {Map}
894
+ /// @requires {Map} $bootstrap-flat-button
895
+ /// @requires {Map} $bootstrap-outlined-button
896
+ /// @requires {Map} $bootstrap-raised-button
897
+ /// @requires {Map} $bootstrap-fab-button
898
+ /// @requires {Map} $bootstrap-icon-button
899
+ $bootstrap-button: (
900
+ flat: $bootstrap-flat-button,
901
+ outlined: $bootstrap-outlined-button,
902
+ raised: $bootstrap-raised-button,
903
+ fab: $bootstrap-fab-button,
904
+ icon: $bootstrap-icon-button,
905
+ );
906
+
907
+ /// @type {Map}
908
+ /// @requires {Map} $material-base-button
909
+ /// @requires {Map} $flat-elevation-button
910
+ $indigo-base-button: extend($material-base-button, $flat-elevation-button);
911
+
912
+ /// @type {Map}
913
+ /// @prop {Map} foreground [color: ('gray', 700)] - The idle text color of a flat button.
914
+ /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
915
+ /// @prop {Map} hover-foreground [ color: ('gray', 900)] - The hover text color of a flat button.
916
+ /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
917
+ /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of a flat button.
918
+ /// @prop {Color} active-background [transparent] - The active background color of a flat button.
919
+ /// @prop {Color} active-foreground [color: ('gray', 700)] - The active text color of a flat button.
920
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a flat button.
921
+ /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a flat button.
922
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
923
+ /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a flat button.
924
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
925
+ /// @requires {Map} $material-flat-button
926
+ /// @requires {Map} $indigo-base-button
927
+ $indigo-flat-button: extend(
928
+ $material-flat-button,
929
+ $indigo-base-button,
930
+ (
931
+ foreground: (
932
+ color: ('gray', 700),
933
+ ),
934
+ hover-background: transparent,
935
+ hover-foreground: (
936
+ color: ('gray', 900),
937
+ ),
938
+ focus-background: transparent,
939
+ focus-foreground: (
940
+ color: ('gray', 900),
941
+ ),
942
+ active-background: transparent,
943
+ active-foreground: (
944
+ color: ('gray', 700),
945
+ ),
946
+ focus-visible-background: transparent,
947
+ focus-visible-foreground: (
948
+ color: ('gray', 900),
949
+ ),
950
+ shadow-color: (
951
+ color: ('gray', 300),
952
+ ),
953
+ disabled-background: transparent,
954
+ border-radius: rem(20px)
955
+ )
956
+ );
957
+
958
+ /// @type {Map}
959
+ /// @prop {Color} background [transparent] - The background color of a outlined button.
960
+ /// @prop {Map} foreground [color: ('gray', 700)] - The idle text color of a outlined button.
961
+ /// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of a outlined button.
962
+ /// @prop {Map} hover-foreground [ color: ('gray', 900)] - The hover text color of a outlined button.
963
+ /// @prop {Color} focus-background [transparent] - The focus background color of a outlined button.
964
+ /// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of a outlined button.
965
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a outlined button.
966
+ /// @prop {Map} focus-visible-foreground [color: ('gray', 900)] - The focus-visible text color of a outlined button.
967
+ /// @prop {Map} border-color [color: 'gray'] - The border color of an outlined button.
968
+ /// @prop {Map} hover-border-color [color: 'gray'] - The hover border color of a outlined button.
969
+ /// @prop {Map} focus-border-color [color: 'gray'] - The focus border color of a outlined button.
970
+ /// @prop {Map} focus-visible-border-color [color: 'gray'] - The focus-visible border color of a outlined button.
971
+ /// @prop {Map} active-border-color [color: 'gray'] - The active border color of a outlined button.
972
+ /// @prop {Color} active-background [transparent] - The active background color of a flat button.
973
+ /// @prop {Color} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
974
+ /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a outlined button.
975
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
976
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
977
+ /// @requires {Map} $material-outlined-button
978
+ /// @requires {Map} $indigo-base-button
979
+ $indigo-outlined-button: extend(
980
+ $material-outlined-button,
981
+ $indigo-base-button,
982
+ (
983
+ background: transparent,
984
+ foreground: (
985
+ color: ('gray', 700),
986
+ ),
987
+ hover-background: (
988
+ color: ('gray', 100)
989
+ ),
990
+ hover-foreground: (
991
+ color: ('gray', 900),
992
+ ),
993
+ focus-background: transparent,
994
+ focus-foreground: (
995
+ color: ('gray', 900),
996
+ ),
997
+ focus-visible-background: transparent,
998
+ focus-visible-foreground: (
999
+ color: ('gray', 900),
1000
+ ),
1001
+ border-color: (
1002
+ color: 'gray',
1003
+ ),
1004
+ hover-border-color: (
1005
+ color: 'gray',
1006
+ ),
1007
+ focus-border-color: (
1008
+ color: 'gray',
1009
+ ),
1010
+ focus-visible-border-color: (
1011
+ color: 'gray',
1012
+ ),
1013
+ active-border-color: (
1014
+ color: 'gray',
1015
+ ),
1016
+ active-background: transparent,
1017
+ active-foreground: (
1018
+ color: ('gray', 900),
1019
+ ),
1020
+ shadow-color: (
1021
+ color: ('gray', 300),
1022
+ ),
1023
+ disabled-background: transparent,
1024
+ border-radius: rem(20px)
1025
+ )
1026
+ );
1027
+
1028
+ /// @type {Map}
1029
+ /// @prop {Map} foreground [color: ('gray', 50)] - The idle text color of a raised button.
1030
+ /// @prop {Map} hover-background [color: ('primary', 400)] - The hover background color of a raised button.
1031
+ /// @prop {Map} hover-foreground [ color: ('gray', 50)] - The hover text color of a raised button.
1032
+ /// @prop {Map} focus-background [color: ('primary', 400)] - The focus background color of a raised button.
1033
+ /// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a raised button.
1034
+ /// @prop {Map} focus-visible-background [color: ('primary', 400)] - The focus-visible background color of a raised button.
1035
+ /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a raised button.
1036
+ /// @prop {Map} active-background [color: ('gray', 50)] - The active background color of a raised button.
1037
+ /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a raised button.
1038
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
1039
+ /// @requires {Map} $material-raised-button
1040
+ /// @requires {Map} $indigo-base-button
1041
+ $indigo-raised-button: extend(
1042
+ $material-raised-button,
1043
+ $indigo-base-button,
1044
+ (
1045
+ foreground: (
1046
+ color: ('gray', 50)
1047
+ ),
1048
+ hover-background: (
1049
+ color: ('secondary', 400),
1050
+ ),
1051
+ hover-foreground: (
1052
+ color: ('gray', 50)
1053
+ ),
1054
+ focus-background: (
1055
+ color: ('secondary', 400),
1056
+ ),
1057
+ focus-foreground: (
1058
+ color: ('gray', 50)
1059
+ ),
1060
+ focus-visible-background: (
1061
+ color: ('secondary', 400),
1062
+ ),
1063
+ focus-visible-foreground: (
1064
+ color: ('gray', 50)
1065
+ ),
1066
+ active-foreground: (
1067
+ color: ('gray', 50)
1068
+ ),
1069
+ shadow-color: (
1070
+ color: ('secondary', 200),
1071
+ ),
1072
+ border-radius: rem(20px)
1073
+ )
1074
+ );
1075
+
1076
+ /// @type {Map}
1077
+ /// @prop {Map} foreground [ color: ('gray', 50)] - The idle text color of a fab button.
1078
+ /// @prop {Map} hover-foreground [ color: ('gray', 50)] - The hover text color of a fab button.
1079
+ /// @prop {Map} focus-foreground [ color: ('gray', 50)] - The focus text color of a fab button.
1080
+ /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a fab button.
1081
+ /// @prop {Number} border-radius [28px] - The border radius used for flat button.
1082
+ /// @requires {Map} $material-fab-button
1083
+ /// @requires {Map} $indigo-base-button
1084
+ /// @requires {Map} $indigo-raised-button
1085
+ $indigo-fab-button: extend(
1086
+ $material-fab-button,
1087
+ $indigo-base-button,
1088
+ $indigo-raised-button,
1089
+ (
1090
+ selector: '[igxButton="fab"], .igx-button--fab',
1091
+ foreground: (
1092
+ color: ('gray', 50)
1093
+ ),
1094
+ hover-foreground: (
1095
+ color: ('gray', 50)
1096
+ ),
1097
+ focus-foreground: (
1098
+ color: ('gray', 50)
1099
+ ),
1100
+ focus-visible-foreground: (
1101
+ color: ('gray', 50)
1102
+ ),
1103
+ border-radius: rem(28px)
1104
+ )
1105
+ );
1106
+
1107
+ /// @type {Map}
1108
+ /// @prop {Map} foreground [ color: ('gray', 700)] - The idle text color of a fab button.
1109
+ /// @prop {Color} hover-background [transparent] - The hover background color of a icon button.
1110
+ /// @prop {Map} hover-foreground [ color: ('gray', 900)] - The hover text color of a raised button.
1111
+ /// @prop {Color} focus-background [transparent] - The focus background color of a icon button.
1112
+ /// @prop {Map} focus-foreground [ color: ('gray', 900)] - The focus text color of a fab button.
1113
+ /// @prop {Color} focus-visible-background [transparent] - The focus-visible background color of a icon button.
1114
+ /// @prop {Map} focus-visible-foreground [ color: ('gray', 900)] - The focus-visible text color of a fab button.
1115
+ /// @prop {Color} active-background [transparent] - The active background color of a flat button.
1116
+ /// @prop {Color} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
1117
+ /// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
1118
+ /// @prop {Map} focus-border-color [color: ('gray' 300)] - The focus border color of the button.
1119
+ /// @prop {Map} focus-visible-border-color [color: ('gray' 300)] - The focus-visible border color of the button.
1120
+ /// @prop {Map} active-border-color [color: ('gray' 300)] - The active border color of the button.
1121
+ /// @prop {Number} border-radius [20px] - The border radius used for flat button.
1122
+ /// @requires {Map} $material-icon-button
1123
+ /// @requires {Map} $indigo-base-button
1124
+ $indigo-icon-button: extend(
1125
+ $material-icon-button,
1126
+ $indigo-base-button,
1127
+ (
1128
+ foreground: (
1129
+ color: ('gray', 700)
1130
+ ),
1131
+ hover-background: transparent,
1132
+ hover-foreground: (
1133
+ color: ('gray', 900)
1134
+ ),
1135
+ focus-background: transparent,
1136
+ focus-foreground: (
1137
+ color: ('gray', 900)
1138
+ ),
1139
+ focus-visible-background: transparent,
1140
+ focus-visible-foreground: (
1141
+ color: ('gray', 900)
1142
+ ),
1143
+ active-background: transparent,
1144
+ active-foreground: (
1145
+ color: ('gray', 900)
1146
+ ),
1147
+ disabled-background: transparent,
1148
+ focus-border-color: (
1149
+ color: ('gray' 300)
1150
+ ),
1151
+ focus-visible-border-color: (
1152
+ color: ('gray' 300)
1153
+ ),
1154
+ active-border-color: (
1155
+ color: ('gray' 300)
1156
+ ),
1157
+ )
1158
+ );
1159
+
1160
+ /// Generates a light indigo button schema.
1161
+ /// @type {Map}
1162
+ /// @requires {Map} $indigo-flat-button
1163
+ /// @requires {Map} $indigo-outlined-button
1164
+ /// @requires {Map} $indigo-raised-button
1165
+ /// @requires {Map} $indigo-fab-button
1166
+ /// @requires {Map} $indigo-icon-button
1167
+ $indigo-button: (
1168
+ flat: $indigo-flat-button,
1169
+ outlined: $indigo-outlined-button,
1170
+ raised: $indigo-raised-button,
1171
+ fab: $indigo-fab-button,
1172
+ icon: $indigo-icon-button,
1173
+ );