Files
Brandy Carney 16f9931957 refactor(badge): add a directive for badges which adds the colors as a class
This makes it so we can add a class to the badge on a tab which will
show the right color.

References #5007
2016-01-23 12:41:56 -05:00

25 lines
439 B
SCSS

@import "./badge";
// iOS Badge
// --------------------------------------------------
$badge-ios-border-radius: 10px !default;
ion-badge {
border-radius: $badge-ios-border-radius;
}
// Generate iOS Badge Colors
// --------------------------------------------------
@each $color-name, $color-value in $colors-ios {
.badge-#{$color-name} {
background-color: $color-value;
color: inverse($color-value);
}
}