mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user