Skip to content

Commit

Permalink
Fix item color to not depend on inherit (#1470)
Browse files Browse the repository at this point in the history
* Fix item color to not depend on inherit

* Create sixty-jokes-compete.md

Co-authored-by: Cole Bemis <colebemis@github.com>
  • Loading branch information
pksjce and colebemis authored Sep 28, 2021
1 parent ad0d5c6 commit f2e29a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sixty-jokes-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/components": patch
---

Fix ActionList.Item color
2 changes: 1 addition & 1 deletion src/ActionList/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const getItemVariant = (variant = 'default', disabled?: boolean) => {
}
default:
return {
color: 'inherit',
color: get('colors.fg.default'),
iconColor: get('colors.fg.muted'),
annotationColor: get('colors.fg.muted'),
hoverCursor: 'pointer'
Expand Down

0 comments on commit f2e29a0

Please sign in to comment.