igniteui-theming 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/package.json +1 -1
  2. package/sass/themes/schemas/components/dark/_action-strip.scss +3 -3
  3. package/sass/themes/schemas/components/dark/_avatar.scss +3 -3
  4. package/sass/themes/schemas/components/dark/_badge.scss +3 -3
  5. package/sass/themes/schemas/components/dark/_banner.scss +3 -3
  6. package/sass/themes/schemas/components/dark/_bottom-nav.scss +8 -17
  7. package/sass/themes/schemas/components/dark/_button-group.scss +3 -3
  8. package/sass/themes/schemas/components/dark/_button.scss +4 -7
  9. package/sass/themes/schemas/components/dark/_calendar.scss +4 -4
  10. package/sass/themes/schemas/components/dark/_card.scss +4 -4
  11. package/sass/themes/schemas/components/dark/_carousel.scss +3 -3
  12. package/sass/themes/schemas/components/dark/_checkbox.scss +3 -3
  13. package/sass/themes/schemas/components/dark/_chip.scss +6 -6
  14. package/sass/themes/schemas/components/dark/_column-actions.scss +6 -6
  15. package/sass/themes/schemas/components/dark/_combo.scss +3 -3
  16. package/sass/themes/schemas/components/dark/_date-range-picker.scss +3 -3
  17. package/sass/themes/schemas/components/dark/_dialog.scss +3 -3
  18. package/sass/themes/schemas/components/dark/_divider.scss +3 -3
  19. package/sass/themes/schemas/components/dark/_dock-manager.scss +6 -0
  20. package/sass/themes/schemas/components/dark/_drop-down.scss +3 -3
  21. package/sass/themes/schemas/components/dark/_expansion-panel.scss +3 -3
  22. package/sass/themes/schemas/components/dark/_grid-filtering.scss +3 -3
  23. package/sass/themes/schemas/components/dark/_grid-summary.scss +3 -3
  24. package/sass/themes/schemas/components/dark/_grid-toolbar.scss +5 -5
  25. package/sass/themes/schemas/components/dark/_grid.scss +4 -20
  26. package/sass/themes/schemas/components/dark/_highlight.scss +6 -0
  27. package/sass/themes/schemas/components/dark/_icon-button.scss +1 -1
  28. package/sass/themes/schemas/components/dark/_icon.scss +6 -6
  29. package/sass/themes/schemas/components/dark/_index.scss +53 -53
  30. package/sass/themes/schemas/components/dark/_input-group.scss +9 -15
  31. package/sass/themes/schemas/components/dark/_label.scss +3 -3
  32. package/sass/themes/schemas/components/dark/_list.scss +8 -9
  33. package/sass/themes/schemas/components/dark/_navbar.scss +3 -3
  34. package/sass/themes/schemas/components/dark/_navdrawer.scss +6 -3
  35. package/sass/themes/schemas/components/dark/_overlay.scss +3 -3
  36. package/sass/themes/schemas/components/dark/_pagination.scss +6 -6
  37. package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +6 -5
  38. package/sass/themes/schemas/components/dark/_progress.scss +14 -10
  39. package/sass/themes/schemas/components/dark/_query-builder.scss +7 -7
  40. package/sass/themes/schemas/components/dark/_radio.scss +26 -36
  41. package/sass/themes/schemas/components/dark/_rating.scss +3 -3
  42. package/sass/themes/schemas/components/dark/_ripple.scss +3 -3
  43. package/sass/themes/schemas/components/dark/_scrollbar.scss +4 -5
  44. package/sass/themes/schemas/components/dark/_select.scss +3 -3
  45. package/sass/themes/schemas/components/dark/_slider.scss +3 -3
  46. package/sass/themes/schemas/components/dark/_snackbar.scss +3 -3
  47. package/sass/themes/schemas/components/dark/_splitter.scss +2 -2
  48. package/sass/themes/schemas/components/dark/_stepper.scss +4 -4
  49. package/sass/themes/schemas/components/dark/_switch.scss +5 -14
  50. package/sass/themes/schemas/components/dark/_tabs.scss +5 -5
  51. package/sass/themes/schemas/components/dark/_time-picker.scss +3 -3
  52. package/sass/themes/schemas/components/dark/_toast.scss +6 -4
  53. package/sass/themes/schemas/components/dark/_tooltip.scss +3 -4
  54. package/sass/themes/schemas/components/dark/_tree.scss +6 -33
  55. package/sass/themes/schemas/components/dark/_watermark.scss +16 -26
  56. package/sass/themes/schemas/components/elevation/_button.scss +2 -2
  57. package/sass/themes/schemas/components/light/_action-strip.scss +9 -0
  58. package/sass/themes/schemas/components/light/_avatar.scss +5 -3
  59. package/sass/themes/schemas/components/light/_badge.scss +5 -0
  60. package/sass/themes/schemas/components/light/_banner.scss +5 -0
  61. package/sass/themes/schemas/components/light/_bottom-nav.scss +5 -0
  62. package/sass/themes/schemas/components/light/_button-group.scss +52 -49
  63. package/sass/themes/schemas/components/light/_button.scss +164 -104
  64. package/sass/themes/schemas/components/light/_calendar.scss +66 -56
  65. package/sass/themes/schemas/components/light/_card.scss +18 -33
  66. package/sass/themes/schemas/components/light/_carousel.scss +7 -0
  67. package/sass/themes/schemas/components/light/_checkbox.scss +37 -53
  68. package/sass/themes/schemas/components/light/_chip.scss +63 -77
  69. package/sass/themes/schemas/components/light/_column-actions.scss +5 -0
  70. package/sass/themes/schemas/components/light/_combo.scss +31 -36
  71. package/sass/themes/schemas/components/light/_date-range-picker.scss +5 -0
  72. package/sass/themes/schemas/components/light/_dialog.scss +5 -0
  73. package/sass/themes/schemas/components/light/_divider.scss +5 -0
  74. package/sass/themes/schemas/components/light/_dock-manager.scss +68 -97
  75. package/sass/themes/schemas/components/light/_drop-down.scss +68 -89
  76. package/sass/themes/schemas/components/light/_expansion-panel.scss +5 -0
  77. package/sass/themes/schemas/components/light/_grid-filtering.scss +6 -9
  78. package/sass/themes/schemas/components/light/_grid-summary.scss +5 -0
  79. package/sass/themes/schemas/components/light/_grid-toolbar.scss +5 -0
  80. package/sass/themes/schemas/components/light/_grid.scss +98 -171
  81. package/sass/themes/schemas/components/light/_highlight.scss +5 -0
  82. package/sass/themes/schemas/components/light/_icon-button.scss +1 -1
  83. package/sass/themes/schemas/components/light/_icon.scss +5 -0
  84. package/sass/themes/schemas/components/light/_index.scss +53 -53
  85. package/sass/themes/schemas/components/light/_input-group.scss +35 -116
  86. package/sass/themes/schemas/components/light/_label.scss +9 -11
  87. package/sass/themes/schemas/components/light/_list.scss +6 -1
  88. package/sass/themes/schemas/components/light/_navbar.scss +6 -1
  89. package/sass/themes/schemas/components/light/_navdrawer.scss +6 -1
  90. package/sass/themes/schemas/components/light/_overlay.scss +6 -1
  91. package/sass/themes/schemas/components/light/_pagination.scss +7 -2
  92. package/sass/themes/schemas/components/light/_pivot-data-selector.scss +6 -1
  93. package/sass/themes/schemas/components/light/_progress.scss +14 -42
  94. package/sass/themes/schemas/components/light/_query-builder.scss +10 -11
  95. package/sass/themes/schemas/components/light/_radio.scss +57 -67
  96. package/sass/themes/schemas/components/light/_rating.scss +22 -42
  97. package/sass/themes/schemas/components/light/_ripple.scss +6 -1
  98. package/sass/themes/schemas/components/light/_scrollbar.scss +6 -12
  99. package/sass/themes/schemas/components/light/_select.scss +20 -18
  100. package/sass/themes/schemas/components/light/_slider.scss +65 -68
  101. package/sass/themes/schemas/components/light/_snackbar.scss +6 -6
  102. package/sass/themes/schemas/components/light/_splitter.scss +6 -2
  103. package/sass/themes/schemas/components/light/_stepper.scss +74 -141
  104. package/sass/themes/schemas/components/light/_switch.scss +101 -141
  105. package/sass/themes/schemas/components/light/_tabs.scss +19 -36
  106. package/sass/themes/schemas/components/light/_time-picker.scss +11 -4
  107. package/sass/themes/schemas/components/light/_toast.scss +6 -1
  108. package/sass/themes/schemas/components/light/_tooltip.scss +6 -1
  109. package/sass/themes/schemas/components/light/_tree.scss +49 -73
  110. package/sass/themes/schemas/components/light/_watermark.scss +6 -1
  111. package/sass/utils/_map.scss +40 -0
@@ -22,7 +22,7 @@
22
22
  /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
23
23
  /// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
24
24
  /// @prop {Number} default-size [1] - The default size used for the button component.
25
- $material-base-button: (
25
+ $light-base-button: (
26
26
  shadow-color: transparent,
27
27
  border-color: transparent,
28
28
  hover-border-color: transparent,
@@ -54,25 +54,143 @@ $material-base-button: (
54
54
 
55
55
  /// @type {Map}
56
56
  /// @prop {Color} background [transparent] - The background color of a flat button.
57
+ /// @prop {Map} focus-foreground [color: ('secondary', 500)] - The focus text color of a flat button.
58
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for flat button.
59
+ /// @requires {Map} $light-base-button
60
+ /// @requires {Map} $flat-elevation-button
61
+ $light-flat-button: extend(
62
+ $light-base-button,
63
+ $flat-elevation-button,
64
+ (
65
+ selector: '[igxButton="flat"], .igx-button--flat',
66
+ background: transparent,
67
+ focus-foreground: (
68
+ color: (
69
+ 'secondary',
70
+ 500,
71
+ ),
72
+ ),
73
+ border-radius: (
74
+ border-radius: (
75
+ rem(4px),
76
+ rem(0),
77
+ rem(20px),
78
+ ),
79
+ ),
80
+ )
81
+ );
82
+
83
+ /// @type {Map}
84
+ /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled focused border color of an outlined button.
85
+ /// @requires {Map} $light-flat-button
86
+ $light-outlined-button: extend(
87
+ $light-flat-button,
88
+ (
89
+ selector: '[igxButton="outlined"], .igx-button--outlined',
90
+ disabled-border-color: (
91
+ color: (
92
+ 'gray',
93
+ 300,
94
+ ),
95
+ ),
96
+ )
97
+ );
98
+
99
+ /// @type {Map}
100
+ /// @prop {Map} background [color: ('secondary', 500)] - The background color of an contained button.
101
+ /// @prop {Map} hover-background [color: ('secondary', 300)] - The hover background of a contained button.
102
+ /// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a contained button.
103
+ /// @prop {Map} focus-visible-background [color: ('secondary', 300)] - The focus-visible background color of a contained button.
104
+ /// @prop {Map} active-background [color: ('secondary', 300)] - The active background color of a contained button.
105
+ /// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a contained button.
106
+ /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
107
+ /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
108
+ /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
109
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for contained button.
110
+ /// @requires {Map} $light-base-button
111
+ /// @requires {Map} $light-contained-elevation
112
+ $light-contained-button: extend(
113
+ $light-base-button,
114
+ $light-contained-elevation,
115
+ (
116
+ selector: '[igxButton="contained"], .igx-button--contained',
117
+ background: (
118
+ color: (
119
+ 'secondary',
120
+ 500,
121
+ ),
122
+ ),
123
+ active-background: (
124
+ color: (
125
+ 'secondary',
126
+ 300,
127
+ ),
128
+ ),
129
+ border-radius: (
130
+ border-radius: (
131
+ rem(4px),
132
+ rem(0),
133
+ rem(20px),
134
+ ),
135
+ ),
136
+ )
137
+ );
138
+
139
+ /// @type {Map}
140
+ /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
141
+ /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
142
+ /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
143
+ /// @prop {List} size [(rem(32px), rem(40px), rem(48px))] - The size used for floating button.
144
+ /// @requires {Map} $light-contained-button
145
+ /// @requires {Map} $light-fab-elevation
146
+ $light-fab-button: extend(
147
+ $light-contained-button,
148
+ $light-fab-elevation,
149
+ (
150
+ selector: '[igxButton="fab"], .igx-button--fab',
151
+ size: (
152
+ sizable: (
153
+ rem(32px),
154
+ rem(40px),
155
+ rem(48px),
156
+ ),
157
+ ),
158
+ )
159
+ );
160
+
161
+ /// Generates a light button schema.
162
+ /// @type {Map}
163
+ /// @requires {Map} $light-flat-button
164
+ /// @requires {Map} $light-outlined-button
165
+ /// @requires {Map} $light-contained-button
166
+ /// @requires {Map} $light-fab-button
167
+ $light-button: (
168
+ flat: $light-flat-button,
169
+ outlined: $light-outlined-button,
170
+ contained: $light-contained-button,
171
+ fab: $light-fab-button,
172
+ );
173
+
174
+ /// @type {Map}
175
+ /// @requires {Map} $light-base-button
176
+ $material-base-button: $light-base-button;
177
+
178
+ /// @type {Map}
57
179
  /// @prop {Map} foreground [color: ('secondary', 500)] - The idle text color of a flat button.
58
180
  /// @prop {Map} hover-background [color: ('secondary', 500, .05)] - The hover background color of a flat button.
59
181
  /// @prop {Map} hover-foreground [color: ('secondary', 500)] - The hover text color of a flat button.
60
182
  /// @prop {Map} focus-background [color: ('secondary', 400, .12)] - The focus background color of a flat button.
61
- /// @prop {Map} focus-foreground [color: ('secondary', 500)] - The focus text color of a flat button.
62
183
  /// @prop {Map} focus-visible-background ['secondary', 400, .12)] - The focus-visible background color of a flat button.
63
184
  /// @prop {Map} focus-visible-foreground ['secondary', 500)] - The focus-visible text color of a flat button.
64
185
  /// @prop {Map} active-background [color: ('secondary', 400, .12)] - The active background color of a flat button.
65
186
  /// @prop {Map} active-foreground [color: ('secondary', 500)] - The active text color of a flat button.
66
187
  /// @prop {Color} disabled-background [transparent] - The disabled background color a flat button.
67
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for flat button.
68
188
  /// @requires {Map} $material-base-button
69
- /// @requires {Map} $flat-elevation-button
189
+ /// @requires {Map} $light-flat-button
70
190
  $material-flat-button: extend(
71
191
  $material-base-button,
72
- $flat-elevation-button,
192
+ $light-flat-button,
73
193
  (
74
- selector: '[igxButton="flat"], .igx-button--flat',
75
- background: transparent,
76
194
  foreground: (
77
195
  color: (
78
196
  'secondary',
@@ -99,12 +217,6 @@ $material-flat-button: extend(
99
217
  0.12,
100
218
  ),
101
219
  ),
102
- focus-foreground: (
103
- color: (
104
- 'secondary',
105
- 500,
106
- ),
107
- ),
108
220
  focus-visible-background: (
109
221
  color: (
110
222
  'secondary',
@@ -132,13 +244,6 @@ $material-flat-button: extend(
132
244
  ),
133
245
  ),
134
246
  disabled-background: transparent,
135
- border-radius: (
136
- border-radius: (
137
- rem(4px),
138
- rem(0),
139
- rem(20px),
140
- ),
141
- ),
142
247
  )
143
248
  );
144
249
 
@@ -148,12 +253,12 @@ $material-flat-button: extend(
148
253
  /// @prop {Map} focus-border-color [color: ('secondary', 500)] - The focus border color of an outlined button.
149
254
  /// @prop {Map} focus-visible-border-color [color: ('secondary', 500)] - The focus-visible border color of an outlined button.
150
255
  /// @prop {Map} active-border-color [color: ('secondary', 500)] - The active border color of an outlined button.
151
- /// @prop {Map} disabled-border-color [color: ('gray', 300)] - The disabled focused border color of an outlined button.
152
- /// @requires {Map} $material-flat-button
256
+ /// @requires {Map} $material-base-button
257
+ /// @requires {Map} $light-outlined-button
153
258
  $material-outlined-button: extend(
154
259
  $material-flat-button,
260
+ $light-outlined-button,
155
261
  (
156
- selector: '[igxButton="outlined"], .igx-button--outlined',
157
262
  border-color: (
158
263
  color: (
159
264
  'secondary',
@@ -184,43 +289,21 @@ $material-outlined-button: extend(
184
289
  500,
185
290
  ),
186
291
  ),
187
- disabled-border-color: (
188
- color: (
189
- 'gray',
190
- 300,
191
- ),
192
- ),
292
+ disabled-background: transparent,
193
293
  )
194
294
  );
195
295
 
196
296
  /// @type {Map}
197
- /// @prop {Map} background [color: ('secondary', 500)] - The background color of an contained button.
198
297
  /// @prop {Map} foreground [contrast-color: ('secondary', 500)] - The idle text color of a contained button.
199
- /// @prop {Map} hover-background [color: ('secondary', 300)] - The hover background of a contained button.
200
298
  /// @prop {Map} hover-foreground [contrast-color: ('secondary', 300)] - The hover text color of a contained button.
201
- /// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a contained button.
202
299
  /// @prop {Map} focus-foreground [contrast-color: ('secondary', 300)] - The focus text color of a contained button.
203
- /// @prop {Map} focus-visible-background [color: ('secondary', 300)] - The focus-visible background color of a contained button.
204
300
  /// @prop {Map} focus-visible-foreground [contrast-color: ('secondary', 300)] - The focus-visible text color of a contained button.
205
- /// @prop {Map} active-background [color: ('secondary', 300)] - The active background color of a contained button.
206
- /// @prop {Map} active-foreground [contrast-color: ('secondary', 300)] - The active text color of a contained button.
207
- /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
208
- /// @prop {Number} hover-elevation [4] - The elevation level, between 0-24, to be used for the hover state.
209
- /// @prop {Number} focus-elevation [8] - The elevation level, between 0-24, to be used for the focus state.
210
- /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for contained button.
301
+ /// @requires {Map} $light-contained-button
211
302
  /// @requires {Map} $material-base-button
212
- /// @requires {Map} $material-contained-elevation
213
303
  $material-contained-button: extend(
214
304
  $material-base-button,
215
- $material-contained-elevation,
305
+ $light-contained-button,
216
306
  (
217
- selector: '[igxButton="contained"], .igx-button--contained',
218
- background: (
219
- color: (
220
- 'secondary',
221
- 500,
222
- ),
223
- ),
224
307
  foreground: (
225
308
  contrast-color: (
226
309
  'secondary',
@@ -263,39 +346,23 @@ $material-contained-button: extend(
263
346
  300,
264
347
  ),
265
348
  ),
266
- active-background: (
267
- color: (
268
- 'secondary',
269
- 300,
270
- ),
271
- ),
272
349
  active-foreground: (
273
350
  contrast-color: (
274
351
  'secondary',
275
352
  300,
276
353
  ),
277
354
  ),
278
- border-radius: (
279
- border-radius: (
280
- rem(4px),
281
- rem(0),
282
- rem(20px),
283
- ),
284
- ),
285
355
  )
286
356
  );
287
357
 
288
358
  /// @type {Map}
289
- /// @prop {Number} resting-elevation [6] - The elevation level, between 0-24, to be used for the resting state.
290
- /// @prop {Number} hover-elevation [12] - The elevation level, between 0-24, to be used for the hover state.
291
- /// @prop {Number} focus-elevation [12] - The elevation level, between 0-24, to be used for the focus state.
292
359
  /// @prop {List} border-radius [(rem(28px), rem(12px), rem(28px))] - The border radius used for floating button.
293
- /// @prop {List} size [(rem(32px), rem(40px), rem(48px))] - The size used for floating button.
294
- /// @requires {Map} $material-contained-button
295
- /// @requires {Map} $material-fab-elevation
360
+ /// @requires {Map} $light-fab-button
361
+ /// @requires {Map} $material-base-button
296
362
  $material-fab-button: extend(
363
+ $material-base-button,
297
364
  $material-contained-button,
298
- $material-fab-elevation,
365
+ $light-fab-button,
299
366
  (
300
367
  selector: '[igxButton="fab"], .igx-button--fab',
301
368
  border-radius: (
@@ -305,13 +372,6 @@ $material-fab-button: extend(
305
372
  rem(28px),
306
373
  ),
307
374
  ),
308
- size: (
309
- sizable: (
310
- rem(32px),
311
- rem(40px),
312
- rem(48px),
313
- ),
314
- ),
315
375
  )
316
376
  );
317
377
 
@@ -321,7 +381,7 @@ $material-fab-button: extend(
321
381
  /// @requires {Map} $material-outlined-button
322
382
  /// @requires {Map} $material-contained-button
323
383
  /// @requires {Map} $material-fab-button
324
- $light-button: (
384
+ $material-button: (
325
385
  flat: $material-flat-button,
326
386
  outlined: $material-outlined-button,
327
387
  contained: $material-contained-button,
@@ -329,14 +389,14 @@ $light-button: (
329
389
  );
330
390
 
331
391
  /// @type {Map}
332
- /// @requires {Map} $material-base-button
392
+ /// @requires {Map} $light-base-button
333
393
  /// @requires {Map} $flat-elevation-button
334
394
  /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of the button.
335
395
  /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the button.
336
396
  /// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the button.
337
397
  /// @prop {Number} default-size [2] - The default size used for the button component.
338
398
  $fluent-base-button: extend(
339
- $material-base-button,
399
+ $light-base-button,
340
400
  $flat-elevation-button,
341
401
  (
342
402
  disabled-background: (
@@ -373,10 +433,10 @@ $fluent-base-button: extend(
373
433
  /// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
374
434
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
375
435
  /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for flat button.
376
- /// @requires {Map} $material-flat-button
436
+ /// @requires {Map} $light-flat-button
377
437
  /// @requires {Map} $fluent-base-button
378
438
  $fluent-flat-button: extend(
379
- $material-flat-button,
439
+ $light-flat-button,
380
440
  $fluent-base-button,
381
441
  (
382
442
  foreground: (
@@ -442,10 +502,10 @@ $fluent-flat-button: extend(
442
502
  /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of an outlined button.
443
503
  /// @prop {Map} disabled-foreground [color: ('gray', 400, .5)] - The disabled foreground color of an outlined button.
444
504
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for outlined button.
445
- /// @requires {Map} $material-outlined-button
505
+ /// @requires {Map} $light-outlined-button
446
506
  /// @requires {Map} $fluent-base-button
447
507
  $fluent-outlined-button: extend(
448
- $material-outlined-button,
508
+ $light-outlined-button,
449
509
  $fluent-base-button,
450
510
  (
451
511
  border-color: (
@@ -570,10 +630,10 @@ $fluent-outlined-button: extend(
570
630
  /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
571
631
  /// @prop {Number} focus-elevation [0] - The elevation level, between 0-24, to be used for the focus state.
572
632
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for contained button.
573
- /// @requires {Map} $material-contained-button
633
+ /// @requires {Map} $light-contained-button
574
634
  /// @requires {Map} $fluent-base-button
575
635
  $fluent-contained-button: extend(
576
- $material-contained-button,
636
+ $light-contained-button,
577
637
  $fluent-base-button,
578
638
  (
579
639
  border-color: (
@@ -751,10 +811,10 @@ $fluent-button: (
751
811
  /// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the button.
752
812
  /// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the button.
753
813
  /// @prop {Number} default-size [2] - The default size used for the button component.
754
- /// @requires {Map} $material-base-button
814
+ /// @requires {Map} $light-base-button
755
815
  /// @requires {Map} $flat-elevation-button
756
816
  $bootstrap-base-button: extend(
757
- $material-base-button,
817
+ $light-base-button,
758
818
  $flat-elevation-button,
759
819
  (
760
820
  disabled-foreground: (
@@ -791,10 +851,10 @@ $bootstrap-base-button: extend(
791
851
  /// @prop {Map} active-background [transparent] - The active background color of a flat button.
792
852
  /// @prop {Map} active-foreground [color: ('primary', 600)] - The active background color of a flat button.
793
853
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a flat button.
794
- /// @requires {Map} $material-flat-button
854
+ /// @requires {Map} $light-flat-button
795
855
  /// @requires {Map} $bootstrap-base-button
796
856
  $bootstrap-flat-button: extend(
797
- $material-flat-button,
857
+ $light-flat-button,
798
858
  $bootstrap-base-button,
799
859
  (
800
860
  foreground: (
@@ -860,10 +920,10 @@ $bootstrap-flat-button: extend(
860
920
  /// @prop {Map} disabled-border-color [color: ('primary', 50), lighten: 35%] - The disabled focused border color of an outlined button.
861
921
  /// @prop {Color} disabled-background [transparent] - The disabled background color of an outlined button.
862
922
  /// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
863
- /// @requires {Map} $material-outlined-button
923
+ /// @requires {Map} $light-outlined-button
864
924
  /// @requires {Map} $bootstrap-base-button
865
925
  $bootstrap-outlined-button: extend(
866
- $material-outlined-button,
926
+ $light-outlined-button,
867
927
  $bootstrap-base-button,
868
928
  (
869
929
  foreground: (
@@ -969,10 +1029,10 @@ $bootstrap-outlined-button: extend(
969
1029
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of an contained button.
970
1030
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of an contained button.
971
1031
  /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a contained button.
972
- /// @requires {Map} $material-contained-button
1032
+ /// @requires {Map} $light-contained-button
973
1033
  /// @requires {Map} $bootstrap-base-button
974
1034
  $bootstrap-contained-button: extend(
975
- $material-contained-button,
1035
+ $light-contained-button,
976
1036
  $bootstrap-base-button,
977
1037
  (
978
1038
  background: (
@@ -1055,11 +1115,11 @@ $bootstrap-contained-button: extend(
1055
1115
  /// @prop {Map} active-background [color: ('primary', 700)] - The active background color of a fab button.
1056
1116
  /// @prop {Map} active-foreground [contrast-color: ('primary', 700)] - The active text color of a fab button.
1057
1117
  /// @prop {List} border-radius [(rem(15px), rem(12px), rem(28px))] - The border radius used for outlined button.
1058
- /// @requires {Map} $material-fab-button
1118
+ /// @requires {Map} $light-fab-button
1059
1119
  /// @requires {Map} $bootstrap-base-button
1060
1120
  /// @requires {Map} $bootstrap-contained-button
1061
1121
  $bootstrap-fab-button: extend(
1062
- $material-fab-button,
1122
+ $light-fab-button,
1063
1123
  $bootstrap-base-button,
1064
1124
  $bootstrap-contained-button,
1065
1125
  (
@@ -1142,9 +1202,9 @@ $bootstrap-button: (
1142
1202
  );
1143
1203
 
1144
1204
  /// @type {Map}
1145
- /// @requires {Map} $material-base-button
1205
+ /// @requires {Map} $light-base-button
1146
1206
  /// @requires {Map} $flat-elevation-button
1147
- $indigo-base-button: extend($material-base-button, $flat-elevation-button);
1207
+ $indigo-base-button: extend($light-base-button, $flat-elevation-button);
1148
1208
 
1149
1209
  /// @type {Map}
1150
1210
  /// @prop {Map} foreground [color: ('gray', 700)] - The idle text color of a flat button.
@@ -1160,10 +1220,10 @@ $indigo-base-button: extend($material-base-button, $flat-elevation-button);
1160
1220
  /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a flat button.
1161
1221
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for flat button.
1162
1222
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the flat button.
1163
- /// @requires {Map} $material-flat-button
1223
+ /// @requires {Map} $light-flat-button
1164
1224
  /// @requires {Map} $indigo-base-button
1165
1225
  $indigo-flat-button: extend(
1166
- $material-flat-button,
1226
+ $light-flat-button,
1167
1227
  $indigo-base-button,
1168
1228
  (
1169
1229
  foreground: (
@@ -1244,10 +1304,10 @@ $indigo-flat-button: extend(
1244
1304
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
1245
1305
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the outlined button.
1246
1306
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the outlined button.
1247
- /// @requires {Map} $material-outlined-button
1307
+ /// @requires {Map} $light-outlined-button
1248
1308
  /// @requires {Map} $indigo-base-button
1249
1309
  $indigo-outlined-button: extend(
1250
- $material-outlined-button,
1310
+ $light-outlined-button,
1251
1311
  $indigo-base-button,
1252
1312
  (
1253
1313
  background: transparent,
@@ -1341,10 +1401,10 @@ $indigo-outlined-button: extend(
1341
1401
  /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a contained button.
1342
1402
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the contained button.
1343
1403
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the contained button.
1344
- /// @requires {Map} $material-contained-button
1404
+ /// @requires {Map} $light-contained-button
1345
1405
  /// @requires {Map} $indigo-base-button
1346
1406
  $indigo-contained-button: extend(
1347
- $material-contained-button,
1407
+ $light-contained-button,
1348
1408
  $indigo-base-button,
1349
1409
  (
1350
1410
  foreground: (
@@ -1425,11 +1485,11 @@ $indigo-contained-button: extend(
1425
1485
  /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a fab button.
1426
1486
  /// @prop {List} border-radius [(rem(36px), rem(42px), rem(48px))] - The border radius used for fab button.
1427
1487
  /// @prop {List} size [(rem(36px), rem(42px), rem(48px))] - The size used for the fab button.
1428
- /// @requires {Map} $material-fab-button
1488
+ /// @requires {Map} $light-fab-button
1429
1489
  /// @requires {Map} $indigo-base-button
1430
1490
  /// @requires {Map} $indigo-contained-button
1431
1491
  $indigo-fab-button: extend(
1432
- $material-fab-button,
1492
+ $light-fab-button,
1433
1493
  $indigo-base-button,
1434
1494
  $indigo-contained-button,
1435
1495
  (
@@ -49,12 +49,8 @@
49
49
  /// @prop {Map} date-focus-background [color: ('secondary', 100)] - The focus date background color.
50
50
  /// @prop {Map} date-hover-foreground [contrast-color: 'secondary', 100] - The hover date text color.
51
51
  /// @prop {Map} date-focus-foreground [contrast-color: 'secondary', 100] - The focused date text color.
52
- /// @prop {Map} date-selected-background [color: ('secondary', 500)] - The background color for the selected date.
53
- /// @prop {Map} date-selected-text-color [contrast-color: ('secondary', 600)] - The text color for the selected date.
54
52
  /// @prop {Map} date-selected-hover-background [color: ('secondary', 700)] - The hover background color for the selected date.
55
53
  /// @prop {Map} date-selected-focus-background [color: ('secondary', 700)] - The focus background color for the selected date.
56
- /// @prop {Map} date-selected-hover-foreground [contrast-color: ('gray', 600)] - The hover text color for the selected date.
57
- /// @prop {Map} date-selected-focus-foreground [contrast-color: ('gray', 600)] - The focus text color for the selected date.
58
54
  /// @prop {Map} date-selected-color-range [contrast-color: ('secondary', 50)] - The text color for the selected range.
59
55
  /// @prop {Map} date-selected-background-range [color: ('secondary', 50)] - The background color for the selected range.
60
56
  /// @prop {Map} date-selected-color-range-hover [contrast-color: ('secondary', 100)] - The text color for the selected range on hover/focus.
@@ -70,9 +66,6 @@
70
66
  /// @prop {Map} current-outline-focus [color: ('surface', 500)] - The outline color for the current date on focus.
71
67
  /// @prop {Map} current-selected-outline [color: ('surface', 500)] - The outline color for the current selected date.
72
68
  /// @prop {Map} date-current-bg-color [color: ('surface', 500)] - The background color for the current date.
73
- /// @prop {Map} date-current-text-color [color: ('gray', 800)] - The text color for the current date.
74
- /// @prop {Map} date-current-hover-foreground [contrast-color: ('secondary', 200)] - The hover text color for the current date.
75
- /// @prop {Map} date-current-focus-foreground [contrast-color: ('secondary', 200)] - The focus text color for the current date.
76
69
  /// @prop {Map} date-current-hover-background [color: ('secondary', 100)] - The hover background color for the current date.
77
70
  /// @prop {Map} date-current-focus-background [color: ('secondary', 100)] - The focus background color for the current date.
78
71
  /// @prop {Map} date-special-background [color: ('gray', 100)] - The background color used for special dates.
@@ -266,13 +259,6 @@ $light-calendar: (
266
259
  ),
267
260
  ),
268
261
 
269
- date-selected-background: (
270
- color: (
271
- 'secondary',
272
- 500,
273
- ),
274
- ),
275
-
276
262
  date-selected-hover-background: (
277
263
  color: (
278
264
  'secondary',
@@ -308,27 +294,6 @@ $light-calendar: (
308
294
  ),
309
295
  ),
310
296
 
311
- date-selected-text-color: (
312
- contrast-color: (
313
- 'secondary',
314
- 600,
315
- ),
316
- ),
317
-
318
- date-selected-hover-foreground: (
319
- contrast-color: (
320
- 'secondary',
321
- 600,
322
- ),
323
- ),
324
-
325
- date-selected-focus-foreground: (
326
- contrast-color: (
327
- 'secondary',
328
- 600,
329
- ),
330
- ),
331
-
332
297
  date-selected-color-range: (
333
298
  contrast-color: (
334
299
  'secondary',
@@ -357,27 +322,6 @@ $light-calendar: (
357
322
  ),
358
323
  ),
359
324
 
360
- date-current-text-color: (
361
- color: (
362
- 'gray',
363
- 800,
364
- ),
365
- ),
366
-
367
- date-current-hover-foreground: (
368
- contrast-color: (
369
- 'secondary',
370
- 200,
371
- ),
372
- ),
373
-
374
- date-current-focus-foreground: (
375
- contrast-color: (
376
- 'secondary',
377
- 200,
378
- ),
379
- ),
380
-
381
325
  date-selected-current-foreground: (
382
326
  contrast-color: (
383
327
  'secondary',
@@ -563,12 +507,77 @@ $light-calendar: (
563
507
  ),
564
508
  );
565
509
 
510
+ /// Generates a material calendar schema.
511
+ /// @type {Map}
512
+ /// @prop {Map} date-selected-background [color: ('secondary', 500)] - The background color for the selected date.
513
+ /// @prop {Map} date-selected-text-color [contrast-color: ('secondary', 600)] - The text color for the selected date.
514
+ /// @prop {Map} date-selected-hover-foreground [contrast-color: ('secondary', 600)] - The hover text color for the selected date.
515
+ /// @prop {Map} date-selected-focus-foreground [contrast-color: ('secondary', 600)] - The focus text color for the selected date.
516
+ /// @prop {Map} date-current-text-color [color: ('gray', 800)] - The text color for the current date.
517
+ /// @prop {Map} date-current-hover-foreground [contrast-color: ('secondary', 200)] - The hover text color for the current date.
518
+ /// @prop {Map} date-current-focus-foreground [contrast-color: ('secondary', 200)] - The focus text color for the current date.
519
+ /// @requires {Map} $light-calendar
520
+ $material-calendar: extend(
521
+ $light-calendar,
522
+ (
523
+ date-selected-background: (
524
+ color: (
525
+ 'secondary',
526
+ 500,
527
+ ),
528
+ ),
529
+
530
+ date-selected-text-color: (
531
+ contrast-color: (
532
+ 'secondary',
533
+ 600,
534
+ ),
535
+ ),
536
+
537
+ date-selected-hover-foreground: (
538
+ contrast-color: (
539
+ 'secondary',
540
+ 600,
541
+ ),
542
+ ),
543
+
544
+ date-selected-focus-foreground: (
545
+ contrast-color: (
546
+ 'secondary',
547
+ 600,
548
+ ),
549
+ ),
550
+
551
+ date-current-text-color: (
552
+ color: (
553
+ 'gray',
554
+ 800,
555
+ ),
556
+ ),
557
+
558
+ date-current-hover-foreground: (
559
+ contrast-color: (
560
+ 'secondary',
561
+ 200,
562
+ ),
563
+ ),
564
+
565
+ date-current-focus-foreground: (
566
+ contrast-color: (
567
+ 'secondary',
568
+ 200,
569
+ ),
570
+ ),
571
+ )
572
+ );
573
+
566
574
  /// Generates a fluent calendar schema.
567
575
  /// @type {Map}
568
576
  /// @prop {Color} date-current-text-color [color: 'surface'] - The text color for the current date.
569
577
  /// @prop {Map} date-current-bg-color [color: ('primary', 500)] - The background color for the current date.
570
578
  /// @prop {Map} date-selected-background [color: ('primary', 50)] - The background color for the selected date.
571
579
  /// @prop {Map} date-selected-text-color [color: ('primary', 100)] - The text color for the selected date.
580
+ /// @prop {Map} date-selected-focus-foreground [contrast-color: ('primary', 50)] - The focus text color for the selected date.
572
581
  /// @prop {Map} date-selected-current-hover-foreground [contrast-color: ('primary', 600)] - The hover text color for the selected/current date.
573
582
  /// @prop {Map} date-selected-current-focus-foreground [contrast-color: ('primary', 600)] - The focus text color for the selected/current date.
574
583
  /// @prop {Map} date-current-hover-background [color: ('primary', 500)] - The hover background color for the current date.
@@ -715,6 +724,7 @@ $fluent-calendar: extend(
715
724
 
716
725
  /// Generates a bootstrap calendar schema.
717
726
  /// @type {Map}
727
+ /// @prop {Map} content-text-color [color: ('gray', 900)] - The main content text color.
718
728
  /// @prop {Map} year-hover-text-color [color: ('primary', 500)] - The year hover text color.
719
729
  /// @prop {Map} date-special-background [color: ('warn')] - The background color used for special dates.
720
730
  /// @prop {Map} month-hover-text-color [color: ('primary', 500)] - The month hover text color.