Skip to content

Commit

Permalink
Add temporary fix for wrong background color on MuiPaper
Browse files Browse the repository at this point in the history
This fix can be reverted after mui/material-ui#43683 is resolved.
  • Loading branch information
viliket committed Sep 10, 2024
1 parent ad223ad commit 6caa404
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ const baseTheme: CssVarsThemeOptions = {
},
},
},
MuiPaper: {
variants: [
// Temporary workaround for https://github.com/mui/material-ui/issues/43683
{ props: { elevation: 0 }, style: { '--Paper-overlay': 'none' } },
],
},
MuiDialog: {
styleOverrides: {
root: {
Expand Down

0 comments on commit 6caa404

Please sign in to comment.