Skip to content

Commit ffa9a11

Browse files
committed
fix(badge): make colors red
1 parent 14b6538 commit ffa9a11

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

core/src/components/badge/badge.md.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@
1111
--padding-start: 4px;
1212

1313
@include border-radius($badge-md-border-radius);
14+
15+
--color: purple;
1416
}

core/src/components/badge/badge.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
:host {
77
/**
8-
* @prop --background: Background of the badge
8+
* @prop --background: Background of the badges
99
* @prop --color: Text color of the badge
1010
*
1111
* @prop --padding-top: Top padding of the badge
1212
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the badge
1313
* @prop --padding-bottom: Bottom padding of the badge
1414
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge
1515
*/
16-
--background: #{ion-color(primary, base)};
17-
--color: #{ion-color(primary, contrast)};
16+
--background: white;
17+
--color: red;
1818
--padding-top: #{$badge-padding-top};
1919
--padding-end: #{$badge-padding-end};
2020
--padding-bottom: #{$badge-padding-bottom};

0 commit comments

Comments
 (0)