Skip to content

Commit f40bd5e

Browse files
committed
style(chip) Updating the chip disabled state color in the context of the grid according to the new requirements.
1 parent 7a57b56 commit f40bd5e

File tree

1 file changed

+34
-5
lines changed

1 file changed

+34
-5
lines changed

projects/igniteui-angular/src/lib/core/styles/components/grid/_grid-theme.scss

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -696,18 +696,47 @@
696696
indigo-design: 600,
697697
), $variant);
698698

699-
%disable-focus-styles {
700-
outline: 0;
701-
}
702-
703-
%grid-display {
699+
igx-grid,
700+
igx-hierarchical-grid,
701+
igx-pivot-grid,
702+
igx-tree-grid, {
704703
@if $variant == 'material' {
705704
@if $theme-variant == 'light' {
706705
--igx-chip-disabled-background: #{color($color: 'gray', $variant: 300)};
707706
--igx-chip-disabled-border-color: #{color($color: 'gray', $variant: 300)};
708707
}
708+
@if $theme-variant == 'dark' {
709+
--igx-chip-disabled-text-color: #{color($color: 'gray', $variant: 300)};
710+
}
711+
}
712+
713+
@if $variant == 'fluent' {
714+
@if $theme-variant == 'dark' {
715+
--igx-chip-disabled-text-color: #{color($color: 'gray', $variant: 400)};
716+
}
717+
}
718+
719+
@if $variant == 'bootstrap' {
720+
@if $theme-variant == 'dark' {
721+
--igx-chip-disabled-text-color: #{color($color: 'gray', $variant: 400)};
722+
}
709723
}
710724

725+
@if $variant == 'indigo-design' {
726+
@if $theme-variant == 'light' {
727+
--igx-chip-disabled-border-color: #{color($color: 'gray', $variant: 300)};
728+
}
729+
@if $theme-variant == 'dark' {
730+
--igx-chip-disabled-text-color: #{color($color: 'gray', $variant: 300)};
731+
}
732+
}
733+
}
734+
735+
%disable-focus-styles {
736+
outline: 0;
737+
}
738+
739+
%grid-display {
711740
--igx-tree-indent-size: #{rem(24px)};
712741

713742
position: relative;

0 commit comments

Comments
 (0)