Commit 86102a3
committed
style: update BadgeNumber colors for dark theme and add validation logging
Updated the badge component's styling to use darker brand colors (text-brand-500, bg-brand-950, border-brand-900) for improved contrast in dark mode. Added console.error logging when the number prop is non-positive to aid debugging and enforce input validation.1 parent 076728a commit 86102a3
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments