Skip to content

Commit

Permalink
fix: fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Apr 12, 2024
1 parent 0317f09 commit 1f7dc6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/client/pages/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const About = () => {
my: { xs: 8, md: 24 },
},
sectionHeading: {
fontFamily: 'Georgia',
fontFamily: 'Georgia, serif',
fontSize: { xs: '1.5rem', md: '2rem', lg: '2.5rem' },
letterSpacing: '-0.02rem',
fontWeight: 400,
Expand Down
11 changes: 2 additions & 9 deletions src/client/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import {
ThemeOptions,
} from '@mui/material/styles'

import '@fontsource/roboto/300.css'
import '@fontsource/roboto/400.css'
import '@fontsource/roboto/500.css'
import '@fontsource/roboto/700.css'

/**
* Module augmentation to extend default theme with new colours: https://mui.com/material-ui/customization/palette/#customization
*/
Expand All @@ -28,12 +23,10 @@ declare module '@mui/material/styles' {
const themeOptions: ThemeOptions = {
typography: {
fontFamily: [
'"Inter"',
'"Helvetica Neue"',
'"Roboto"',
'"Open Sans"',
'"Helvetica"',
'"Arial"',
'"sans-serif"',
'"Georgia"',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
Expand Down

0 comments on commit 1f7dc6b

Please sign in to comment.