Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataGrid] Make colors customizable #12614

Merged
merged 10 commits into from Apr 11, 2024
Merged

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Mar 29, 2024

Closes #12443

Make grid colors customizable through the MUI themes API.
Eventually we'll also need CSS variables but for now this is enough.

Before: https://codesandbox.io/p/sandbox/mui-x-datagrid-colors-s2wnkz

@romgrk romgrk added component: data grid This is the name of the generic UI component, not the React module! customization: theme Centered around the theming features labels Mar 29, 2024
@mui-bot
Copy link

mui-bot commented Mar 29, 2024

Deploy preview: https://deploy-preview-12614--material-ui-x.netlify.app/

Updated pages:

Generated by 🚫 dangerJS against 63b46de

docs/data/data-grid/style/style.md Outdated Show resolved Hide resolved
docs/data/data-grid/style/style.md Outdated Show resolved Hide resolved
Copy link
Member

@MBilalShafi MBilalShafi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, dropped a few minor comments

romgrk and others added 7 commits April 3, 2024 08:24
Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com>
Signed-off-by: Rom Grk <romgrk@users.noreply.github.com>
Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com>
Signed-off-by: Rom Grk <romgrk@users.noreply.github.com>
@romgrk romgrk merged commit 873d964 into mui:master Apr 11, 2024
17 checks passed
@romgrk romgrk deleted the feat-grid-styling-colors branch April 11, 2024 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! customization: theme Centered around the theming features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] How to change DataGrid Palette colors
5 participants