Skip to content

Commit

Permalink
Add same color and font for links inside alert (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
vineethasok authored Aug 8, 2024
1 parent 07a8d68 commit 6fc670c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,14 @@ const TextWrapper = styled.div<{ $state: AlertState; $size: AlertSize }>`
${({ $size, theme }) => `
gap: ${theme.click.alert[$size].space.gap};
padding: ${theme.click.alert[$size].space.y} ${theme.click.alert[$size].space.x};
a {
font: inherit;
color: inherit;
text-decoration: underline;
}
`}
`;

const Title = styled.h6<{ $size: AlertSize }>`
margin: 0;
font: ${({ theme, $size }) => theme.click.alert[$size].typography.title.default};
Expand Down

0 comments on commit 6fc670c

Please sign in to comment.