import { FC } from 'react'; import { CssBaseline } from '@mui/material'; import { createTheme, responsiveFontSizes, ThemeProvider } from '@mui/material/styles'; import { indigo, blueGrey, orange, red, green } from '@mui/material/colors'; import { RequiredChildrenProps } from './utils'; const theme = responsiveFontSizes( createTheme({ palette: { background: { default: "#fafafa" }, primary: indigo, secondary: blueGrey, info: { main: indigo[500] }, warning: { main: orange[500] }, error: { main: red[500] }, success: { main: green[500] } } }) ); const CustomTheme: FC = ({ children }) => ( {children} ); export default CustomTheme;