|
import { Roboto } from "next/font/google"; |
|
import { experimental_extendTheme as extendTheme } from "@mui/material/styles"; |
|
|
|
export const roboto = Roboto({ |
|
weight: ["300", "400", "500", "700"], |
|
subsets: ["latin"], |
|
display: "swap", |
|
fallback: ["Helvetica", "Arial", "sans-serif"], |
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const theme = extendTheme({ |
|
colorSchemes: { |
|
light: { |
|
palette: { |
|
primary: { |
|
main: "#2c90fc", |
|
}, |
|
secondary: { |
|
main: "#b827fc", |
|
}, |
|
}, |
|
}, |
|
dark: { |
|
palette: { |
|
primary: { |
|
main: "#2c90fc", |
|
}, |
|
secondary: { |
|
main: "#b827fc", |
|
}, |
|
}, |
|
}, |
|
}, |
|
typography: { |
|
...roboto.style, |
|
h1: { |
|
fontSize: "5.25em", |
|
}, |
|
}, |
|
components: { |
|
MuiLink: { |
|
styleOverrides: { |
|
root: { |
|
textDecoration: "none", |
|
":hover": { |
|
textDecoration: "underline", |
|
}, |
|
}, |
|
}, |
|
}, |
|
}, |
|
}); |
|
|
|
export default theme; |
|
|