From dd895cdaa20c06f23c0e5d018752ed633d4a2092 Mon Sep 17 00:00:00 2001 From: OMPRAKASH MISHRA Date: Wed, 20 Mar 2024 15:54:06 -0700 Subject: [PATCH] BC Sans fix --- .../src/components/AuthorizationDetails.tsx | 10 +++---- frontend/src/components/AuthorizationList.tsx | 16 +++++----- frontend/src/theme.tsx | 30 +++++++++++++++++++ 3 files changed, 43 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/AuthorizationDetails.tsx b/frontend/src/components/AuthorizationDetails.tsx index 8d1f7e05..ecb81514 100644 --- a/frontend/src/components/AuthorizationDetails.tsx +++ b/frontend/src/components/AuthorizationDetails.tsx @@ -43,7 +43,7 @@ export default function AuthorizationDetails() { Authorizations - + Authorized compost and biosolid facilities in B.C. @@ -347,7 +347,7 @@ export default function AuthorizationList() { @@ -419,7 +419,7 @@ export default function AuthorizationList() { diff --git a/frontend/src/theme.tsx b/frontend/src/theme.tsx index ab04d815..5c092947 100644 --- a/frontend/src/theme.tsx +++ b/frontend/src/theme.tsx @@ -19,6 +19,36 @@ const theme = createTheme({ main: '#234720', }, }, + typography: { + fontFamily: 'BCSans !important', + }, + components: { + MuiButton: { + styleOverrides: { + root: { + textTransform: 'none', + fontFamily: 'BCSans', + }, + }, + }, + MuiChip: { + styleOverrides: { + root: { + textTransform: 'none', + fontFamily: 'BCSans', + }, + }, + }, + MuiLink: { + styleOverrides: { + root: { + textTransform: 'none', + fontFamily: 'BCSans', + }, + }, + }, + }, + }) export default theme