Skip to content

Commit

Permalink
implement functional color variables for StateLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
VanAnderson committed Mar 2, 2021
1 parent f2c5779 commit 4e19045
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wild-bags-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/components': patch
---

Use functional color variables in StateLabel
2 changes: 1 addition & 1 deletion src/StateLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const StateLabelBase = styled.span<StyledStateLabelBaseProps>`
align-items: center;
font-weight: 600;
line-height: 16px;
color: ${get('colors.white')};
color: ${get('colors.bg.primary')};
text-align: center;
border-radius: ${get('radii.3')};
${colorVariants};
Expand Down

0 comments on commit 4e19045

Please sign in to comment.