fix(segment): add styles for in a color toolbar

This commit is contained in:
Cam Wiegert
2018-07-13 15:22:46 -05:00
parent 124b87ced4
commit d9e4ca7a22
3 changed files with 24 additions and 2 deletions

View File

@ -81,7 +81,8 @@ export class Segment {
...createColorClasses(this.color),
'segment-disabled': this.disabled,
'in-toolbar': hostContext('ion-toolbar', this.el)
'in-toolbar': hostContext('ion-toolbar', this.el),
'in-color-toolbar': hostContext('ion-toolbar.ion-color', this.el)
}
};
}