Spaces:
Sleeping
Sleeping
File size: 633 Bytes
52f7c56 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
'use client'
import { ThemeProvider, createTheme } from '@mui/material/styles'
import CssBaseline from '@mui/material/CssBaseline'
import { Roboto } from 'next/font/google'
const roboto = Roboto({
weight: ['300', '400', '500', '700'],
subsets: ['latin'],
})
const theme = createTheme({
palette: {
mode: 'light',
primary: {
main: '#2563eb',
},
},
typography: {
fontFamily: roboto.style.fontFamily,
},
})
export default function Providers({ children }: { children: React.ReactNode }) {
return (
<ThemeProvider theme={theme}>
<CssBaseline />
{children}
</ThemeProvider>
)
} |