diff options
Diffstat (limited to 'src/common/theme/components.js')
-rw-r--r-- | src/common/theme/components.js | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/common/theme/components.js b/src/common/theme/components.js new file mode 100644 index 00000000..56a2ac75 --- /dev/null +++ b/src/common/theme/components.js @@ -0,0 +1,40 @@ +export default { + MuiUseMediaQuery: { + defaultProps: { + noSsr: true, + }, + }, + MuiOutlinedInput: { + styleOverrides: { + root: ({ theme }) => ({ + backgroundColor: theme.palette.background.default, + }), + }, + }, + MuiButton: { + styleOverrides: { + sizeMedium: { + height: '40px', + }, + }, + }, + MuiFormControl: { + defaultProps: { + size: 'small', + }, + }, + MuiSnackbar: { + defaultProps: { + anchorOrigin: { + vertical: 'bottom', + horizontal: 'center', + }, + }, + }, + MuiTooltip: { + defaultProps: { + enterDelay: 500, + enterNextDelay: 500, + }, + }, +}; |