|
525 | 525 | border-color: var-get($outlined-theme, 'focus-visible-border-color'); |
526 | 526 |
|
527 | 527 | igx-icon { |
528 | | - color: var-get($outlined-theme, 'focus-visible-foreground'); |
| 528 | + color: var-get($outlined-theme, 'icon-color'); |
| 529 | + } |
| 530 | + |
| 531 | + @if $variant == 'material' { |
| 532 | + igx-icon { |
| 533 | + color: var-get($outlined-theme, 'icon-color-hover'); |
| 534 | + } |
529 | 535 | } |
530 | 536 |
|
531 | 537 | @if $variant == 'bootstrap' { |
532 | 538 | box-shadow: 0 0 0 rem(4px) var-get($outlined-theme, 'shadow-color'); |
533 | 539 | } @else if $variant == 'indigo' { |
534 | 540 | box-shadow: 0 0 0 rem(3px) var-get($outlined-theme, 'shadow-color'); |
535 | | - |
536 | | - igx-icon { |
537 | | - color: var-get($outlined-theme, 'icon-color'); |
538 | | - } |
539 | 541 | } |
540 | 542 |
|
541 | 543 | &:hover { |
|
551 | 553 | &:active { |
552 | 554 | background: var-get($outlined-theme, 'focus-background'); |
553 | 555 | color: var-get($outlined-theme, 'focus-foreground'); |
| 556 | + border-color: var-get($outlined-theme, 'focus-border-color'); |
554 | 557 |
|
555 | | - @if $variant == 'material' { |
556 | | - border-color: var-get($outlined-theme, 'focus-border-color'); |
557 | | - |
558 | | - igx-icon { |
559 | | - color: var-get($outlined-theme, 'focus-foreground'); |
560 | | - } |
561 | | - } @else { |
562 | | - border-color: var-get($outlined-theme, 'active-border-color'); |
| 558 | + igx-icon { |
| 559 | + color: var-get($outlined-theme, 'focus-foreground'); |
563 | 560 | } |
564 | 561 |
|
565 | 562 | @if $variant == 'indigo' { |
|
681 | 678 | &:active { |
682 | 679 | color: var-get($contained-theme, 'focus-foreground'); |
683 | 680 | background: var-get($contained-theme, 'focus-background'); |
| 681 | + border-color: var-get($contained-theme, 'focus-border-color'); |
| 682 | + |
| 683 | + igx-icon { |
| 684 | + color: var-get($contained-theme, 'focus-foreground'); |
| 685 | + } |
684 | 686 |
|
685 | 687 | @if $variant == 'indigo' { |
686 | 688 | igx-icon { |
|
818 | 820 | &:active { |
819 | 821 | background: var-get($fab-theme, 'focus-background'); |
820 | 822 | color: var-get($fab-theme, 'focus-foreground'); |
| 823 | + border-color: var-get($fab-theme, 'focus-border-color'); |
| 824 | + |
| 825 | + igx-icon { |
| 826 | + color: var-get($contained-theme, 'focus-foreground'); |
| 827 | + } |
821 | 828 |
|
822 | 829 | @if $variant == 'indigo' { |
823 | 830 | igx-icon { |
|
0 commit comments