|
219 | 219 | }
|
220 | 220 |
|
221 | 221 | $theme: digest-schema($grid-schema);
|
| 222 | + $meta: map.get($theme, '_meta'); |
222 | 223 |
|
223 | 224 | @if not($cell-selected-within-text-color) and $cell-selected-within-background {
|
224 | 225 | $cell-selected-within-text-color: text-contrast($cell-selected-within-background);
|
|
550 | 551 |
|
551 | 552 | cell-selected-within-background: $cell-selected-within-background,
|
552 | 553 | cell-selected-within-text-color: $cell-selected-within-text-color,
|
| 554 | + |
| 555 | + _meta: map.merge(if($meta, $meta, ()), ( |
| 556 | + theme-variant: map.get($schema, '_meta', 'variant') |
| 557 | + )), |
553 | 558 | ));
|
554 | 559 | }
|
555 | 560 |
|
|
570 | 575 | @include scale-in-ver-center();
|
571 | 576 |
|
572 | 577 | $variant: map.get($theme, variant);
|
| 578 | + $theme-variant: map.get($theme, '_meta', 'theme-variant'); |
573 | 579 | $bootstrap-theme: $variant == 'bootstrap';
|
574 | 580 | $not-bootstrap-theme: $variant != 'bootstrap';
|
575 | 581 |
|
|
695 | 701 | }
|
696 | 702 |
|
697 | 703 | %grid-display {
|
698 |
| - --igx-chip-disabled-background: #{color($color: 'gray', $variant: 300)}; |
699 |
| - --igx-chip-disabled-border-color: #{color($color: 'gray', $variant: 300)}; |
| 704 | + @if $variant == 'material' { |
| 705 | + @if $theme-variant == 'light' { |
| 706 | + --igx-chip-disabled-background: #{color($color: 'gray', $variant: 300)}; |
| 707 | + --igx-chip-disabled-border-color: #{color($color: 'gray', $variant: 300)}; |
| 708 | + } |
| 709 | + } |
| 710 | + |
700 | 711 | --igx-tree-indent-size: #{rem(24px)};
|
701 | 712 |
|
702 | 713 | position: relative;
|
|
0 commit comments