✨ feat: add new font and update theme

This commit is contained in:
2025-06-16 13:08:05 +00:00
parent c222c4fa12
commit 612853cc86
5 changed files with 54 additions and 13 deletions
+26 -3
View File
@@ -1,8 +1,29 @@
/* istanbul ignore file */
import { createTheme } from '@mui/material/styles'
import { createTheme, responsiveFontSizes } from '@mui/material/styles'
// A custom theme for this app
const theme = createTheme({
let theme = createTheme({
typography: {
fontFamily: 'Inter, sans-serif', // Base font for headings
h1: {
fontFamily: 'Oswald, sans-serif',
textTransform: 'uppercase',
fontWeight: 700,
},
h2: {
fontFamily: 'Oswald, sans-serif',
textTransform: 'uppercase',
fontWeight: 700,
},
h3: {
fontFamily: 'Oswald, sans-serif',
fontWeight: 700,
},
h4: {
fontFamily: 'Oswald, sans-serif',
fontWeight: 700,
},
},
palette: {
mode: 'dark',
primary: {
@@ -18,4 +39,6 @@ const theme = createTheme({
},
})
theme = responsiveFontSizes(theme)
export default theme