Skip to content

Commit 6a30812

Browse files
Fix label colors for border and text (#2487)
* Fix label colors for border and text for done and sponsors variant
1 parent 776fb95 commit 6a30812

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changeset/rude-bats-appear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
fixes colors for done and sponsors label

src/Label.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ export const variants: Record<LabelColorOptions, BetterSystemStyleObject> = {
5656
color: 'danger.fg'
5757
},
5858
done: {
59-
borderColor: 'done.fg',
60-
color: 'done.emphasis'
59+
borderColor: 'done.emphasis',
60+
color: 'done.fg'
6161
},
6262
sponsors: {
63-
borderColor: 'sponsors.fg',
64-
color: 'sponsors.emphasis'
63+
borderColor: 'sponsors.emphasis',
64+
color: 'sponsors.fg'
6565
}
6666
}
6767

0 commit comments

Comments
 (0)