Closed gregmsanderson closed 3 months ago
Hello,
I wonder if you think an offset e.g underline-offset-4 would be nice to add:
underline-offset-4
export function TextLink(props: LinkProps) { return ( <Link {...props} className={composeTailwindRenderProps(props.className, 'underline underline-offset-4')} /> ); }
Shadcn and Catalyst both do for their text links since it looks a bit nicer e.g:
I can simply override the class but it seemed a nice addition to the default. I could add a PR if you like.
Thanks.
@gregmsanderson that looks nicer! Please add it! Thanks!
Great!
That's done :)
https://github.com/zaichaopan/tailwind-react-aria-components-starter-kits/pull/8
Hello,
I wonder if you think an offset e.g
underline-offset-4
would be nice to add:Shadcn and Catalyst both do for their text links since it looks a bit nicer e.g:
I can simply override the class but it seemed a nice addition to the default. I could add a PR if you like.
Thanks.