💄(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:
lebaudantoine
2025-03-10 19:14:26 +01:00
committed by aleb_the_flash
parent 0bbaae7c5e
commit 74aba2185a

View File

@@ -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 })}
/>
)
}