Skip to content

Commit fa4bde7

Browse files
committed
Update text color in NumberBadge to be consistent.
1 parent efd3dc9 commit fa4bde7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

airbyte-webapp/src/components/ui/NumberBadge/NumberBadge.module.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@use "../../../scss/colors";
2-
@use "../../../scss/fonts";
1+
@use "scss/colors";
2+
@use "scss/fonts";
33

44
.circle {
55
height: 20px;
@@ -17,23 +17,21 @@
1717
font-style: normal;
1818
font-weight: 500;
1919
font-size: 10px;
20+
color: colors.$white;
2021

2122
&.default {
2223
background: colors.$dark-blue-100;
2324
}
2425

2526
&.green {
2627
background: colors.$green;
27-
color: colors.$black;
2828
}
2929

3030
&.red {
3131
background: colors.$red;
32-
color: colors.$black;
3332
}
3433

3534
&.blue {
3635
background: colors.$blue;
37-
color: colors.$white;
3836
}
3937
}

airbyte-webapp/src/components/ui/NumberBadge/NumberBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const NumberBadge: React.FC<NumberBadgeProps> = ({ value, color, classNam
2020

2121
return (
2222
<div className={numberBadgeClassnames} aria-label={ariaLabel}>
23-
<div>{value}</div>
23+
{value}
2424
</div>
2525
);
2626
};

0 commit comments

Comments
 (0)