From dee62fbde034447b9ac715813c208ba6583edda9 Mon Sep 17 00:00:00 2001 From: Petter Hohle Date: Fri, 6 Dec 2024 12:55:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Align=20text=20CSS=20classes=20w?= =?UTF-8?q?ith=20design=20(#952)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 💄 Align text CSS classes with design 💄 Add labelLarge class 🔥 Remove labelSemibold and labelLight * 🔥 Remove labelBold * 💄 Update bodySmall and labelSmall --- .../breadCrumbMenu/BreadCrumbMenu.tsx | 2 +- src/components/navigation/header/Header.tsx | 2 +- .../sections/employees/EmployeeList.tsx | 4 +- src/components/text/Text.stories.tsx | 17 ---- src/components/text/Text.tsx | 12 +-- src/components/text/text.module.css | 84 ++++++++----------- 6 files changed, 43 insertions(+), 78 deletions(-) diff --git a/src/components/navigation/breadCrumbMenu/BreadCrumbMenu.tsx b/src/components/navigation/breadCrumbMenu/BreadCrumbMenu.tsx index 7bcb84d41..34c74acf3 100644 --- a/src/components/navigation/breadCrumbMenu/BreadCrumbMenu.tsx +++ b/src/components/navigation/breadCrumbMenu/BreadCrumbMenu.tsx @@ -48,7 +48,7 @@ export const BreadCrumbMenu = ({ className={ isLast ? styles.breadCrumbText : styles.breadCrumbLink } - type={isLast ? "labelSemibold" : "desktopLink"} + type={isLast ? "labelRegular" : "desktopLink"} > {title} diff --git a/src/components/navigation/header/Header.tsx b/src/components/navigation/header/Header.tsx index 0dede3c83..5909c7454 100644 --- a/src/components/navigation/header/Header.tsx +++ b/src/components/navigation/header/Header.tsx @@ -103,7 +103,7 @@ export const Header = ({ /> )}