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";
4
4
5
5
const variations = {
6
6
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 " ,
8
8
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 " ,
10
10
} as const ;
11
11
12
12
type TextLinkProps = {
@@ -34,14 +34,14 @@ export function TextLink({
34
34
< Link to = { to } className = { cn ( classes , className ) } { ...props } >
35
35
{ children } { " " }
36
36
{ trailingIcon && (
37
- < NamedIcon name = { trailingIcon } className = { cn ( "h-4 w -4" , trailingIconClassName ) } />
37
+ < NamedIcon name = { trailingIcon } className = { cn ( "size -4" , trailingIconClassName ) } />
38
38
) }
39
39
</ Link >
40
40
) : href ? (
41
41
< a href = { href } className = { cn ( classes , className ) } { ...props } >
42
42
{ children } { " " }
43
43
{ trailingIcon && (
44
- < NamedIcon name = { trailingIcon } className = { cn ( "h-4 w -4" , trailingIconClassName ) } />
44
+ < NamedIcon name = { trailingIcon } className = { cn ( "size -4" , trailingIconClassName ) } />
45
45
) }
46
46
</ a >
47
47
) : (
You can’t perform that action at this time.
0 commit comments