Skip to content

Commit 74f0f24

Browse files
authored
Merge pull request #76 from buildo/fix-link-underline
Make underline color match Link color
2 parents 7c1d091 + ffb34fc commit 74f0f24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/Link/createLink.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ export function createLink(
5858
display="inline-block"
5959
fontWeight={config.labelWeight}
6060
textDecoration={config.labelDecoration}
61+
color={isDisabled ? "textDisabled" : "textLink"}
6162
>
62-
<Label as="span" size={config.labelSize} color={isDisabled ? "disabled" : "link"}>
63+
<Label as="span" size={config.labelSize}>
6364
{label}
6465
</Label>
6566
</Box>

0 commit comments

Comments
 (0)