[data grid] Add a default background color to the data grid #15517
Labels
breaking change
component: data grid
This is the name of the generic UI component, not the React module!
customization: theme
Centered around the theming features
design
This is about UI or UX design, please involve a designer
See the following issues:
I propose that in v8, we set a default background color on the data grid to avoid such issues.
We could make it customizable through the theme mixin:
import { createTheme } from '@mui/material/styles'; import type {} from '@mui/x-data-grid/themeAugmentation'; const theme = createTheme({ mixins: { MuiDataGrid: { + background: '#340606', pinnedBackground: '#340606', containerBackground: '#343434', }, }, });
The text was updated successfully, but these errors were encountered: