File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/webapp/app/components/primitives Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import { cn } from "~/utils/cn";
44
55const variations = {
66 primary :
7- "text-indigo-500 transition hover:text-indigo-400 inline-flex gap-0.5 items-center group" ,
7+ "text-indigo-500 transition hover:text-indigo-400 inline-flex gap-0.5 items-center group focus-visible:focus-custom " ,
88 secondary :
9- "text-text-dimmed transition underline underline-offset-2 decoration-dimmed/50 hover:decoration-dimmed inline-flex gap-0.5 items-center group" ,
9+ "text-text-dimmed transition underline underline-offset-2 decoration-dimmed/50 hover:decoration-dimmed inline-flex gap-0.5 items-center group focus-visible:focus-custom " ,
1010} as const ;
1111
1212type TextLinkProps = {
@@ -34,14 +34,14 @@ export function TextLink({
3434 < Link to = { to } className = { cn ( classes , className ) } { ...props } >
3535 { children } { " " }
3636 { trailingIcon && (
37- < NamedIcon name = { trailingIcon } className = { cn ( "h-4 w -4" , trailingIconClassName ) } />
37+ < NamedIcon name = { trailingIcon } className = { cn ( "size -4" , trailingIconClassName ) } />
3838 ) }
3939 </ Link >
4040 ) : href ? (
4141 < a href = { href } className = { cn ( classes , className ) } { ...props } >
4242 { children } { " " }
4343 { trailingIcon && (
44- < NamedIcon name = { trailingIcon } className = { cn ( "h-4 w -4" , trailingIconClassName ) } />
44+ < NamedIcon name = { trailingIcon } className = { cn ( "size -4" , trailingIconClassName ) } />
4545 ) }
4646 </ a >
4747 ) : (
You can’t perform that action at this time.
0 commit comments