fix: change name of myPages link vaariant to underscored
This commit is contained in:
@@ -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"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user