fix: change name of myPages link vaariant to underscored

This commit is contained in:
Christel Westerberg
2024-07-04 07:59:03 +02:00
parent 8956edbd2f
commit 55a71f001f
5 changed files with 4 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ export default async function ContactRow({ contact }: ContactRowProps) {
<Link
className={styles.link}
href={openableLink}
variant="myPage"
variant="underscored"
color="burgundy"
size="small"
>

View File

@@ -20,7 +20,7 @@
gap: var(--Spacing-x-half);
}
.myPage {
.underscored {
font-family: var(--typography-Body-Underlined-fontFamily);
font-size: var(--typography-Body-Underlined-fontSize);
font-weight: var(--typography-Body-Underlined-fontWeight);

View File

@@ -23,7 +23,7 @@ export const linkVariants = cva(styles.link, {
breadcrumb: styles.breadcrumb,
default: styles.default,
icon: styles.icon,
myPage: styles.myPage,
underscored: styles.underscored,
myPageMobileDropdown: styles.myPageMobileDropdown,
shortcut: styles.shortcut,
sidebar: styles.sidebar,

View File

@@ -49,7 +49,7 @@ export default function LoyaltyCard({
color="burgundy"
href={link.href}
target={link.openInNewTab ? "_blank" : undefined}
variant="myPage"
variant="underscored"
>
<ArrowRight
color="burgundy"

View File

@@ -32,7 +32,6 @@ const config = {
defaultVariants: {
color: "burgundy",
textAlign: "left",
textTransform: "uppercase",
type: "h1",
},
} as const