From ece0c783afecdf5d24e3097f02799693de96f2fd Mon Sep 17 00:00:00 2001 From: selankon Date: Tue, 28 May 2024 10:17:38 +0200 Subject: [PATCH 1/2] Use main font-family --- components/elements-v2/text.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/components/elements-v2/text.tsx b/components/elements-v2/text.tsx index a90b73f0..14fe4e8a 100644 --- a/components/elements-v2/text.tsx +++ b/components/elements-v2/text.tsx @@ -58,7 +58,6 @@ const styledConfig = { shouldForwardProp: (prop) => !cosmeticProps.includes(prop), }; const BaseText = styled.span.withConfig(styledConfig)` - font-family: Manrope; font-size: ${getTextSize}; font-weight: ${getTextWeight}; color: ${getTextColor}; From 9187e406df100775ee08fb8a924edf7fe6e2a4d4 Mon Sep 17 00:00:00 2001 From: selankon Date: Tue, 28 May 2024 10:45:35 +0200 Subject: [PATCH 2/2] Delete other font families without fallback --- components/elements/button.tsx | 2 -- components/pages/app/header.tsx | 7 +++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/components/elements/button.tsx b/components/elements/button.tsx index 1538115f..e3481f43 100644 --- a/components/elements/button.tsx +++ b/components/elements/button.tsx @@ -343,7 +343,6 @@ export const HomePageButton = styled.button` color: white; border: none; - font-family: 'Manrope'; font-style: normal; font-weight: 700; font-size: 16px; @@ -351,7 +350,6 @@ export const HomePageButton = styled.button` a { color: white; - font-family: 'Manrope'; font-style: normal; font-weight: 700; font-size: 16px; diff --git a/components/pages/app/header.tsx b/components/pages/app/header.tsx index be597057..67fb1f0b 100644 --- a/components/pages/app/header.tsx +++ b/components/pages/app/header.tsx @@ -6,14 +6,14 @@ import { Unless } from 'react-if'; import { useTranslation } from 'react-i18next'; import { + BLOCKS_PATH, HOME_PATH, ORGANIZATIONS_PATH, PROCESSES_PATH, - BLOCKS_PATH, - TRANSACTIONS_PATH, - VALIDATORS_PATH, STATS_PATH, TOOLS_PATH, + TRANSACTIONS_PATH, + VALIDATORS_PATH, VERIFY, } from '@const/routes'; @@ -290,7 +290,6 @@ const CTAButton = ({ url, children }: ILinkItemProps) => { const CTA = styled(Link)` color: inherit; - font-family: 'Manrope'; font-style: normal; font-weight: 700; font-size: 12.8px;