import { createTheme } from "@material-ui/core" ; import { red } from "@material-ui/core/colors" ; import { PaletteOptions } from "@material-ui/core/styles/createPalette" ; const palette = { type : "dark" , primary : { main : red [ 800 ] , contrastText : "#FFFFFF" , } , background : { default : "#242526" , } , } ; const theme = createTheme ( { palette , overrides : { MuiCssBaseline : { "@global" : { "html, body, body>div" : { height : "100%" , } , } , } , } , } ) ; export default theme ;