import { createMuiTheme } from '@material-ui/core/styles' ; import { green } from '@material-ui/core/colors' ; const theme = createMuiTheme ( { drawerWidth : 240 , palette : { primary : { main : "#2d2d2d" , text : "#fff" , } , secondary : { light : green [ 300 ] , main : green [ 500 ] , dark : green [ 700 ] , } , typography : { useNextVariants : true , } , } , } as any ) ; export type Theme = typeof theme ; export default theme ;