Skip to content

Commit

Permalink
fix : icon color not changing on hover for links
Browse files Browse the repository at this point in the history
  • Loading branch information
mukulpadwal committed Nov 20, 2024
1 parent 4540889 commit 25bba2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-sloths-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@strapi/design-system': minor
---

Updated hover styles to apply correct color for text and SVG icons
4 changes: 4 additions & 0 deletions packages/design-system/src/components/Link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ const LinkWrapper = styled<BaseLinkComponent>(BaseLink)`
& > span {
color: ${({ theme }) => theme.colors.primary500};
}
svg path {
fill: ${({ theme }) => theme.colors.primary500};
}
}
&:active {
Expand Down

0 comments on commit 25bba2f

Please sign in to comment.