Skip to content

Commit

Permalink
fix(elements): add some missing inner svg colors in Link
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed May 21, 2024
1 parent d8f4cac commit f71649a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/elements/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ export const Link = styled.a<LinkProps>`
color: ${p => p.theme.color.slateGray};
text-decoration: underline;
svg {
color: ${p => p.theme.color.slateGray};
}
&:hover,
&._hover {
color: ${p => p.theme.color.blueYonder};
svg {
color: ${p => p.theme.color.blueYonder};
}
Expand All @@ -18,13 +23,18 @@ export const Link = styled.a<LinkProps>`
&:active,
&._active {
color: ${p => p.theme.color.blueGray};
svg {
color: ${p => p.theme.color.blueGray};
}
}
&:visited {
color: ${p => p.theme.color.slateGray};
svg {
color: ${p => p.theme.color.slateGray};
}
}
`

Expand Down

0 comments on commit f71649a

Please sign in to comment.