Skip to content

Commit

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

Use functional color variables in ButtonTableList
4 changes: 2 additions & 2 deletions src/Button/ButtonTableList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ButtonTableList = styled.summary<StyledButtonTableListProps>`
display: inline-block;
padding: 0;
font-size: ${get('fontSizes.1')};
color: ${get('colors.gray.6')};
color: ${get('colors.text.secondary')};
text-decoration: none;
white-space: nowrap;
cursor: pointer;
Expand All @@ -33,7 +33,7 @@ const ButtonTableList = styled.summary<StyledButtonTableListProps>`
&:disabled {
&,
&:hover {
color: rgba(${get('colors.gray.6')}, 0.5);
color: rgba(${get('colors.text.secondary')}, 0.5);
cursor: default;
}
}
Expand Down

0 comments on commit 1fb750a

Please sign in to comment.