Files
mainwebsite/src/app/_components/ThemeRegistry/theme.ts
2023-11-23 17:28:20 +01:00

26 lines
478 B
TypeScript

import { Roboto } from 'next/font/google';
import { createTheme } from '@mui/material/styles';
const roboto = Roboto({
weight: ['300', '400', '500', '700'],
subsets: ['latin'],
display: 'swap',
});
const theme = createTheme({
palette: {
mode: 'dark',
background: {
default: '#0d0d0d',
paper: '#0d0d0d',
},
primary: {
main: '#646cff',
},
},
typography: {
fontFamily: roboto.style.fontFamily,
},
});
export default theme;