igniteui-theming 27.0.0 → 27.2.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.
- package/dist/json/colors/presets/palettes.json +1 -1
- package/dist/json/components/bootstrap.json +1 -1
- package/dist/json/components/fluent.json +1 -1
- package/dist/json/components/indigo.json +1 -1
- package/dist/json/components/material.json +1 -1
- package/dist/json/components/themes.json +32 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/theming/dist/json/colors/presets/palettes.js +2 -2
- package/dist/mcp/theming/dist/json/components/themes.js +13 -3
- package/dist/tailwind/themes/dark/indigo.css +1 -1
- package/dist/tailwind/themes/light/indigo.css +1 -1
- package/dist/tailwind/utilities/bootstrap.css +1 -1
- package/dist/tailwind/utilities/fluent.css +1 -1
- package/dist/tailwind/utilities/indigo.css +1 -1
- package/dist/tailwind/utilities/material.css +1 -1
- package/package.json +1 -1
- package/sass/bem/_index.scss +26 -2
- package/sass/color/presets/dark/_indigo.scss +9 -9
- package/sass/color/presets/light/_indigo.scss +9 -9
- package/sass/themes/components/grid/_grid-summary-theme.scss +9 -3
- package/sass/themes/components/grid/_grid-theme.scss +54 -273
- package/sass/themes/schemas/components/light/_grid-summary.scss +6 -2
- package/sass/themes/schemas/components/light/_grid.scss +17 -4
|
@@ -49,10 +49,13 @@
|
|
|
49
49
|
/// @param {Color} $row-selected-hover-text-color [null] - The selected row hover text color. Auto-derived from row-selected-hover-background.
|
|
50
50
|
/// @param {Color} $row-hover-background [null] - The hover row background color. Auto-derived from content-background.
|
|
51
51
|
/// @param {Color} $row-hover-text-color [null] - The hover row text color. Auto-derived from row-hover-background.
|
|
52
|
+
/// @param {String} $row-border-width [null] - The row bottom border width.
|
|
53
|
+
/// @param {String} $row-border-style [null] - The row bottom border style.
|
|
52
54
|
/// @param {Color} $row-border-color [null] - The row bottom border color. Auto-derived from content-background.
|
|
53
55
|
/// @param {String} $pinned-border-width [null] - The border width of the pinned border.
|
|
54
56
|
/// @param {String} $pinned-border-style [null] - The CSS border style of the pinned border.
|
|
55
57
|
/// @param {Color} $pinned-border-color [null] - The color of the pinned border. Auto-derived from content-background.
|
|
58
|
+
/// @param {String} $cell-active-border-width [null] - The border width for the active cell.
|
|
56
59
|
/// @param {Color} $cell-active-border-color [null] - The border color for the active cell. Auto-derived from content-background.
|
|
57
60
|
/// @param {Color} $cell-selected-background [null] - The selected cell background color. Auto-derived from content-background.
|
|
58
61
|
/// @param {Color} $cell-selected-text-color [null] - The selected cell text color. Auto-derived from cell-selected-background.
|
|
@@ -99,6 +102,7 @@
|
|
|
99
102
|
/// @param {Color} $excel-filtering-actions-disabled-foreground [null] - The excel filtering actions disabled text color. Auto-derived from filtering-row-background.
|
|
100
103
|
/// @param {Color} $excel-filtering-border-color [null] - The border color used in the excel style filter. Auto-derived from foreground and background.
|
|
101
104
|
/// @param {Color} $tree-filtered-text-color [null] - Grouping row background color on focus.
|
|
105
|
+
/// @param {Color} $summaries-border-color [null] - The border color of the summaries row.
|
|
102
106
|
/// @param {Color} $summaries-patch-background [null] - The leading summaries patch background.
|
|
103
107
|
/// @param {Color} $row-highlight [null] - The grid row highlight indication color.
|
|
104
108
|
/// @param {List} $grid-shadow [null] - The shadow of the grid.
|
|
@@ -152,13 +156,17 @@
|
|
|
152
156
|
$row-selected-hover-text-color: null,
|
|
153
157
|
$row-hover-background: null,
|
|
154
158
|
$row-hover-text-color: null,
|
|
159
|
+
$row-border-width: null,
|
|
160
|
+
$row-border-style: null,
|
|
155
161
|
$row-border-color: null,
|
|
156
162
|
|
|
157
163
|
$pinned-border-width: null,
|
|
158
164
|
$pinned-border-style: null,
|
|
159
165
|
$pinned-border-color: null,
|
|
160
166
|
|
|
167
|
+
$cell-active-border-width: null,
|
|
161
168
|
$cell-active-border-color: null,
|
|
169
|
+
|
|
162
170
|
$cell-selected-background: null,
|
|
163
171
|
$cell-selected-text-color: null,
|
|
164
172
|
$cell-editing-background: null,
|
|
@@ -229,6 +237,7 @@
|
|
|
229
237
|
$drop-area-border-radius: null,
|
|
230
238
|
$grid-border-color: null,
|
|
231
239
|
$sortable-header-icon-hover-color: null,
|
|
240
|
+
$summaries-border-color: null,
|
|
232
241
|
$summaries-patch-background: null,
|
|
233
242
|
|
|
234
243
|
$cell-selected-within-background: null,
|
|
@@ -261,244 +270,6 @@
|
|
|
261
270
|
$theme: digest-schema($grid-schema);
|
|
262
271
|
$variant: map.get($theme, '_meta', 'theme');
|
|
263
272
|
|
|
264
|
-
@if not($ghost-header-icon-color) and $ghost-header-background {
|
|
265
|
-
$ghost-header-icon-color: hsl(from adaptive-contrast(var(--ghost-header-background)) h s l / 0.07);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
@if not($ghost-header-text-color) and $ghost-header-background {
|
|
269
|
-
$ghost-header-text-color: adaptive-contrast(var(--ghost-header-background));
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
@if not($header-selected-text-color) and $header-selected-background and not($header-text-color) {
|
|
273
|
-
$header-selected-text-color: adaptive-contrast(var(--header-selected-background));
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
@if not($header-text-color) and $header-background {
|
|
277
|
-
$header-text-color: adaptive-contrast(var(--header-background));
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
@if not($header-selected-background) and $header-background {
|
|
281
|
-
$header-selected-background: dynamic-shade(var(--header-background));
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
@if not($header-selected-text-color) and $header-text-color {
|
|
285
|
-
$header-selected-text-color: var(--header-text-color);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
@if not($drop-area-text-color) and $header-text-color {
|
|
289
|
-
$drop-area-text-color: var(--header-text-color);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
@if not($drop-area-icon-color) and $drop-area-text-color {
|
|
293
|
-
$drop-area-icon-color: var(--drop-area-text-color);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
@if not($header-border-color) and $header-background {
|
|
297
|
-
$header-border-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.24);
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
@if not($content-text-color) and $content-background {
|
|
301
|
-
$content-text-color: adaptive-contrast(var(--content-background));
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
@if not($row-odd-background) and $content-background {
|
|
305
|
-
$row-odd-background: hsl(from var(--content-background) h calc(s - 10) l);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
@if not($row-odd-text-color) and $row-odd-background {
|
|
309
|
-
$row-odd-text-color: adaptive-contrast(var(--row-odd-background));
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
@if not($row-even-background) and $content-background {
|
|
313
|
-
$row-even-background: hsl(from var(--content-background) h calc(s + 10) l);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
@if not($row-even-text-color) and $row-even-background {
|
|
317
|
-
$row-even-text-color: adaptive-contrast(var(--row-even-background));
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
@if not($row-hover-background) and $content-background {
|
|
321
|
-
$row-hover-background: dynamic-shade(var(--content-background), $offset: 7);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
@if not($row-hover-text-color) and $row-hover-background {
|
|
325
|
-
$row-hover-text-color: adaptive-contrast(var(--row-hover-background));
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
@if not($cell-selected-background) and $content-background {
|
|
329
|
-
$cell-selected-background: dynamic-shade(var(--content-background));
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
@if not($cell-selected-text-color) and $cell-selected-background {
|
|
333
|
-
$cell-selected-text-color: adaptive-contrast(var(--cell-selected-background));
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
@if not($row-selected-background) and $content-background {
|
|
337
|
-
$row-selected-background: dynamic-shade(var(--content-background));
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
@if not($row-selected-text-color) and $row-selected-background {
|
|
341
|
-
$row-selected-text-color: adaptive-contrast(var(--row-selected-background));
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
@if not($row-selected-hover-background) and $row-selected-background {
|
|
345
|
-
$row-selected-hover-background: dynamic-shade(var(--row-selected-background), $offset: 7);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@if not($row-selected-hover-text-color) and $row-selected-hover-background {
|
|
349
|
-
$row-selected-hover-text-color: adaptive-contrast(var(--row-selected-hover-background));
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
@if not($row-border-color) and $content-background {
|
|
353
|
-
$row-border-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.08);
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
@if not($cell-selected-within-background) and $row-selected-background {
|
|
357
|
-
$cell-selected-within-background: dynamic-shade(var(--row-selected-background), $offset: 7);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
@if not($cell-selected-within-text-color) and $cell-selected-within-background {
|
|
361
|
-
$cell-selected-within-text-color: adaptive-contrast(var(--cell-selected-within-background));
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
@if not($cell-editing-background) and $content-background {
|
|
365
|
-
$cell-editing-background: var(--content-background);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
@if not($cell-editing-foreground) and $cell-editing-background {
|
|
369
|
-
$cell-editing-foreground: adaptive-contrast(var(--cell-editing-background));
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
@if not($cell-editing-focus-foreground) and $cell-editing-background {
|
|
373
|
-
$cell-editing-focus-foreground: adaptive-contrast(var(--cell-editing-background));
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
@if not($cell-active-border-color) and $content-background {
|
|
377
|
-
$cell-active-border-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.5);
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
@if not($pinned-border-color) and $content-background {
|
|
381
|
-
$pinned-border-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.08);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
@if not($group-row-background) and $header-background {
|
|
385
|
-
$group-row-background: $header-background;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
@if not($expand-icon-color) and $group-row-background {
|
|
389
|
-
$expand-icon-color: adaptive-contrast(var(--group-row-background));
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
@if not($group-row-selected-background) and $group-row-background {
|
|
393
|
-
$group-row-selected-background: dynamic-shade(var(--group-row-background), $offset: 10);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
@if not($group-label-text) and $group-row-selected-background {
|
|
397
|
-
$group-label-text: adaptive-contrast(var(--group-row-selected-background));
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
@if not($expand-icon-color) and $group-row-selected-background {
|
|
401
|
-
$expand-icon-color: adaptive-contrast(var(--group-row-selected-background));
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
@if not($expand-icon-hover-color) and $expand-icon-color {
|
|
405
|
-
$expand-icon-hover-color: var(--expand-icon-color);
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
@if not($group-count-background) and $group-row-selected-background {
|
|
409
|
-
$group-count-background: adaptive-contrast(var(--group-row-selected-background));
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
@if not($expand-all-icon-color) and $header-background {
|
|
413
|
-
$expand-all-icon-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.87);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
@if not($expand-all-icon-hover-color) and $header-background {
|
|
417
|
-
$expand-all-icon-hover-color: adaptive-contrast(var(--header-background));
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
@if not($sorted-header-icon-color) and $header-background {
|
|
421
|
-
$sorted-header-icon-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.8);
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
@if not($sortable-header-icon-hover-color) and $sorted-header-icon-color {
|
|
425
|
-
$sortable-header-icon-hover-color: hsl(from var(--sorted-header-icon-color) h s l / 1);
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
@if not($edit-mode-color) and $content-background {
|
|
429
|
-
$edit-mode-color: hsl(from adaptive-contrast(var(--content-background)) h s l / 0.5);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
@if not($group-label-text) and $group-row-background {
|
|
433
|
-
$group-label-text: adaptive-contrast(var(--group-row-background));
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
@if not($group-count-background) and $group-row-background {
|
|
437
|
-
$group-count-background: adaptive-contrast(var(--group-row-background));
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
@if not($group-count-text-color) and $group-count-background {
|
|
441
|
-
$group-count-text-color: adaptive-contrast(var(--group-count-background));
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
@if not($grouparea-background) and $header-background {
|
|
445
|
-
$grouparea-background: var(--header-background);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
@if not($grouparea-color) and $grouparea-background {
|
|
449
|
-
$grouparea-color: hsl(from adaptive-contrast(var(--grouparea-background)) h s l / 0.8);
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
@if not($grouparea-color) and $header-background {
|
|
453
|
-
$grouparea-color: hsl(from adaptive-contrast(var(--header-background)) h s l / 0.8);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
@if not($drop-area-background) and $grouparea-background {
|
|
457
|
-
$drop-area-background: dynamic-shade(var(--grouparea-background));
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
@if not($drop-area-on-drop-background) and $drop-area-background {
|
|
461
|
-
$drop-area-on-drop-background: $drop-area-background;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
@if not($drop-area-text-color) and $drop-area-background {
|
|
465
|
-
$drop-area-text-color: adaptive-contrast(var(--drop-area-background));
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
@if not($drop-area-icon-color) and $drop-area-background {
|
|
469
|
-
$drop-area-icon-color: adaptive-contrast(var(--drop-area-background));
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
@if not($filtering-header-background) and $header-background {
|
|
473
|
-
$filtering-header-background: color-mix(in hsl, var(--header-background), #fff 5%);
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
@if not($filtering-header-text-color) and $filtering-header-background {
|
|
477
|
-
$filtering-header-text-color: adaptive-contrast(var(--filtering-header-background));
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
@if not($filtering-row-text-color) and $filtering-row-background {
|
|
481
|
-
$filtering-row-text-color: adaptive-contrast(var(--filtering-row-background));
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
@if not($excel-filtering-header-foreground) and $filtering-row-background {
|
|
485
|
-
$excel-filtering-header-foreground: adaptive-contrast(var(--filtering-row-background));
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
@if not($excel-filtering-subheader-foreground) and $filtering-row-background {
|
|
489
|
-
$excel-filtering-subheader-foreground: adaptive-contrast(var(--filtering-row-background));
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
@if not($excel-filtering-actions-foreground) and $filtering-row-background {
|
|
493
|
-
$excel-filtering-actions-foreground: hsl(from adaptive-contrast(var(--filtering-row-background)) h s l / 0.8);
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
@if not($excel-filtering-actions-disabled-foreground) and $filtering-row-background {
|
|
497
|
-
$excel-filtering-actions-disabled-foreground: hsl(
|
|
498
|
-
from adaptive-contrast(var(--filtering-row-background)) h s l / 0.5
|
|
499
|
-
);
|
|
500
|
-
}
|
|
501
|
-
|
|
502
273
|
@if not($grid-shadow) {
|
|
503
274
|
$grid-elevation: map.get($grid-schema, 'grid-elevation');
|
|
504
275
|
$grid-shadow: elevation($grid-elevation);
|
|
@@ -527,36 +298,42 @@
|
|
|
527
298
|
|
|
528
299
|
// header
|
|
529
300
|
|
|
530
|
-
@if not($header-
|
|
531
|
-
$header-
|
|
301
|
+
@if not($header-text-color) and $header-background {
|
|
302
|
+
$header-text-color: adaptive-contrast(var(--header-background));
|
|
532
303
|
}
|
|
533
304
|
|
|
534
305
|
@if not($header-text-color) and $foreground {
|
|
535
306
|
$header-text-color: var(--foreground);
|
|
536
307
|
}
|
|
537
308
|
|
|
538
|
-
@if not($header-
|
|
539
|
-
$header-
|
|
309
|
+
@if not($header-background) and $foreground and $background {
|
|
310
|
+
$header-background: color-mix(in srgb, var(--foreground) 6%, var(--background));
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@if not($header-selected-background) and $accent-color and $header-background {
|
|
314
|
+
$header-selected-background: color-mix(in srgb, var(--accent-color) 12%, var(--header-background));
|
|
540
315
|
}
|
|
541
316
|
|
|
542
|
-
@if not($header-selected-text-color) and $
|
|
543
|
-
$header-selected-text-color: var(--
|
|
317
|
+
@if not($header-selected-text-color) and $header-text-color {
|
|
318
|
+
$header-selected-text-color: var(--header-text-color);
|
|
544
319
|
}
|
|
545
320
|
|
|
546
321
|
@if not($ghost-header-background) and $header-background {
|
|
547
322
|
$ghost-header-background: var(--header-background);
|
|
548
323
|
}
|
|
549
324
|
|
|
550
|
-
@if not($ghost-header-text-color) and $
|
|
551
|
-
$ghost-header-text-color: var(--
|
|
325
|
+
@if not($ghost-header-text-color) and $header-text-color {
|
|
326
|
+
$ghost-header-text-color: var(--header-text-color);
|
|
552
327
|
}
|
|
553
328
|
|
|
554
|
-
@if not($ghost-header-icon-color) and $
|
|
555
|
-
$ghost-header-icon-color: var(--
|
|
329
|
+
@if not($ghost-header-icon-color) and $header-text-color {
|
|
330
|
+
$ghost-header-icon-color: var(--header-text-color);
|
|
556
331
|
}
|
|
557
332
|
|
|
558
|
-
@if not($header-border-color) and $
|
|
559
|
-
$header-border-color: hsl(
|
|
333
|
+
@if not($header-border-color) and $header-text-color and $header-background {
|
|
334
|
+
$header-border-color: hsl(
|
|
335
|
+
from color-mix(in srgb, var(--header-text-color) 20%, var(--header-background)) h s l / 0.38
|
|
336
|
+
);
|
|
560
337
|
}
|
|
561
338
|
|
|
562
339
|
@if not($sorted-header-icon-color) and $accent-color {
|
|
@@ -581,8 +358,8 @@
|
|
|
581
358
|
$row-odd-background: var(--background);
|
|
582
359
|
}
|
|
583
360
|
|
|
584
|
-
@if not($row-hover-background) and $accent-color and $background {
|
|
585
|
-
$row-hover-background: color-mix(in srgb, var(--accent-color) 8%, var(--background));
|
|
361
|
+
@if not($row-hover-background) and $accent-color and $row-odd-background {
|
|
362
|
+
$row-hover-background: color-mix(in srgb, var(--accent-color) 8%, var(--row-odd-background));
|
|
586
363
|
}
|
|
587
364
|
|
|
588
365
|
@if not($row-selected-background) and $accent-color and $background {
|
|
@@ -601,7 +378,7 @@
|
|
|
601
378
|
$row-odd-text-color: var(--foreground);
|
|
602
379
|
}
|
|
603
380
|
|
|
604
|
-
@if not($row-even-text-color) and $foreground {
|
|
381
|
+
@if not($row-even-text-color) and $foreground and not($row-even-background) {
|
|
605
382
|
$row-even-text-color: var(--foreground);
|
|
606
383
|
}
|
|
607
384
|
|
|
@@ -651,12 +428,12 @@
|
|
|
651
428
|
|
|
652
429
|
// cell
|
|
653
430
|
|
|
654
|
-
@if not($cell-selected-
|
|
655
|
-
$cell-selected-
|
|
431
|
+
@if not($cell-selected-text-color) and $foreground and not($cell-selected-background) {
|
|
432
|
+
$cell-selected-text-color: var(--foreground);
|
|
656
433
|
}
|
|
657
434
|
|
|
658
|
-
@if not($cell-selected-
|
|
659
|
-
$cell-selected-
|
|
435
|
+
@if not($cell-selected-background) and $accent-color and $background {
|
|
436
|
+
$cell-selected-background: color-mix(in srgb, var(--accent-color) 24%, var(--background));
|
|
660
437
|
}
|
|
661
438
|
|
|
662
439
|
@if not($cell-editing-background) and $background {
|
|
@@ -683,12 +460,12 @@
|
|
|
683
460
|
$cell-active-border-color: var(--accent-color);
|
|
684
461
|
}
|
|
685
462
|
|
|
686
|
-
@if not($cell-selected-within-
|
|
687
|
-
$cell-selected-within-
|
|
463
|
+
@if not($cell-selected-within-text-color) and $foreground and not($cell-selected-within-background) {
|
|
464
|
+
$cell-selected-within-text-color: var(--foreground);
|
|
688
465
|
}
|
|
689
466
|
|
|
690
|
-
@if not($cell-selected-within-
|
|
691
|
-
$cell-selected-within-
|
|
467
|
+
@if not($cell-selected-within-background) and $accent-color and $background {
|
|
468
|
+
$cell-selected-within-background: color-mix(in srgb, var(--accent-color) 24%, var(--background));
|
|
692
469
|
}
|
|
693
470
|
|
|
694
471
|
@if not($cell-disabled-color) and $foreground and $background {
|
|
@@ -767,12 +544,12 @@
|
|
|
767
544
|
|
|
768
545
|
// grouping
|
|
769
546
|
|
|
770
|
-
@if not($grouparea-background) and $
|
|
771
|
-
$grouparea-background:
|
|
547
|
+
@if not($grouparea-background) and $header-background {
|
|
548
|
+
$grouparea-background: var(--header-background);
|
|
772
549
|
}
|
|
773
550
|
|
|
774
|
-
@if not($grouparea-color) and $
|
|
775
|
-
$grouparea-color: color-mix(in srgb, var(--
|
|
551
|
+
@if not($grouparea-color) and $header-text-color and $header-background {
|
|
552
|
+
$grouparea-color: color-mix(in srgb, var(--header-text-color) 60%, var(--header-background));
|
|
776
553
|
}
|
|
777
554
|
|
|
778
555
|
@if not($group-row-background) and $foreground and $background {
|
|
@@ -803,20 +580,20 @@
|
|
|
803
580
|
$group-count-text-color: var(--foreground);
|
|
804
581
|
}
|
|
805
582
|
|
|
806
|
-
@if not($drop-area-text-color) and $
|
|
807
|
-
$drop-area-text-color: color-mix(in srgb, var(--
|
|
583
|
+
@if not($drop-area-text-color) and $header-text-color and $header-background {
|
|
584
|
+
$drop-area-text-color: color-mix(in srgb, var(--header-text-color) 80%, var(--header-background));
|
|
808
585
|
}
|
|
809
586
|
|
|
810
|
-
@if not($drop-area-icon-color) and $
|
|
811
|
-
$drop-area-icon-color:
|
|
587
|
+
@if not($drop-area-icon-color) and $drop-area-text-color {
|
|
588
|
+
$drop-area-icon-color: var(--drop-area-text-color);
|
|
812
589
|
}
|
|
813
590
|
|
|
814
|
-
@if not($drop-area-background) and $background {
|
|
815
|
-
$drop-area-background: var(--background);
|
|
591
|
+
@if not($drop-area-background) and $header-background {
|
|
592
|
+
$drop-area-background: dynamic-shade(var(--header-background));
|
|
816
593
|
}
|
|
817
594
|
|
|
818
|
-
@if not($drop-area-on-drop-background) and $background {
|
|
819
|
-
$drop-area-on-drop-background: var(--background);
|
|
595
|
+
@if not($drop-area-on-drop-background) and $header-background {
|
|
596
|
+
$drop-area-on-drop-background: dynamic-shade(var(--header-background));
|
|
820
597
|
}
|
|
821
598
|
|
|
822
599
|
// summaries
|
|
@@ -903,12 +680,15 @@
|
|
|
903
680
|
row-selected-hover-text-color: $row-selected-hover-text-color,
|
|
904
681
|
row-hover-background: $row-hover-background,
|
|
905
682
|
row-hover-text-color: $row-hover-text-color,
|
|
683
|
+
row-border-width: $row-border-width,
|
|
684
|
+
row-border-style: $row-border-style,
|
|
906
685
|
row-border-color: $row-border-color,
|
|
907
686
|
|
|
908
687
|
pinned-border-width: $pinned-border-width,
|
|
909
688
|
pinned-border-style: $pinned-border-style,
|
|
910
689
|
pinned-border-color: $pinned-border-color,
|
|
911
690
|
|
|
691
|
+
cell-active-border-width: $cell-active-border-width,
|
|
912
692
|
cell-active-border-color: $cell-active-border-color,
|
|
913
693
|
cell-selected-background: $cell-selected-background,
|
|
914
694
|
cell-editing-background: $cell-editing-background,
|
|
@@ -983,6 +763,7 @@
|
|
|
983
763
|
drop-area-border-radius: $drop-area-border-radius,
|
|
984
764
|
sortable-header-icon-hover-color: $sortable-header-icon-hover-color,
|
|
985
765
|
grid-border-color: $grid-border-color,
|
|
766
|
+
summaries-border-color: $summaries-border-color,
|
|
986
767
|
summaries-patch-background: $summaries-patch-background,
|
|
987
768
|
|
|
988
769
|
cell-selected-within-background: $cell-selected-within-background,
|
|
@@ -13,8 +13,10 @@
|
|
|
13
13
|
/// @prop {Map} label-color [color: ('primary', 500)] - The summaries label color.
|
|
14
14
|
/// @prop {Map} label-hover-color [color: ('primary', 700)] - The summaries hover label color.
|
|
15
15
|
/// @prop {Map} result-color [contrast-color: ('gray', 300)] - The summaries value/result color.
|
|
16
|
+
/// @prop {String} border-width [1px] - The summaries column border width.
|
|
17
|
+
/// @prop {String} border-style [solid] - The summaries column border style.
|
|
16
18
|
/// @prop {Color} border-color [transparent] - The summaries column border color.
|
|
17
|
-
/// @prop {String} pinned-border-width [
|
|
19
|
+
/// @prop {String} pinned-border-width [2px] - The border width of the summary panel.
|
|
18
20
|
/// @prop {String} pinned-border-style [solid] - The border style of the summary panel.
|
|
19
21
|
/// @prop {Map} pinned-border-color [color: ('gray', 400)] - The border color of the summary panel.
|
|
20
22
|
$light-grid-summary: (
|
|
@@ -46,9 +48,11 @@ $light-grid-summary: (
|
|
|
46
48
|
),
|
|
47
49
|
),
|
|
48
50
|
|
|
51
|
+
border-width: 1px,
|
|
52
|
+
border-style: solid,
|
|
49
53
|
border-color: transparent,
|
|
50
54
|
|
|
51
|
-
pinned-border-width:
|
|
55
|
+
pinned-border-width: 2px,
|
|
52
56
|
pinned-border-style: solid,
|
|
53
57
|
pinned-border-color: (
|
|
54
58
|
color: (
|
|
@@ -33,11 +33,14 @@
|
|
|
33
33
|
/// @prop {Map} row-hover-background [color: ('gray', 200)] - The hover row background color.
|
|
34
34
|
/// @prop {Map} body-column-hover-border-color [color: ('gray', 200)] - The border color used for the body columns.
|
|
35
35
|
/// @prop {Map} row-hover-text-color [contrast-color: ('gray', 200)] - The hover row text color.
|
|
36
|
+
/// @prop {Number} row-border-width [rem(1px)] - The row bottom border width.
|
|
37
|
+
/// @prop {String} row-border-style [solid] - The row bottom border style.
|
|
36
38
|
/// @prop {Map} row-border-color [color: ('gray', 300, .38)] - The row bottom border color.
|
|
37
39
|
/// @prop {Map} row-highlight [color: ('secondary', 500)] - The grid row highlight color.
|
|
38
40
|
/// @prop {Number} pinned-border-width [.125rem] - The border width of the pinned border.
|
|
39
41
|
/// @prop {String} pinned-border-style [solid] - The CSS border style of the pinned border.
|
|
40
42
|
/// @prop {Map} pinned-border-color [color: ('gray', 400)] - The color of the pinned border.
|
|
43
|
+
/// @prop {Number} cell-active-border-width [1px] - The border width for the active cell.
|
|
41
44
|
/// @prop {Map} cell-active-border-color [color: ('primary', 500)] - The active(focused) cell border color.
|
|
42
45
|
/// @prop {Map} cell-selected-background [color: ('gray', 200)] - The selected cell background color.
|
|
43
46
|
/// @prop {Map} cell-selected-text-color [contrast-color: ('gray', 200)] - The selected cell text color.
|
|
@@ -95,6 +98,7 @@
|
|
|
95
98
|
/// @prop {List} group-area-size [(rem(41), rem(49px), rem(57px))] - The size used for the grid group area.
|
|
96
99
|
/// @prop {Color} row-ghost-background [color: ('gray', 50)] - The background color of the dragged row.
|
|
97
100
|
/// @prop {Color} row-ghost-border-color [color: ('gray', 500)] - The border color of the dragged row.
|
|
101
|
+
/// @prop {Map} summaries-border-color [color: ('gray', 400)] - The border color of the summaries row.
|
|
98
102
|
/// @prop {Color} summaries-patch-background [color: ('gray', 300)] - The leading summaries patch backround. Used in hierarchical grids.
|
|
99
103
|
/// @prop {String} active-state-border-style ['solid'] - The border style used for row active state and cell active state.
|
|
100
104
|
/// @prop {Map} typography [header: (comfortable: (value: 'overline'), compact: (value: 'subtitle-1'))] - The typography styles used for the component.
|
|
@@ -165,8 +169,7 @@ $light-grid: extend(
|
|
|
165
169
|
),
|
|
166
170
|
),
|
|
167
171
|
|
|
168
|
-
header-border-width: 1px,
|
|
169
|
-
|
|
172
|
+
header-border-width: rem(1px),
|
|
170
173
|
header-border-style: solid,
|
|
171
174
|
|
|
172
175
|
header-border-color: (
|
|
@@ -351,6 +354,9 @@ $light-grid: extend(
|
|
|
351
354
|
),
|
|
352
355
|
),
|
|
353
356
|
|
|
357
|
+
row-border-width: rem(1px),
|
|
358
|
+
row-border-style: solid,
|
|
359
|
+
|
|
354
360
|
row-border-color: (
|
|
355
361
|
color: (
|
|
356
362
|
'gray',
|
|
@@ -366,8 +372,7 @@ $light-grid: extend(
|
|
|
366
372
|
),
|
|
367
373
|
),
|
|
368
374
|
|
|
369
|
-
pinned-border-width:
|
|
370
|
-
|
|
375
|
+
pinned-border-width: rem(2px),
|
|
371
376
|
pinned-border-style: solid,
|
|
372
377
|
|
|
373
378
|
pinned-border-color: (
|
|
@@ -377,6 +382,7 @@ $light-grid: extend(
|
|
|
377
382
|
),
|
|
378
383
|
),
|
|
379
384
|
|
|
385
|
+
cell-active-border-width: rem(1px),
|
|
380
386
|
cell-active-border-color: (
|
|
381
387
|
color: (
|
|
382
388
|
'primary',
|
|
@@ -656,6 +662,13 @@ $light-grid: extend(
|
|
|
656
662
|
),
|
|
657
663
|
),
|
|
658
664
|
|
|
665
|
+
summaries-border-color: (
|
|
666
|
+
color: (
|
|
667
|
+
'gray',
|
|
668
|
+
400,
|
|
669
|
+
),
|
|
670
|
+
),
|
|
671
|
+
|
|
659
672
|
summaries-patch-background: (
|
|
660
673
|
color: (
|
|
661
674
|
'gray',
|