Skip to content

Commit

Permalink
implement functional color variables for ButtonInvisible
Browse files Browse the repository at this point in the history
  • Loading branch information
VanAnderson committed Mar 3, 2021
1 parent 170876e commit 67cc5b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-needles-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/components': patch
---

Use functional color variables in ButtonInvisible
4 changes: 2 additions & 2 deletions src/Button/ButtonInvisible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ const ButtonInvisible = styled(ButtonBase)<ButtonBaseProps & ButtonSystemProps &
box-shadow: none;
&:disabled {
color: ${get('buttons.default.color.disabled')};
color: ${get('colors.text.disabled')};
}
&:focus {
box-shadow: ${get('buttons.default.shadow.focus')};
box-shadow: ${get('shadows.btn.focusShadow')};
}
${buttonSystemProps};
Expand Down

0 comments on commit 67cc5b2

Please sign in to comment.