Skip to content

Commit 76fa3a5

Browse files
authored
update badge color (#2241)
1 parent 96afe4e commit 76fa3a5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

demo/src/screens/__tests__/__snapshots__/AvatarScreen.spec.js.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ exports[`AvatarScreen renders screen 1`] = `
675675
Object {
676676
"alignItems": "center",
677677
"alignSelf": "flex-start",
678-
"backgroundColor": "#5A48F5",
678+
"backgroundColor": "#116DFF",
679679
"borderRadius": 999,
680680
"justifyContent": "center",
681681
"overflow": "hidden",
@@ -900,7 +900,7 @@ exports[`AvatarScreen renders screen 1`] = `
900900
Object {
901901
"alignItems": "center",
902902
"alignSelf": "flex-start",
903-
"backgroundColor": "#5A48F5",
903+
"backgroundColor": "#116DFF",
904904
"borderRadius": 999,
905905
"justifyContent": "center",
906906
"overflow": "hidden",
@@ -1125,7 +1125,7 @@ exports[`AvatarScreen renders screen 1`] = `
11251125
Object {
11261126
"alignItems": "center",
11271127
"alignSelf": "flex-start",
1128-
"backgroundColor": "#5A48F5",
1128+
"backgroundColor": "#116DFF",
11291129
"borderRadius": 999,
11301130
"justifyContent": "center",
11311131
"overflow": "hidden",
@@ -1531,7 +1531,7 @@ exports[`AvatarScreen renders screen 1`] = `
15311531
Object {
15321532
"alignItems": "center",
15331533
"alignSelf": "flex-start",
1534-
"backgroundColor": "#5A48F5",
1534+
"backgroundColor": "#116DFF",
15351535
"borderRadius": 999,
15361536
"justifyContent": "center",
15371537
"overflow": "hidden",
@@ -2734,7 +2734,7 @@ exports[`AvatarScreen renders screen 1`] = `
27342734
Object {
27352735
"alignItems": "center",
27362736
"alignSelf": "flex-start",
2737-
"backgroundColor": "#5A48F5",
2737+
"backgroundColor": "#116DFF",
27382738
"borderRadius": 999,
27392739
"justifyContent": "center",
27402740
"overflow": "hidden",

src/components/badge/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ function createStyles(props: BadgeProps) {
282282
badge: {
283283
alignSelf: 'flex-start',
284284
borderRadius: BorderRadiuses.br100,
285-
backgroundColor: (!props.icon || props.customElement) ? Colors.$backgroundPrimaryHeavy : undefined,
285+
backgroundColor: (!props.icon || props.customElement) ? Colors.$backgroundGeneralHeavy : undefined,
286286
alignItems: 'center',
287287
justifyContent: 'center',
288288
overflow: 'hidden'

0 commit comments

Comments
 (0)