mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(segment): unselected color
This commit is contained in:
@ -20,8 +20,12 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host-context(ion-toolbar.ion-color):not(.ion-color) {
|
||||
--color: currentColor;
|
||||
--color-checked: currentColor;
|
||||
--color: #{current-color(contrast)};
|
||||
--color-checked: #{current-color(contrast)};
|
||||
}
|
||||
|
||||
:host(.ion-color)::slotted(ion-segment-button) {
|
||||
--color: #{current-color(base)};
|
||||
}
|
||||
|
||||
:host(.ion-color)::slotted(.segment-button-checked) {
|
||||
|
Reference in New Issue
Block a user