igniteui-theming 3.3.0 → 3.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "3.3.0",
3
+ "version": "3.4.0-beta.1",
4
4
  "description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1556,11 +1556,12 @@ $indigo-flat-button: extend(
1556
1556
  /// @prop {Map} focus-border-color [color: 'gray'] - The focus border color of a outlined button.
1557
1557
  /// @prop {Map} focus-visible-border-color [color: 'gray'] - The focus-visible border color of a outlined button.
1558
1558
  /// @prop {Map} active-border-color [color: 'gray'] - The active border color of a outlined button.
1559
- /// @prop {Color} active-background [transparent] - The active background color of a flat button.
1560
- /// @prop {Color} active-foreground [color: ('gray', 900)] - The active text color of a flat button.
1559
+ /// @prop {Color} active-background [transparent] - The active background color of a outlined button.
1560
+ /// @prop {Color} active-foreground [color: ('gray', 900)] - The active text color of a outlined button.
1561
1561
  /// @prop {Map} shadow-color [color: ('gray', 300)] - The shadow color of a outlined button.
1562
1562
  /// @prop {Color} disabled-background [transparent] - The disabled background color of a outlined button.
1563
- /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for flat button.
1563
+ /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the outlined button.
1564
+ /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the outlined button.
1564
1565
  /// @requires {Map} $material-outlined-button
1565
1566
  /// @requires {Map} $indigo-base-button
1566
1567
  $indigo-outlined-button: extend(
@@ -1636,6 +1637,13 @@ $indigo-outlined-button: extend(
1636
1637
  rem(20px),
1637
1638
  ),
1638
1639
  ),
1640
+ size: (
1641
+ sizable: (
1642
+ rem(28px),
1643
+ rem(32px),
1644
+ rem(36px),
1645
+ ),
1646
+ ),
1639
1647
  )
1640
1648
  );
1641
1649
 
@@ -1649,7 +1657,8 @@ $indigo-outlined-button: extend(
1649
1657
  /// @prop {Map} focus-visible-foreground [ color: ('gray', 50)] - The focus-visible text color of a raised button.
1650
1658
  /// @prop {Map} active-background [color: ('gray', 50)] - The active background color of a raised button.
1651
1659
  /// @prop {Map} shadow-color [color: ('primary', 200)] - The shadow color of a raised button.
1652
- /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for flat button.
1660
+ /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the raised button.
1661
+ /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the raised button.
1653
1662
  /// @requires {Map} $material-raised-button
1654
1663
  /// @requires {Map} $indigo-base-button
1655
1664
  $indigo-raised-button: extend(
@@ -1717,6 +1726,13 @@ $indigo-raised-button: extend(
1717
1726
  rem(20px),
1718
1727
  ),
1719
1728
  ),
1729
+ size: (
1730
+ sizable: (
1731
+ rem(28px),
1732
+ rem(32px),
1733
+ rem(36px),
1734
+ ),
1735
+ ),
1720
1736
  )
1721
1737
  );
1722
1738
 
@@ -1792,6 +1808,7 @@ $indigo-fab-button: extend(
1792
1808
  /// @prop {Map} focus-visible-border-color [color: ('gray' 300)] - The focus-visible border color of the button.
1793
1809
  /// @prop {Map} active-border-color [color: ('gray' 300)] - The active border color of the button.
1794
1810
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the icon button.
1811
+ /// @prop {Number} default-size [2] - The default size used for the icon button component.
1795
1812
  /// @requires {Map} $material-icon-button
1796
1813
  /// @requires {Map} $indigo-base-button
1797
1814
  $indigo-icon-button: extend(
@@ -1855,6 +1872,7 @@ $indigo-icon-button: extend(
1855
1872
  rem(36px),
1856
1873
  ),
1857
1874
  ),
1875
+ default-size: 2,
1858
1876
  )
1859
1877
  );
1860
1878
 
@@ -12,28 +12,35 @@
12
12
  /// @prop {Map} content-background [color: 'surface'] - The main content background color.
13
13
  /// @prop {Map} content-text-color [contrast-color: 'surface'] - The main content text color.
14
14
  /// @prop {Map} header-background [color: ('secondary', 500)] - The header background color.
15
- /// @prop {Map} header-text-color [contrast-color: ('secondary', 500)] - The header text color.
15
+ /// @prop {Map} header-text-color [contrast-color: ('secondary', 600)] - The header text color.
16
16
  /// @prop {Map} picker-arrow-color [color: ('gray', 800)] - The idle picker arrow color.
17
17
  /// @prop {Map} picker-arrow-hover-color [color: ('secondary', 500)] - The picker hover arrow color.
18
18
  /// @prop {Map} picker-text-color [color: ('gray', 800)]- The idle picker month/year color.
19
19
  /// @prop {Map} picker-text-hover-color [color: ('secondary', 500)]- The hover picker month/year color.
20
20
  /// @prop {Map} inactive-text-color [color: ('gray', 400)] - The text color for previous and next month dates.
21
- /// @prop {Map} label-color [color: ('gray', 400)] - The text color for weekday labels.
21
+ /// @prop {Map} label-color [color: ('gray', 800)] - The text color for weekday labels.
22
22
  /// @prop {Map} weekend-text-color [contrast-color: 'surface'] - The text color for weekend days.
23
- /// @prop {Map} year-current-text-color [color: ('secondary', 500)] - The text color for the current/selected year.
23
+ /// @prop {Map} year-current-text-color [color: ('gray', 900)] - The text color for the current year.
24
+ /// @prop {Map} year-selected-current-text-color [contrast-color: ('secondary', 600)] - The text color for the current/selected year.
24
25
  /// @prop {Map} year-hover-text-color [color: ('secondary', 500)] - The year hover text color.
25
26
  /// @prop {Map} month-hover-text-color [contrast-color: ('gray', 200)] - The month hover text color.
26
27
  /// @prop {Map} month-hover-background [color: ('gray', 200)] - The month hover text color.
27
- /// @prop {Map} month-current-text-color [color: ('secondary', 500)]- The text color for the current/selected month.
28
- /// @prop {Map} month-hover-current-text-color [color: ('secondary', 500)]- The text color for the current/selected month on hover.
28
+ /// @prop {Map} month-current-text-color [color: ('gray', 900)]- The text color for the current month.
29
+ /// @prop {Map} month-selected-current-text-color [contrast-color: ('secondary', 600)]- The text color for the current/selected month.
30
+ /// @prop {Map} month-hover-current-text-color [color: ('secondary', 500)]- The text color for the current month on hover.
31
+ /// @prop {Map} month-hover-selected-current-text-color [color: ('secondary', 500)]- The text color for the current/selected month on hover.
29
32
  /// @prop {Map} date-hover-background [color: ('gray', 200)] - The hover date background color.
30
33
  /// @prop {Map} date-focus-background [color: ('gray', 200)] - The focus date background color.
31
34
  /// @prop {Map} date-selected-background [color: ('secondary', 500)] - The background color for the selected date.
32
35
  /// @prop {Map} date-selected-text-color [contrast-color: ('secondary', 500)] - The text color for the selected date.
33
- /// @prop {Map} date-selected-hover-background [color: ('gray', 100, .18)] - The hover background color for the selected date.
34
- /// @prop {Map} date-selected-focus-background [color: ('gray', 100, .18)] - The focus background color for the selected date.
36
+ /// @prop {Map} date-selected-hover-background [color: ('secondary', 700)] - The hover background color for the selected date.
37
+ /// @prop {Map} date-selected-focus-background [color: ('secondary', 700)] - The focus background color for the selected date.
35
38
  /// @prop {Map} date-selected-hover-foreground [contrast-color: ('gray', 100)] - The hover text color for the selected date.
36
39
  /// @prop {Map} date-selected-focus-foreground [contrast-color: ('gray', 100)] - The focus text color for the selected date.
40
+ /// @prop {Map} date-selected-background-range [color: ('secondary', 50)] - The background color for the selected range.
41
+ /// @prop {Map} date-selected-background-selected-range-hover [color: ('secondary', 100)] - The background color for the selected range on hover/focus.
42
+ /// @prop {Map} date-selected-color-range [contrast-color: ('secondary', 50)] - The text color for the selected range.
43
+ /// @prop {Map} date-selected-color-selected-range-hover [contrast-color: ('secondary', 100)] - The text color for the selected range on hover/focus.
37
44
  /// @prop {Map} date-current-bg-color [color: (transparent)] - The background color for the current date.
38
45
  /// @prop {Map} date-current-text-color [color: ('secondary', 500)] - The text color for the current date.
39
46
  /// @prop {Map} date-current-hover-foreground [color: ('secondary', 500)] - The hover text color for the current date.
@@ -49,7 +56,7 @@
49
56
  /// @prop {Map} date-special-background [color: ('gray', 100)] - The background color used for special dates.
50
57
  /// @prop {Map} date-special-text-color [color: ('gray', 900)] - The text color used for special dates.
51
58
  /// @prop {Map} date-disabled-text-color [color: ('gray', 400)] - The text color for disabled dates.
52
- /// @prop {Map} date-disabled-background [color: ('gray', 100)] - The background color for disabled dates.
59
+ /// @prop {Map} date-disabled-background [color: ('secondary', 50)] - The background color for disabled dates.
53
60
  /// @prop {Color} picker-background-color [color: 'surface'] - The igx calendar picker background color.
54
61
  /// @prop {Map} border-color [color: ('gray', 300)] - The calendar border color.
55
62
  /// @prop {Map} week-number-color [color: ('gray', 500)] - The text color of the week number column.
@@ -84,7 +91,7 @@ $light-calendar: (
84
91
  header-text-color: (
85
92
  contrast-color: (
86
93
  'secondary',
87
- 500,
94
+ 600,
88
95
  ),
89
96
  ),
90
97
 
@@ -130,7 +137,7 @@ $light-calendar: (
130
137
  label-color: (
131
138
  color: (
132
139
  'gray',
133
- 400,
140
+ 800,
134
141
  ),
135
142
  ),
136
143
 
@@ -140,22 +147,43 @@ $light-calendar: (
140
147
 
141
148
  year-current-text-color: (
142
149
  color: (
150
+ 'gray',
151
+ 900,
152
+ ),
153
+ ),
154
+
155
+ year-selected-current-text-color: (
156
+ contrast-color: (
143
157
  'secondary',
144
- 500,
158
+ 600,
145
159
  ),
146
160
  ),
147
161
 
148
162
  month-current-text-color: (
149
163
  color: (
164
+ 'gray',
165
+ 900,
166
+ ),
167
+ ),
168
+
169
+ month-selected-current-text-color: (
170
+ contrast-color: (
150
171
  'secondary',
151
- 500,
172
+ 600,
152
173
  ),
153
174
  ),
154
175
 
155
176
  month-hover-current-text-color: (
156
177
  color: (
178
+ 'gray',
179
+ 900,
180
+ ),
181
+ ),
182
+
183
+ month-hover-selected-current-text-color: (
184
+ contrast-color: (
157
185
  'secondary',
158
- 500,
186
+ 600,
159
187
  ),
160
188
  ),
161
189
 
@@ -189,17 +217,15 @@ $light-calendar: (
189
217
 
190
218
  date-selected-hover-background: (
191
219
  color: (
192
- 'gray',
193
- 100,
194
- 0.18,
220
+ 'secondary',
221
+ 700,
195
222
  ),
196
223
  ),
197
224
 
198
225
  date-selected-focus-background: (
199
226
  color: (
200
- 'gray',
201
- 100,
202
- 0.18,
227
+ 'secondary',
228
+ 700,
203
229
  ),
204
230
  ),
205
231
 
@@ -212,110 +238,141 @@ $light-calendar: (
212
238
 
213
239
  date-selected-current-hover-background: (
214
240
  color: (
215
- 'gray',
216
- 100,
217
- 0.18,
241
+ 'secondary',
242
+ 700,
218
243
  ),
219
244
  ),
220
245
 
221
246
  date-selected-current-focus-background: (
222
247
  color: (
223
- 'gray',
224
- 100,
225
- 0.18,
248
+ 'secondary',
249
+ 700,
226
250
  ),
227
251
  ),
228
252
 
229
253
  date-selected-text-color: (
230
254
  contrast-color: (
231
255
  'secondary',
232
- 500,
256
+ 900,
233
257
  ),
234
258
  ),
235
259
 
236
260
  date-selected-hover-foreground: (
237
261
  contrast-color: (
238
- 'gray',
239
- 100,
262
+ 'secondary',
263
+ 900,
240
264
  ),
241
265
  ),
242
266
 
243
267
  date-selected-focus-foreground: (
244
268
  contrast-color: (
245
- 'gray',
269
+ 'secondary',
270
+ 900,
271
+ ),
272
+ ),
273
+
274
+ date-selected-background-range: (
275
+ color: (
276
+ 'secondary',
277
+ 50,
278
+ ),
279
+ ),
280
+
281
+ date-selected-background-selected-range-hover: (
282
+ color: (
283
+ 'secondary',
284
+ 100,
285
+ ),
286
+ ),
287
+
288
+ date-selected-color-range: (
289
+ contrast-color: (
290
+ 'secondary',
291
+ 50,
292
+ ),
293
+ ),
294
+
295
+ date-selected-color-selected-range-hover: (
296
+ contrast-color: (
297
+ 'secondary',
246
298
  100,
247
299
  ),
248
300
  ),
249
301
 
250
302
  date-current-text-color: (
251
303
  color: (
252
- 'secondary',
253
- 500,
304
+ 'gray',
305
+ 800,
254
306
  ),
255
307
  ),
256
308
 
257
309
  date-current-hover-foreground: (
258
310
  color: (
259
- 'secondary',
260
- 500,
311
+ 'gray',
312
+ 800,
261
313
  ),
262
314
  ),
263
315
 
264
316
  date-current-focus-foreground: (
265
317
  color: (
266
- 'secondary',
267
- 500,
318
+ 'gray',
319
+ 800,
268
320
  ),
269
321
  ),
270
322
 
271
323
  date-selected-current-foreground: (
272
324
  contrast-color: (
273
325
  'secondary',
274
- 500,
326
+ 900,
275
327
  ),
276
328
  ),
277
329
 
278
330
  date-selected-current-hover-foreground: (
279
331
  contrast-color: (
280
332
  'secondary',
281
- 500,
333
+ 900,
282
334
  ),
283
335
  ),
284
336
 
285
337
  date-selected-current-focus-foreground: (
286
338
  contrast-color: (
287
- 'gray',
288
- 100,
339
+ 'secondary',
340
+ 900,
289
341
  ),
290
342
  ),
291
343
 
292
- date-current-bg-color: transparent,
344
+ date-current-bg-color: (
345
+ color: (
346
+ 'surface',
347
+ 500,
348
+ ),
349
+ ),
293
350
 
294
351
  date-current-hover-background: (
295
352
  color: (
296
- 'gray',
297
- 200,
353
+ 'secondary',
354
+ 100,
298
355
  ),
299
356
  ),
300
357
 
301
358
  date-current-focus-background: (
302
359
  color: (
303
- 'gray',
304
- 200,
360
+ 'secondary',
361
+ 100,
305
362
  ),
306
363
  ),
307
364
 
308
365
  date-hover-background: (
309
366
  color: (
310
- 'gray',
311
- 200,
367
+ 'secondary',
368
+ 100,
312
369
  ),
313
370
  ),
314
371
 
315
372
  date-focus-background: (
316
373
  color: (
317
- 'gray',
318
- 200,
374
+ 'secondary',
375
+ 100,
319
376
  ),
320
377
  ),
321
378
 
@@ -336,14 +393,14 @@ $light-calendar: (
336
393
  date-disabled-text-color: (
337
394
  color: (
338
395
  'gray',
339
- 400,
396
+ 500,
340
397
  ),
341
398
  ),
342
399
 
343
400
  date-disabled-background: (
344
401
  color: (
345
- 'gray',
346
- 100,
402
+ 'secondary',
403
+ 50,
347
404
  ),
348
405
  ),
349
406
 
@@ -21,6 +21,7 @@
21
21
  /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the material icon button.
22
22
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the material icon button.
23
23
  /// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the material icon button.
24
+ /// @prop {Number} default-size [2] - The default size used for the icon button.
24
25
  $material-base-icon-button: (
25
26
  background: transparent,
26
27
  border-color: transparent,
@@ -69,6 +70,7 @@ $material-base-icon-button: (
69
70
  rem(36px),
70
71
  ),
71
72
  ),
73
+ default-size: 2,
72
74
  );
73
75
 
74
76
  /// Generates a material flat icon button schema.
@@ -153,6 +155,7 @@ $light-icon-button: (
153
155
  /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the fluent icon button.
154
156
  /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for the fluent flat icon button.
155
157
  /// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the fluent icon button.
158
+ /// @prop {Number} default-size [2] - The default size used for the icon button.
156
159
  $fluent-base-icon-button: (
157
160
  background: transparent,
158
161
  foreground: (
@@ -211,6 +214,7 @@ $fluent-base-icon-button: (
211
214
  rem(38px),
212
215
  ),
213
216
  ),
217
+ default-size: 2,
214
218
  );
215
219
 
216
220
  /// Generates a fluent flat icon button schema.
@@ -339,6 +343,7 @@ $fluent-icon-button: (
339
343
  /// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the bootstrap icon button.
340
344
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the bootstrap icon button.
341
345
  /// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the bootstrap icon button.
346
+ /// @prop {Number} default-size [2] - The default size used for the icon button
342
347
  $bootstrap-base-icon-button: (
343
348
  background: transparent,
344
349
  foreground: (
@@ -374,6 +379,7 @@ $bootstrap-base-icon-button: (
374
379
  rem(48px),
375
380
  ),
376
381
  ),
382
+ default-size: 2,
377
383
  );
378
384
 
379
385
  /// Generates a bootstrap flat icon button schema.
@@ -533,6 +539,7 @@ $bootstrap-icon-button: (
533
539
  /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the indigo icon button.
534
540
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the indigo icon button.
535
541
  /// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the indigo icon button.
542
+ /// @prop {Number} default-size [2] - The default size used for the icon button.
536
543
  $indigo-base-icon-button: (
537
544
  background: transparent,
538
545
  foreground: (
@@ -569,6 +576,7 @@ $indigo-base-icon-button: (
569
576
  rem(36px),
570
577
  ),
571
578
  ),
579
+ default-size: 2,
572
580
  );
573
581
 
574
582
  /// Generates an indigo flat icon button schema.