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 <Link
className={styles.link} className={styles.link}
href={openableLink} href={openableLink}
variant="myPage" variant="underscored"
color="burgundy" color="burgundy"
size="small" size="small"
> >

View File

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

View File

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

View File

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

View File

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