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
459 B
SCSS

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