Skip to content

Commit eea45f4

Browse files
Tweak + fix text-link for dark mode
1 parent 9a5ec98 commit eea45f4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

resources/js/components/text-link.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ type LinkProps = ComponentProps<typeof Link>;
77
export default function TextLink({ className = '', children, ...props }: LinkProps) {
88
return (
99
<Link
10-
className={cn('underline decoration-neutral-400 underline-offset-2 duration-300 ease-out hover:decoration-neutral-700', className)}
10+
className={cn(
11+
'text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500',
12+
className,
13+
)}
1114
{...props}
1215
>
1316
{children}

0 commit comments

Comments
 (0)