export * from "@mui/x-date-pickers-pro/themeAugmentation"; export * from "@mui/x-date-pickers/themeAugmentation"; export * from "@mui/x-data-grid-pro/themeAugmentation"; // These are needed to mimic the MUI v4 "default" color for buttons, which was // removed in v5. See https://mui.com/guides/migration-v4/#button for more // details. declare module "@mui/material/Button" { interface ButtonPropsColorOverrides { grey: true; } } declare module "@mui/material/ButtonGroup" { interface ButtonGroupPropsColorOverrides { grey: true; } } declare module "@mui/material/IconButton" { interface IconButtonPropsColorOverrides { grey: true; } } declare module "@mui/material" { interface Color { main?: string; dark?: string; light?: string; } } declare module "@mui/material/styles" { interface Palette { custom: { /** * Emphasis that appears only when the user is in dark mode. */ darkModeEmphasis: string; /** * A text color for error messages. */ errorText: string; /** * A background for error messages. */ errorBackground: string; /** * A light grey background color. * * @deprecated Use `palette.grey.light`. */ greyBackground: string; /** * A subtle grey outline. */ greyOutline: string; /** * The inverse of either black or white, depending on the selected * mode. * * @deprecated Use `palette.background.default`. */ negativeSpace: string; }; } interface PaletteOptions { custom?: Partial; } } export default {};