Change root background color with Material-UI theme
CssBaseline is the component that controls this aspect. If you aren’t using CssBaseline, then you are just seeing the default provided by the browser. Here is a working v4 example (v5 example further down): import React from “react”; import ReactDOM from “react-dom”; import CssBaseline from “@material-ui/core/CssBaseline”; import { MuiThemeProvider, createMuiTheme } from “@material-ui/core/styles”; import Button … Read more