themeProps: {
    overrides: (
        themeMode: "light" | "dark",
    ) => {
        components: {
            MuiCssBaseline: { styleOverrides: { body: { fontFamily: string } } };
        };
        palette: {
            mode: "light"
            | "dark";
            primary: { main: "#4E8DED" };
            secondary: { main: "#B2B9C4" | "#4B5F72" };
        };
        typography: {
            fontFamily: string;
            fontWeightBold: number;
            fontWeightLight: number;
            fontWeightMedium: number;
            fontWeightRegular: number;
        };
    };
} = ...

Type declaration

  • overrides: (
        themeMode: "light" | "dark",
    ) => {
        components: {
            MuiCssBaseline: { styleOverrides: { body: { fontFamily: string } } };
        };
        palette: {
            mode: "light"
            | "dark";
            primary: { main: "#4E8DED" };
            secondary: { main: "#B2B9C4" | "#4B5F72" };
        };
        typography: {
            fontFamily: string;
            fontWeightBold: number;
            fontWeightLight: number;
            fontWeightMedium: number;
            fontWeightRegular: number;
        };
    }