Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
adamplesnik committed Oct 1, 2024
1 parent 15b1619 commit f7ee805
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Link = ({ href, children, target = '_blank' }: PropsWithChildren<LinkProps
<a
href={href}
target={target}
className="flex items-center text-zinc-900 hover:text-zinc-700 print:text-zinc-700"
className="flex items-center text-zinc-500 underline decoration-zinc-400 hover:text-zinc-900 hover:decoration-zinc-800 print:text-zinc-700"
>
{children}
</a>
Expand Down
6 changes: 3 additions & 3 deletions src/components/__snapshots__/Link.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Link with href 1`] = `
<a
className="flex items-center text-zinc-900 hover:text-zinc-700 print:text-zinc-700"
className="flex items-center text-zinc-500 underline decoration-zinc-400 hover:text-zinc-900 hover:decoration-zinc-800 print:text-zinc-700"
href="url/"
target="_blank"
>
Expand All @@ -12,7 +12,7 @@ exports[`Link with href 1`] = `

exports[`Link with href and custom target 1`] = `
<a
className="flex items-center text-zinc-900 hover:text-zinc-700 print:text-zinc-700"
className="flex items-center text-zinc-500 underline decoration-zinc-400 hover:text-zinc-900 hover:decoration-zinc-800 print:text-zinc-700"
href="url/"
target="_self"
>
Expand All @@ -22,7 +22,7 @@ exports[`Link with href and custom target 1`] = `

exports[`Link with href, custom target and icon 1`] = `
<a
className="flex items-center text-zinc-900 hover:text-zinc-700 print:text-zinc-700"
className="flex items-center text-zinc-500 underline decoration-zinc-400 hover:text-zinc-900 hover:decoration-zinc-800 print:text-zinc-700"
href="url/"
target="_self"
>
Expand Down

0 comments on commit f7ee805

Please sign in to comment.