From 03f008a76e59ae314c9a88a4b38b5eb72772fd29 Mon Sep 17 00:00:00 2001 From: Emmyn5600 Date: Thu, 7 Nov 2024 22:44:25 +0200 Subject: [PATCH] I made font family global to all pages --- src/components/LeaderboardHoldingTotals.module.css | 8 ++++---- src/components/LeaderboardHoldings.module.css | 10 +++++----- src/components/LeaderboardTotals.module.css | 4 ++-- src/components/ProfileHoldings.module.css | 4 ++-- src/components/ProfileWallets.module.css | 2 +- src/components/nav-element/NavBar.module.css | 2 +- src/views/home/index.module.css | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/components/LeaderboardHoldingTotals.module.css b/src/components/LeaderboardHoldingTotals.module.css index f6b4415..b2c6a04 100644 --- a/src/components/LeaderboardHoldingTotals.module.css +++ b/src/components/LeaderboardHoldingTotals.module.css @@ -87,7 +87,7 @@ justify-content: flex-start; font-size: 12px; color: rgba(255, 255, 255, 0.7); - font-family: 'Open Runde'; + font-family: var(--font-family-base); } .numberAndBadgeParent { @@ -243,7 +243,7 @@ } .statValue { - font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif; + font-family: var(--font-family-base); font-size: 36px; font-weight: 700; color: #FFFFFF; @@ -251,7 +251,7 @@ } .statLabel { - font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif; + font-family: var(--font-family-base); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.9); @@ -265,7 +265,7 @@ background: linear-gradient(180deg, #f98c13, #ffaf03); border-radius: 24px; color: #FFFFFF; - font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif; + font-family: var(--font-family-base); } @media (max-width: 768px) { diff --git a/src/components/LeaderboardHoldings.module.css b/src/components/LeaderboardHoldings.module.css index 05237fc..72b3110 100644 --- a/src/components/LeaderboardHoldings.module.css +++ b/src/components/LeaderboardHoldings.module.css @@ -32,7 +32,7 @@ gap: 14px; font-size: 12px; color: #000000; - font-family: 'Open Runde'; + font-family: var(--font-family-base); } .text { width: 20px; @@ -135,7 +135,7 @@ text-align: left; font-size: 16px; color: #000000; - font-family: 'SF Compact Rounded'; + font-family: var(--font-family-base); } .container { @@ -150,7 +150,7 @@ width: 100%; border-collapse: separate; border-spacing: 0; - font-family: 'SF Compact Rounded', sans-serif; + font-family: var(--font-family-base); font-weight: bold; } @@ -204,7 +204,7 @@ } .daoInfo span { - font-family: 'SF Compact Rounded', sans-serif; + font-family: var(--font-family-base); font-weight: bold; } @@ -217,7 +217,7 @@ gap: 14px; font-size: 12px; color: #000000; - font-family: 'SF Compact Rounded'; + font-family: var(--font-family-base); font-weight: bold; } diff --git a/src/components/LeaderboardTotals.module.css b/src/components/LeaderboardTotals.module.css index dc3841e..e248323 100644 --- a/src/components/LeaderboardTotals.module.css +++ b/src/components/LeaderboardTotals.module.css @@ -13,7 +13,7 @@ text-align: left; font-size: 24px; color: #fff; - font-family: 'SF Compact Rounded'; + font-family: var(--font-family-base); } .instanceParent { @@ -55,7 +55,7 @@ justify-content: flex-start; font-size: 12px; color: rgba(255, 255, 255, 0.7); - font-family: 'Open Runde'; + font-family: var(--font-family-base); } .heading { diff --git a/src/components/ProfileHoldings.module.css b/src/components/ProfileHoldings.module.css index 10aa9e3..a0c8fa6 100644 --- a/src/components/ProfileHoldings.module.css +++ b/src/components/ProfileHoldings.module.css @@ -31,7 +31,7 @@ gap: 14px; font-size: 12px; color: #9b8d7d; - font-family: 'Open Runde'; + font-family: var(--font-family-base); } .text { width: 20px; @@ -134,7 +134,7 @@ text-align: left; font-size: 16px; color: #3c3626; - font-family: 'SF Compact Rounded'; + font-family: var(--font-family-base); } .container { diff --git a/src/components/ProfileWallets.module.css b/src/components/ProfileWallets.module.css index 48dc95b..864fd74 100644 --- a/src/components/ProfileWallets.module.css +++ b/src/components/ProfileWallets.module.css @@ -66,7 +66,7 @@ text-align: left; font-size: 18px; color: #242424; - font-family: 'SF Compact Rounded'; + font-family: var(--font-family-base); margin: 0 24px; } .title { diff --git a/src/components/nav-element/NavBar.module.css b/src/components/nav-element/NavBar.module.css index e5ee47d..707ecd7 100644 --- a/src/components/nav-element/NavBar.module.css +++ b/src/components/nav-element/NavBar.module.css @@ -12,7 +12,7 @@ align-items: center; text-decoration: none; color: #242424; - font-family: 'SF Compact Rounded', sans-serif; + font-family: var(--font-family-base); font-weight: 500; } diff --git a/src/views/home/index.module.css b/src/views/home/index.module.css index 40eb7aa..dddd22f 100644 --- a/src/views/home/index.module.css +++ b/src/views/home/index.module.css @@ -5,7 +5,7 @@ flex-direction: column; align-items: center; padding: 32px 16px; - font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + font-family: var(--font-family-base); } .content {