Skip to content

Commit

Permalink
fix(theme): replace not recommended style overrides properties by var…
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Apr 4, 2023
1 parent ca855d9 commit b217bb6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/ra-ui-materialui/src/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ export const defaultTheme = {
},
components: {
MuiFilledInput: {
styleOverrides: {
root: {
backgroundColor: 'rgba(0, 0, 0, 0.04)',
'&$disabled': {
variants: [
{
props: {},
style: {
backgroundColor: 'rgba(0, 0, 0, 0.04)',
'&$disabled': {
backgroundColor: 'rgba(0, 0, 0, 0.04)',
},
},
},
},
],
},
MuiTextField: {
defaultProps: {
Expand Down

0 comments on commit b217bb6

Please sign in to comment.