Skip to content

Commit a0afaa3

Browse files
committed
fix(button): revert bootstrap outlined icon styles on focus
1 parent 70c0ece commit a0afaa3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

projects/igniteui-angular/src/lib/core/styles/components/button/_button-theme.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@
426426
&:active {
427427
background: var-get($flat-theme, 'focus-background');
428428
color: var-get($flat-theme, 'focus-foreground');
429+
border-color: var-get($flat-theme, 'focus-border-color');
429430

430431
igx-icon {
431432
color: var-get($flat-theme, 'focus-foreground');
@@ -524,14 +525,14 @@
524525
color: var-get($outlined-theme, 'focus-visible-foreground');
525526
border-color: var-get($outlined-theme, 'focus-visible-border-color');
526527

527-
igx-icon {
528-
color: var-get($outlined-theme, 'icon-color');
529-
}
530-
531-
@if $variant == 'material' {
528+
@if $variant == 'material' or $variant == 'bootstrap' {
532529
igx-icon {
533530
color: var-get($outlined-theme, 'icon-color-hover');
534531
}
532+
} @else {
533+
igx-icon {
534+
color: var-get($outlined-theme, 'icon-color');
535+
}
535536
}
536537

537538
@if $variant == 'bootstrap' {

0 commit comments

Comments
 (0)