aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/theme/components.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/theme/components.js')
-rw-r--r--modern/src/common/theme/components.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/modern/src/common/theme/components.js b/modern/src/common/theme/components.js
index 572f876e..56a2ac75 100644
--- a/modern/src/common/theme/components.js
+++ b/modern/src/common/theme/components.js
@@ -1,5 +1,3 @@
-import { grey } from '@mui/material/colors';
-
export default {
MuiUseMediaQuery: {
defaultProps: {
@@ -8,9 +6,9 @@ export default {
},
MuiOutlinedInput: {
styleOverrides: {
- root: {
- backgroundColor: grey[50],
- },
+ root: ({ theme }) => ({
+ backgroundColor: theme.palette.background.default,
+ }),
},
},
MuiButton: {