Skip to content

Commit

Permalink
Change to Nunito Sans
Browse files Browse the repository at this point in the history
  • Loading branch information
fsargent committed Oct 21, 2024
1 parent 8c57b1a commit e567347
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 34 deletions.
1 change: 1 addition & 0 deletions packages/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json" />
<!-- Importing for ballot bubble font-->
<link href='https://fonts.googleapis.com/css?family=Archivo Black' rel='stylesheet'>
<link href="https://fonts.googleapis.com/css2?family=Nunito Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<!--
Notice the use of in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand Down
46 changes: 12 additions & 34 deletions packages/frontend/src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,41 +157,19 @@ const brandPalette: PaletteOptions = {
}

const brandTypography: TypographyOptions = {
// fontFamily: 'Montserrat',
fontFamily: 'Verdana, sans-serif',
button:{
fontFamily: 'Montserrat, Verdana, sans-serif',
fontFamily: '"Nunito Sans", sans-serif',
button: {
fontFamily: '"Nunito Sans", sans-serif',
textTransform: 'none'
},
h1: {
fontFamily: 'Montserrat, Verdana, sans-serif',
marginTop: '1rem',
marginBottom: '1rem',
},
h2: {
fontFamily: 'Montserrat, Verdana, sans-serif',
marginTop: '1rem',
marginBottom: '1rem',
},
h3: {
fontFamily: 'Montserrat, Verdana, sans-serif',
marginTop: '1rem',
marginBottom: '1rem',
},
h4: {
fontFamily: 'Montserrat, Verdana, sans-serif',
marginTop: '1rem',
marginBottom: '1rem',
},
h5: {
fontFamily: 'Montserrat, Verdana, sans-serif',
marginTop: '1rem',
marginBottom: '1rem',
},
h6: {
fontFamily: 'Montserrat, Verdana, sans-serif',
marginTop: '1rem',
marginBottom: '1rem',
}
...Object.fromEntries(['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].map(level => [
level,
{
fontFamily: '"Nunito Sans", sans-serif',
marginTop: '1rem',
marginBottom: '1rem',
}
]))
}

const themes = {
Expand Down

0 comments on commit e567347

Please sign in to comment.