import { SvgIconProps } from '@material-ui/core/SvgIcon'; import { CSSProperties } from '@material-ui/styles'; import { ComponentType } from 'react'; declare module '@material-ui/core/styles/createPalette' { interface Palette { success: PaletteColor; info: PaletteColor; warning: PaletteColor; game: { empty: PaletteColor; inProgress: PaletteColor; finished: PaletteColor; closeable: PaletteColor; closed: PaletteColor; }; chart: { grid: PaletteColor; score: PaletteColor; mean: PaletteColor; deviation: PaletteColor; }; } interface PaletteOptions { success?: PaletteColorOptions; info?: PaletteColorOptions; warning?: PaletteColorOptions; game?: { empty?: PaletteColorOptions; inProgress?: PaletteColorOptions; finished?: PaletteColorOptions; closeable?: PaletteColorOptions; closed?: PaletteColorOptions; }; chart?: { grid?: PaletteColorOptions; score?: PaletteColorOptions; mean?: PaletteColorOptions; deviation?: PaletteColorOptions; }; } } declare module '@material-ui/core/styles/createMuiTheme' { interface Theme { gecogvidanto: { applicationName: string; menuWidth: number; icons: { success: ComponentType; info: ComponentType; warning: ComponentType; error: ComponentType; }; form: { style: { container: CSSProperties; form: CSSProperties; submit: CSSProperties; }; dialogWidth: CSSProperties['width']; pageWidth: CSSProperties['maxWidth']; }; }; } interface ThemeOptions { gecogvidanto?: { applicationName?: string; menuWidth?: number; icons?: { success?: ComponentType; info?: ComponentType; warning?: ComponentType; error?: ComponentType; }; form?: { style?: { container?: CSSProperties; form?: CSSProperties; submit?: CSSProperties; }; dialogWidth?: CSSProperties['width']; pageWidth?: CSSProperties['maxWidth']; }; }; } }