igniteui-theming 3.3.2 → 4.0.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.
@@ -11,47 +11,74 @@
11
11
  /// @type {Map}
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
+ /// @prop {Map} border-color [color: ('gray', 300)] - The calendar border color.
15
+ ///
14
16
  /// @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.
17
+ /// @prop {Map} header-text-color [contrast-color: ('secondary', 600)] - The header text color.
18
+ ///
19
+ /// @prop {Map} picker-background-color [color: 'surface'] - The igx calendar picker background color.
16
20
  /// @prop {Map} picker-arrow-color [color: ('gray', 800)] - The idle picker arrow color.
17
21
  /// @prop {Map} picker-arrow-hover-color [color: ('secondary', 500)] - The picker hover arrow color.
18
22
  /// @prop {Map} picker-text-color [color: ('gray', 800)]- The idle picker month/year color.
19
23
  /// @prop {Map} picker-text-hover-color [color: ('secondary', 500)]- The hover picker month/year color.
24
+ ///
20
25
  /// @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.
26
+ /// @prop {Map} label-color [color: ('gray', 800)] - The text color for weekday labels.
22
27
  /// @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.
24
- /// @prop {Map} year-hover-text-color [color: ('secondary', 500)] - The year hover text color.
28
+ ///
29
+ /// @prop {Map} month-current-text-color [color: ('gray', 900)]- The text color for the current month.
30
+ /// @prop {Map} month-selected-current-text-color [contrast-color: ('secondary', 600)]- The text color for the current/selected month.
31
+ /// @prop {Map} month-hover-current-text-color [color: ('gray', 900)]- The text color for the current month on hover.
25
32
  /// @prop {Map} month-hover-text-color [contrast-color: ('gray', 200)] - The month hover text color.
26
- /// @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.
29
- /// @prop {Map} date-hover-background [color: ('gray', 200)] - The hover date background color.
30
- /// @prop {Map} date-focus-background [color: ('gray', 200)] - The focus date background color.
33
+ /// @prop {Map} month-hover-background [color: ('gray', 200)] - The background color for the selected month on hover in months view.
34
+ /// @prop {Map} month-hover-selected-current-text-color [contrast-color: ('secondary', 600)] - The text color for the current/selected month on hover.
35
+ /// @prop {Map} month-focus-selected-current-text-color [contrast-color: ('secondary', 600)] - The text color for the current/selected month on focus.
36
+ /// @prop {Map} month-focus-text-color [contrast-color: ('secondary', 600)]- The text color for the focused month in months view.
37
+ /// @prop {Map} month-focus-background [color: ('secondary', 500)]- The background color for the focused month in months view.
38
+ ///
39
+ /// @prop {Map} year-hover-text-color [contrast-color: ('gray', 200)] - The year hover text color.
40
+ /// @prop {Map} year-current-text-color [color: ('gray', 900)] - The text color for the current year.
41
+ /// @prop {Map} year-selected-current-text-color [contrast-color: ('secondary', 600)] - The text color for the current/selected year.
42
+ /// @prop {Map} year-focus-text-color [contrast-color: ('secondary', 600)]- The text color for the selected year in years view.
43
+ /// @prop {Map} year-focus-background [color: ('secondary', 500)]- The background color for the selected year on focus in years view.
44
+ /// @prop {Map} year-hover-background [color: ('grey', 200)]- The background color for the selected year on hover in years view.
45
+ /// @prop {Map} year-hover-selected-current-text-color [contrast-color: ('secondary', 600)] - The text color for the current/selected year on hover.
46
+ /// @prop {Map} year-focus-selected-current-text-color [contrast-color: ('secondary', 600)] - The text color for the current/selected year on focus.
47
+ ///
48
+ /// @prop {Map} date-hover-background [color: ('secondary', 100)] - The hover date background color.
49
+ /// @prop {Map} date-focus-background [color: ('secondary', 100)] - The focus date background color.
50
+ /// @prop {Map} date-hover-foreground [contrast-color: 'secondary', 100] - The hover date text color.
51
+ /// @prop {Map} date-focus-foreground [contrast-color: 'secondary', 100] - The focused date text color.
31
52
  /// @prop {Map} date-selected-background [color: ('secondary', 500)] - The background color for the selected date.
32
- /// @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.
35
- /// @prop {Map} date-selected-hover-foreground [contrast-color: ('gray', 100)] - The hover text color for the selected date.
36
- /// @prop {Map} date-selected-focus-foreground [contrast-color: ('gray', 100)] - The focus text color for the selected date.
37
- /// @prop {Map} date-current-bg-color [color: (transparent)] - The background color for the current date.
38
- /// @prop {Map} date-current-text-color [color: ('secondary', 500)] - The text color for the current date.
39
- /// @prop {Map} date-current-hover-foreground [color: ('secondary', 500)] - The hover text color for the current date.
40
- /// @prop {Map} date-current-focus-foreground [color: ('secondary', 500)] - The focus text color for the current date.
41
- /// @prop {Map} date-current-hover-background [color: ('gray', 200)] - The hover background color for the current date.
42
- /// @prop {Map} date-current-focus-background [color: ('gray', 200)] - The focus background color for the current date.
43
- /// @prop {Map} date-selected-current-background [color: ('gray', 100, .18)] - The background color for the selected/current date.
44
- /// @prop {Map} date-selected-current-foreground [contrast-color: ('secondary', 500)] - The text color for the selected/current date.
45
- /// @prop {Map} date-selected-current-hover-foreground [contrast-color: ('secondary', 500)] - The hover text color for the selected/current date.
46
- /// @prop {Map} date-selected-current-focus-foreground [contrast-color: ('gray', 100)] - The focus text color for the selected/current date.
47
- /// @prop {Map} date-selected-current-hover-background [color: ('gray', 100, .18)] - The hover background color for the selected/current date.
48
- /// @prop {Map} date-selected-current-focus-background [color: ('gray', 100, .18)] - The focus background color for the selected/current date.
53
+ /// @prop {Map} date-selected-text-color [contrast-color: ('secondary', 600)] - The text color for the selected date.
54
+ /// @prop {Map} date-selected-hover-background [color: ('secondary', 700)] - The hover background color for the selected date.
55
+ /// @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
+ /// @prop {Map} date-selected-color-range [contrast-color: ('secondary', 50)] - The text color for the selected range.
59
+ /// @prop {Map} date-selected-background-range [color: ('secondary', 50)] - The background color for the selected range.
60
+ /// @prop {Map} date-selected-color-range-hover [contrast-color: ('secondary', 100)] - The text color for the selected range on hover/focus.
61
+ /// @prop {Map} date-selected-background-range-hover [color: ('secondary', 100)] - The background color for the selected range on hover.
62
+ /// @prop {Map} date-selected-current-background [color: ('secondary', 500)] - The background color for the selected/current date.
63
+ /// @prop {Map} date-selected-current-foreground [contrast-color: ('secondary', 600)] - The text color for the selected/current date.
64
+ /// @prop {Map} date-selected-current-hover-foreground [contrast-color: ('secondary', 600)] - The hover text color for the selected/current date.
65
+ /// @prop {Map} date-selected-current-focus-foreground [contrast-color: ('secondary', 600)] - The focus text color for the selected/current date.
66
+ /// @prop {Map} date-selected-current-hover-background [color: ('secondary', 700)] - The hover background color for the selected/current date.
67
+ /// @prop {Map} date-selected-current-focus-background [color: ('secondary', 700)] - The focus background color for the selected/current date.
68
+ /// @prop {Map} current-outline [color: ('gray', 600)] - The outline color for the current date.
69
+ /// @prop {Map} current-outline-hover [color: ('surface', 500)] - The outline color for the current date on hover.
70
+ /// @prop {Map} current-outline-focus [color: ('surface', 500)] - The outline color for the current date on focus.
71
+ /// @prop {Map} current-selected-outline [color: ('surface', 500)] - The outline color for the current selected date.
72
+ /// @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
+ /// @prop {Map} date-current-hover-background [color: ('secondary', 100)] - The hover background color for the current date.
77
+ /// @prop {Map} date-current-focus-background [color: ('secondary', 100)] - The focus background color for the current date.
49
78
  /// @prop {Map} date-special-background [color: ('gray', 100)] - The background color used for special dates.
50
79
  /// @prop {Map} date-special-text-color [color: ('gray', 900)] - The text color used for special dates.
51
- /// @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.
53
- /// @prop {Color} picker-background-color [color: 'surface'] - The igx calendar picker background color.
54
- /// @prop {Map} border-color [color: ('gray', 300)] - The calendar border color.
80
+ /// @prop {Map} date-disabled-text-color [color: ('gray', 500)] - The text color for disabled dates.
81
+ /// @prop {Map} date-disabled-background [color: ('secondary', 50)] - The background color for disabled dates.
55
82
  /// @prop {Map} week-number-color [color: ('gray', 500)] - The text color of the week number column.
56
83
  /// @prop {Map} week-number-background [color: ('gray', 200)] - The background color of the week number column.
57
84
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for calendar.
@@ -84,7 +111,7 @@ $light-calendar: (
84
111
  header-text-color: (
85
112
  contrast-color: (
86
113
  'secondary',
87
- 500,
114
+ 600,
88
115
  ),
89
116
  ),
90
117
 
@@ -92,77 +119,122 @@ $light-calendar: (
92
119
  color: 'surface',
93
120
  ),
94
121
 
95
- picker-arrow-color: (
122
+ picker-text-color: (
96
123
  color: (
97
124
  'gray',
98
125
  800,
99
126
  ),
100
127
  ),
101
128
 
102
- picker-arrow-hover-color: (
129
+ picker-text-hover-color: (
103
130
  color: (
104
131
  'secondary',
105
132
  500,
106
133
  ),
107
134
  ),
108
135
 
109
- picker-text-color: (
136
+ picker-arrow-color: (
110
137
  color: (
111
138
  'gray',
112
139
  800,
113
140
  ),
114
141
  ),
115
142
 
116
- picker-text-hover-color: (
143
+ picker-arrow-hover-color: (
117
144
  color: (
118
145
  'secondary',
119
146
  500,
120
147
  ),
121
148
  ),
122
149
 
123
- inactive-text-color: (
150
+ year-current-text-color: (
124
151
  color: (
125
152
  'gray',
126
- 400,
153
+ 900,
127
154
  ),
128
155
  ),
129
156
 
130
- label-color: (
131
- color: (
132
- 'gray',
133
- 400,
157
+ year-selected-current-text-color: (
158
+ contrast-color: (
159
+ 'secondary',
160
+ 600,
134
161
  ),
135
162
  ),
136
163
 
137
- weekend-text-color: (
138
- contrast-color: 'surface',
164
+ year-focus-text-color: (
165
+ contrast-color: (
166
+ 'secondary',
167
+ 600,
168
+ ),
139
169
  ),
140
170
 
141
- year-current-text-color: (
171
+ year-focus-background: (
142
172
  color: (
143
173
  'secondary',
144
174
  500,
145
175
  ),
146
176
  ),
147
177
 
178
+ year-hover-background: (
179
+ color: (
180
+ 'gray',
181
+ 200,
182
+ ),
183
+ ),
184
+
185
+ year-hover-text-color: (
186
+ contrast-color: (
187
+ 'gray',
188
+ 200,
189
+ ),
190
+ ),
191
+
148
192
  month-current-text-color: (
149
193
  color: (
194
+ 'gray',
195
+ 900,
196
+ ),
197
+ ),
198
+
199
+ month-selected-current-text-color: (
200
+ contrast-color: (
150
201
  'secondary',
151
- 500,
202
+ 600,
152
203
  ),
153
204
  ),
154
205
 
155
206
  month-hover-current-text-color: (
156
207
  color: (
208
+ 'gray',
209
+ 900,
210
+ ),
211
+ ),
212
+
213
+ month-hover-selected-current-text-color: (
214
+ contrast-color: (
157
215
  'secondary',
158
- 500,
216
+ 600,
159
217
  ),
160
218
  ),
161
219
 
162
- year-hover-text-color: (
163
- color: (
220
+ year-hover-selected-current-text-color: (
221
+ contrast-color: (
164
222
  'secondary',
165
- 500,
223
+ 600,
224
+ ),
225
+ ),
226
+
227
+ year-focus-selected-current-text-color: (
228
+ contrast-color: (
229
+ 'secondary',
230
+ 600,
231
+ ),
232
+ ),
233
+
234
+ month-focus-selected-current-text-color: (
235
+ contrast-color: (
236
+ 'secondary',
237
+ 600,
166
238
  ),
167
239
  ),
168
240
 
@@ -180,6 +252,20 @@ $light-calendar: (
180
252
  ),
181
253
  ),
182
254
 
255
+ month-focus-text-color: (
256
+ contrast-color: (
257
+ 'secondary',
258
+ 900,
259
+ ),
260
+ ),
261
+
262
+ month-focus-background: (
263
+ color: (
264
+ 'secondary',
265
+ 500,
266
+ ),
267
+ ),
268
+
183
269
  date-selected-background: (
184
270
  color: (
185
271
  'secondary',
@@ -189,17 +275,15 @@ $light-calendar: (
189
275
 
190
276
  date-selected-hover-background: (
191
277
  color: (
192
- 'gray',
193
- 100,
194
- 0.18,
278
+ 'secondary',
279
+ 700,
195
280
  ),
196
281
  ),
197
282
 
198
283
  date-selected-focus-background: (
199
284
  color: (
200
- 'gray',
201
- 100,
202
- 0.18,
285
+ 'secondary',
286
+ 700,
203
287
  ),
204
288
  ),
205
289
 
@@ -212,110 +296,141 @@ $light-calendar: (
212
296
 
213
297
  date-selected-current-hover-background: (
214
298
  color: (
215
- 'gray',
216
- 100,
217
- 0.18,
299
+ 'secondary',
300
+ 700,
218
301
  ),
219
302
  ),
220
303
 
221
304
  date-selected-current-focus-background: (
222
305
  color: (
223
- 'gray',
224
- 100,
225
- 0.18,
306
+ 'secondary',
307
+ 700,
226
308
  ),
227
309
  ),
228
310
 
229
311
  date-selected-text-color: (
230
312
  contrast-color: (
231
313
  'secondary',
232
- 500,
314
+ 600,
233
315
  ),
234
316
  ),
235
317
 
236
318
  date-selected-hover-foreground: (
237
319
  contrast-color: (
238
- 'gray',
239
- 100,
320
+ 'secondary',
321
+ 600,
240
322
  ),
241
323
  ),
242
324
 
243
325
  date-selected-focus-foreground: (
244
326
  contrast-color: (
245
- 'gray',
327
+ 'secondary',
328
+ 600,
329
+ ),
330
+ ),
331
+
332
+ date-selected-color-range: (
333
+ contrast-color: (
334
+ 'secondary',
335
+ 50,
336
+ ),
337
+ ),
338
+
339
+ date-selected-background-range: (
340
+ color: (
341
+ 'secondary',
342
+ 50,
343
+ ),
344
+ ),
345
+
346
+ date-selected-color-range-hover: (
347
+ contrast-color: (
348
+ 'secondary',
246
349
  100,
247
350
  ),
248
351
  ),
249
352
 
250
- date-current-text-color: (
353
+ date-selected-background-range-hover: (
251
354
  color: (
252
355
  'secondary',
253
- 500,
356
+ 100,
254
357
  ),
255
358
  ),
256
359
 
257
- date-current-hover-foreground: (
360
+ date-current-text-color: (
258
361
  color: (
362
+ 'gray',
363
+ 800,
364
+ ),
365
+ ),
366
+
367
+ date-current-hover-foreground: (
368
+ contrast-color: (
259
369
  'secondary',
260
- 500,
370
+ 200,
261
371
  ),
262
372
  ),
263
373
 
264
374
  date-current-focus-foreground: (
265
- color: (
375
+ contrast-color: (
266
376
  'secondary',
267
- 500,
377
+ 200,
268
378
  ),
269
379
  ),
270
380
 
271
381
  date-selected-current-foreground: (
272
382
  contrast-color: (
273
383
  'secondary',
274
- 500,
384
+ 600,
275
385
  ),
276
386
  ),
277
387
 
278
388
  date-selected-current-hover-foreground: (
279
389
  contrast-color: (
280
390
  'secondary',
281
- 500,
391
+ 600,
282
392
  ),
283
393
  ),
284
394
 
285
395
  date-selected-current-focus-foreground: (
286
396
  contrast-color: (
287
- 'gray',
288
- 100,
397
+ 'secondary',
398
+ 600,
289
399
  ),
290
400
  ),
291
401
 
292
- date-current-bg-color: transparent,
402
+ date-current-bg-color: (
403
+ color: (
404
+ 'surface',
405
+ 500,
406
+ ),
407
+ ),
293
408
 
294
409
  date-current-hover-background: (
295
410
  color: (
296
- 'gray',
297
- 200,
411
+ 'secondary',
412
+ 100,
298
413
  ),
299
414
  ),
300
415
 
301
416
  date-current-focus-background: (
302
417
  color: (
303
- 'gray',
304
- 200,
418
+ 'secondary',
419
+ 100,
305
420
  ),
306
421
  ),
307
422
 
308
423
  date-hover-background: (
309
424
  color: (
310
- 'gray',
311
- 200,
425
+ 'secondary',
426
+ 100,
312
427
  ),
313
428
  ),
314
429
 
315
430
  date-focus-background: (
316
431
  color: (
317
- 'gray',
318
- 200,
432
+ 'secondary',
433
+ 100,
319
434
  ),
320
435
  ),
321
436
 
@@ -336,14 +451,14 @@ $light-calendar: (
336
451
  date-disabled-text-color: (
337
452
  color: (
338
453
  'gray',
339
- 400,
454
+ 500,
340
455
  ),
341
456
  ),
342
457
 
343
458
  date-disabled-background: (
344
459
  color: (
345
- 'gray',
346
- 100,
460
+ 'secondary',
461
+ 50,
347
462
  ),
348
463
  ),
349
464
 
@@ -361,6 +476,24 @@ $light-calendar: (
361
476
  ),
362
477
  ),
363
478
 
479
+ inactive-text-color: (
480
+ color: (
481
+ 'gray',
482
+ 400,
483
+ ),
484
+ ),
485
+
486
+ label-color: (
487
+ color: (
488
+ 'gray',
489
+ 800,
490
+ ),
491
+ ),
492
+
493
+ weekend-text-color: (
494
+ contrast-color: 'surface',
495
+ ),
496
+
364
497
  border-radius: (
365
498
  border-radius: (
366
499
  rem(4px),
@@ -368,6 +501,7 @@ $light-calendar: (
368
501
  rem(20px),
369
502
  ),
370
503
  ),
504
+
371
505
  date-border-radius: (
372
506
  border-radius: (
373
507
  rem(20px),
@@ -375,6 +509,7 @@ $light-calendar: (
375
509
  rem(20px),
376
510
  ),
377
511
  ),
512
+
378
513
  month-border-radius: (
379
514
  border-radius: (
380
515
  rem(20px),
@@ -382,7 +517,50 @@ $light-calendar: (
382
517
  rem(20px),
383
518
  ),
384
519
  ),
520
+
385
521
  default-size: 2,
522
+
523
+ current-outline: (
524
+ color: (
525
+ 'gray',
526
+ 600,
527
+ ),
528
+ ),
529
+
530
+ current-outline-hover: (
531
+ color: (
532
+ 'surface',
533
+ 500,
534
+ ),
535
+ ),
536
+
537
+ current-outline-focus: (
538
+ color: (
539
+ 'surface',
540
+ 500,
541
+ ),
542
+ ),
543
+
544
+ current-selected-outline: (
545
+ color: (
546
+ 'surface',
547
+ 500,
548
+ ),
549
+ ),
550
+
551
+ date-hover-foreground: (
552
+ contrast-color: (
553
+ 'secondary',
554
+ 100,
555
+ ),
556
+ ),
557
+
558
+ date-focus-foreground: (
559
+ contrast-color: (
560
+ 'secondary',
561
+ 100,
562
+ ),
563
+ ),
386
564
  );
387
565
 
388
566
  /// Generates a fluent calendar schema.
@@ -559,7 +737,7 @@ $fluent-calendar: extend(
559
737
  /// @prop {Map} date-selected-focus-foreground [contrast-color: ('gray', 900)] - The focus text color for the selected date.
560
738
  /// @prop {Color} date-selected-text-color [color: 'surface'] - The text color for the selected date.
561
739
  /// @prop {Color} content-background [color: 'surface'] - The main content background color.
562
- /// @prop {Map} week-number-background [('gray', 300, .5)] - The background color of the week number column.
740
+ /// @prop {Map} week-number-background [('gray', 200)] - The background color of the week number column.
563
741
  /// @prop {Map} date-selected-current-hover-foreground [contrast-color: ('primary', 600)] - The hover text color for the selected/current date.
564
742
  /// @prop {Map} date-selected-current-focus-foreground [contrast-color: ('primary', 600)] - The focus text color for the selected/current date.
565
743
  /// @prop {Map} date-current-hover-background [color: ('primary', 600)] - The hover background color for the current date.
@@ -798,8 +976,7 @@ $bootstrap-calendar: extend(
798
976
  week-number-background: (
799
977
  color: (
800
978
  'gray',
801
- 300,
802
- 0.5,
979
+ 200,
803
980
  ),
804
981
  ),
805
982