fix(button): show correct background for activated button with color (#29222)

Updates the solid buttons with color to use the current color's shade.
This commit is contained in:
Brandy Carney
2024-04-03 11:48:06 -04:00
committed by GitHub
parent b11c630410
commit efdaf38520
56 changed files with 90 additions and 0 deletions

View File

@ -142,6 +142,7 @@
// Button Shape Rectangular
// -------------------------------------------------------------------------------
:host(.button-rectangular) {
--border-radius: #{$button-ionic-rectangular-border};
}
@ -168,6 +169,11 @@
--background-activated: #{ion-color(primary, shade)};
}
:host(.button-solid.ion-color.ion-activated) .button-native::after {
background: #{current-color(shade)};
}
// Fill Outline Button
// --------------------------------------------------