fix(badge): changed back to ion-badge with a color attribute

also changed segment test to reflect actual color references #289
This commit is contained in:
Brandy Carney
2015-12-08 13:10:53 -05:00
parent 8ed56efaca
commit 0fdbe7b89b
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ ion-badge {
@each $color-name, $color-value in $colors {
.badge-#{$color-name} {
ion-badge[#{$color-name}] {
background-color: $color-value;
color: inverse($color-value);
}

View File

@@ -105,7 +105,7 @@
Toolbar
</ion-segment-button>
<ion-segment-button value="top" class="e2eSegmentTopGrossing">
Primary Segment
Danger Segment
</ion-segment-button>
</ion-segment>
</ion-toolbar>