From 96f183339528feeca4c57ac3a3dd124c67196d04 Mon Sep 17 00:00:00 2001 From: Petter Hohle Date: Fri, 6 Dec 2024 11:09:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Align=20text=20CSS=20classes=20w?= =?UTF-8?q?ith=20design=20=F0=9F=92=84=20Add=20labelLarge=20class=20?= =?UTF-8?q?=F0=9F=94=A5=20Remove=20labelSemibold=20and=20labelLight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../breadCrumbMenu/BreadCrumbMenu.tsx | 2 +- src/components/navigation/header/Header.tsx | 2 +- .../sections/employees/EmployeeList.tsx | 4 +- src/components/text/Text.stories.tsx | 16 ----- src/components/text/Text.tsx | 9 +-- src/components/text/text.module.css | 72 ++++++++++--------- 6 files changed, 44 insertions(+), 61 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 = ({ /> )}