mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(tab-bar): adds selected color if tab bar is using a color (#16766)
fixes #16761
This commit is contained in:
committed by
Brandy Carney
parent
9b0fe957e9
commit
54e5a244ef
@ -41,6 +41,7 @@
|
|||||||
|
|
||||||
:host(.ion-color) ::slotted(ion-tab-button) {
|
:host(.ion-color) ::slotted(ion-tab-button) {
|
||||||
--background-focused: #{current-color(shade)};
|
--background-focused: #{current-color(shade)};
|
||||||
|
--color-selected: #{current-color(contrast)};
|
||||||
}
|
}
|
||||||
|
|
||||||
:host(.ion-color) ::slotted(.tab-selected) {
|
:host(.ion-color) ::slotted(.tab-selected) {
|
||||||
|
|||||||
@ -233,8 +233,9 @@
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
background: #3880ff;
|
--background: #3880ff;
|
||||||
color: white;
|
--color: rgba(255, 255, 255, .7);
|
||||||
|
--color-selected: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-tab-icon {
|
.main-tab-icon {
|
||||||
|
|||||||
Reference in New Issue
Block a user