From 93b98914811431c442aa512c7ceee0aa388d86a5 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 29 Jan 2016 14:41:24 -0500 Subject: [PATCH] fix(badge): change default badge color to primary per Ben closes #5222 --- ionic/components/badge/badge.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ionic/components/badge/badge.scss b/ionic/components/badge/badge.scss index d33077603f..67d8866486 100644 --- a/ionic/components/badge/badge.scss +++ b/ionic/components/badge/badge.scss @@ -5,6 +5,7 @@ $badge-font-size: 1.3rem !default; $badge-font-weight: bold !default; +$badge-background-color: map-get($colors, primary); ion-badge { @@ -21,7 +22,8 @@ ion-badge { font-weight: $badge-font-weight; line-height: 1; - background: #ccc; + background-color: $badge-background-color; + color: inverse($badge-background-color); &:empty { display: none;