fix(back-button): default md color is inhered

This commit is contained in:
Manu Mtz.-Almeida
2018-09-25 20:49:23 +02:00
parent 913e800ee2
commit d0867b5bbf
5 changed files with 8 additions and 6 deletions

View File

@ -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;

View File

@ -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
}