💄(frontend) add technical link style to legal notice primitive
Added a new style variant to the link primitive component that visually highlights technical links specifically within legal notices. This improves clarity and helps users distinguish different link types in legal documentation.
This commit is contained in:
committed by
aleb_the_flash
parent
0bbaae7c5e
commit
74aba2185a
@@ -51,6 +51,11 @@ const link = cva({
|
||||
lineHeight: '1rem',
|
||||
},
|
||||
},
|
||||
color: {
|
||||
primary: {
|
||||
color: 'blue',
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
@@ -64,12 +69,13 @@ export const A = ({
|
||||
externalIcon,
|
||||
underline,
|
||||
footer,
|
||||
color,
|
||||
...props
|
||||
}: AProps) => {
|
||||
return (
|
||||
<Link
|
||||
{...props}
|
||||
className={link({ size, externalIcon, underline, footer })}
|
||||
className={link({ size, externalIcon, underline, footer, color })}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user