Skip to content

Commit

Permalink
BC Sans fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp committed Mar 20, 2024
1 parent b5acdee commit dd895cd
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 13 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/AuthorizationDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function AuthorizationDetails() {
<Stack direction="row" justifyContent="space-between">
<span style={{
color:'#000000',
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'bold',
fontSize: '2em',
lineHeight: '3em',
Expand All @@ -53,7 +53,7 @@ export default function AuthorizationDetails() {
<Grid item xs={3}>
<span style={{
color: '#000000',
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 'bold',
fontSize: '1em',
Expand All @@ -63,7 +63,7 @@ export default function AuthorizationDetails() {
<Grid item xs={3}>
<span style={{
color: '#000000',
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 'bold',
fontSize: '1em',
Expand All @@ -73,7 +73,7 @@ export default function AuthorizationDetails() {
<Grid item xs={3}>
<span style={{
color: '#000000',
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 'bold',
fontSize: '1em',
Expand All @@ -83,7 +83,7 @@ export default function AuthorizationDetails() {
<Grid item xs={3}>
<span style={{
color: '#000000',
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 'bold',
fontSize: '1em',
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/components/AuthorizationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function AuthorizationList() {
<Typography
variant="h6"
sx={{
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontWeight: 700,
fontSize: 48,
color: '#000000',
Expand All @@ -120,7 +120,7 @@ export default function AuthorizationList() {
>
Authorizations
</Typography>
<Typography variant="h6" gutterBottom>
<Typography variant="h6" gutterBottom sx={{fontFamily: 'BCSans',}}>
Authorized compost and biosolid facilities in B.C.
</Typography>
</CardContent>
Expand Down Expand Up @@ -347,7 +347,7 @@ export default function AuthorizationList() {
<Typography variant="body2" color="text.secondary">
<span
style={{
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 700,
}}
Expand All @@ -368,7 +368,7 @@ export default function AuthorizationList() {
<Typography variant="h5" component="div">
<span
style={{
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 700,
}}
Expand All @@ -381,7 +381,7 @@ export default function AuthorizationList() {
<Grid item xs={6}>
<span
style={{
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 700,
}}
Expand All @@ -392,7 +392,7 @@ export default function AuthorizationList() {
<Grid item xs={6}>
<span
style={{
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
fontWeight: 700,
}}
Expand All @@ -409,7 +409,7 @@ export default function AuthorizationList() {
<Grid item xs={6}>
<span
style={{
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
}}
>
Expand All @@ -419,7 +419,7 @@ export default function AuthorizationList() {
<Grid item xs={6}>
<span
style={{
fontFamily: 'BC Sans',
fontFamily: 'BCSans',
fontStyle: 'normal',
}}
>
Expand Down
30 changes: 30 additions & 0 deletions frontend/src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dd895cd

Please sign in to comment.