File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
projects/igniteui-angular/src/lib/core/styles/components/button Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 139139 }
140140 }
141141
142+ @if not ($icon-color ) and $background {
143+ @if meta .type-of ($background ) == ' color' {
144+ $icon-color : text-contrast ($background );
145+ }
146+ }
147+
142148 @if not ($icon-color-hover ) and $hover-foreground {
143149 @if meta .type-of ($hover-background ) == ' color' {
144150 $icon-color-hover : $hover-foreground ;
577583 background : var-get ($flat-theme , ' focus-visible-background' );
578584 color : var-get ($flat-theme , ' focus-visible-foreground' );
579585 border-color : var-get ($flat-theme , ' focus-visible-border-color' );
580-
586+
581587 igx-icon {
582588 color : var-get ($flat-theme , ' icon-color' );
583589 }
599605 color : var-get ($flat-theme , ' focus-foreground' );
600606 }
601607 }
602-
608+
603609 @if ($variant == ' bootstrap' ) {
604610 box-shadow : 0 0 0 rem (4px ) var-get ($flat-theme , ' shadow-color' );
605611 }
780786 map .get ($items-gap , ' cosy' ),
781787 $items-gap-indigo-comfortable
782788 );
783-
789+
784790 & :active {
785791 igx-icon {
786792 color : var-get ($outlined-theme , ' icon-color-hover' );
You can’t perform that action at this time.
0 commit comments