2024-05-17 08:42:30 +04:00
|
|
|
'use client'
|
|
|
|
|
|
|
|
|
|
import {Roboto} from 'next/font/google'
|
|
|
|
|
import {createTheme} from '@mui/material/styles'
|
2024-05-18 09:26:18 +04:00
|
|
|
import {grey} from '@mui/material/colors'
|
2024-05-17 08:42:30 +04:00
|
|
|
|
|
|
|
|
const roboto = Roboto({ // eslint-disable-line new-cap
|
|
|
|
|
weight: ['300', '400', '500', '700'],
|
|
|
|
|
subsets: ['latin'],
|
|
|
|
|
display: 'swap',
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const theme = createTheme({
|
|
|
|
|
typography: {
|
|
|
|
|
fontFamily: roboto.style.fontFamily,
|
|
|
|
|
},
|
2024-05-18 09:26:18 +04:00
|
|
|
palette: {
|
|
|
|
|
mode: 'dark',
|
|
|
|
|
primary: grey,
|
|
|
|
|
divider: grey[700],
|
|
|
|
|
background: {
|
|
|
|
|
default: grey[900],
|
|
|
|
|
paper: grey[800],
|
|
|
|
|
},
|
|
|
|
|
text: {
|
|
|
|
|
primary: '#fff',
|
|
|
|
|
secondary: grey[500],
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-05-17 08:42:30 +04:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
export default theme
|