mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(back-button): default md color is inhered
This commit is contained in:
@ -4,4 +4,4 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Text color of the back button
|
||||
$back-button-md-color: $toolbar-md-text-color !default;
|
||||
$back-button-md-color: currentColor !default;
|
||||
|
@ -63,6 +63,8 @@ export class BackButton implements ComponentInterface {
|
||||
'ion-activatable': true,
|
||||
class: {
|
||||
...createColorClasses(this.color),
|
||||
|
||||
// ion-buttons target .button
|
||||
'button': true,
|
||||
'show-back-button': showBackButton
|
||||
}
|
||||
|
Reference in New Issue
Block a user