Theme dark turns textfield to white
问题 when I try to use the dark theme, it turns the text field to white instead of a gray background. Am I doing something wrong ? 1.Create a text field 2.Set the theme to dark import React from "react"; import TextField from "@material-ui/core/TextField"; import { createMuiTheme } from "@material-ui/core/styles"; import { ThemeProvider } from "@material-ui/styles"; const theme = createMuiTheme({ palette: { type: "dark" } }); export default function FilledTextFields() { return ( <ThemeProvider