From 55a71f001f514fcb7f38220df3e420eced80fa9f Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Thu, 4 Jul 2024 07:59:03 +0200 Subject: [PATCH] fix: change name of myPages link vaariant to underscored --- .../Loyalty/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx | 2 +- components/TempDesignSystem/Link/link.module.css | 2 +- components/TempDesignSystem/Link/variants.ts | 2 +- components/TempDesignSystem/LoyaltyCard/index.tsx | 2 +- components/TempDesignSystem/Text/Title/variants.ts | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/Loyalty/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx b/components/Loyalty/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx index 827153aa1..ee9f95ac1 100644 --- a/components/Loyalty/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx +++ b/components/Loyalty/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx @@ -44,7 +44,7 @@ export default async function ContactRow({ contact }: ContactRowProps) { diff --git a/components/TempDesignSystem/Link/link.module.css b/components/TempDesignSystem/Link/link.module.css index bcf90ec33..94a3c22ec 100644 --- a/components/TempDesignSystem/Link/link.module.css +++ b/components/TempDesignSystem/Link/link.module.css @@ -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); diff --git a/components/TempDesignSystem/Link/variants.ts b/components/TempDesignSystem/Link/variants.ts index cffb3dda4..df9d2c52f 100644 --- a/components/TempDesignSystem/Link/variants.ts +++ b/components/TempDesignSystem/Link/variants.ts @@ -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, diff --git a/components/TempDesignSystem/LoyaltyCard/index.tsx b/components/TempDesignSystem/LoyaltyCard/index.tsx index db060ef42..b6dbd0008 100644 --- a/components/TempDesignSystem/LoyaltyCard/index.tsx +++ b/components/TempDesignSystem/LoyaltyCard/index.tsx @@ -49,7 +49,7 @@ export default function LoyaltyCard({ color="burgundy" href={link.href} target={link.openInNewTab ? "_blank" : undefined} - variant="myPage" + variant="underscored" >