File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed
src/components/tabs/themes/shared/tab Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ $theme: $bootstrap;
6464:host ([selected ]) {
6565 [part = ' tab-header' ] {
6666 position : relative ;
67+ background : var-get ($theme , ' item-active-background' );
6768
6869 & ::before {
6970 box-shadow :
@@ -81,8 +82,7 @@ $theme: $bootstrap;
8182 & :focus ,
8283 & :focus-within
8384 {
84- background : var-get ($theme , ' item-hover-background' );
85- z-index : 1 ;
85+ background : var-get ($theme , ' item-active-background' );
8686 }
8787 }
8888}
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ $theme: $material;
3434 & :hover ,
3535 & :focus-within {
3636 color : var-get ($theme , ' item-active-color' );
37+ background : var-get ($theme , ' item-active-background' );
3738
3839 ::slotted (igc-icon ) {
3940 color : var-get ($theme , ' item-active-icon-color' );
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $theme: $fluent;
2323 color : var-get ($theme , ' item-hover-color' );
2424
2525 ::slotted (igc-icon ) {
26- color : var-get ($theme , ' item-hover -icon-color' );
26+ color : var-get ($theme , ' item-active -icon-color' );
2727 }
2828 }
2929 }
Original file line number Diff line number Diff line change @@ -20,3 +20,12 @@ $theme: $indigo;
2020
2121 text-transform : uppercase ;
2222}
23+
24+ :host ([selected ]) {
25+ [part = ' tab-header' ] {
26+ & :hover ,
27+ & :focus-within {
28+ background : var-get ($theme , ' item-hover-background' );
29+ }
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments