import { EnhancedColor } from "../color";

declare module "@mui/material/styles/createPalette" {
  interface CustomThemePaletteColorOptions {
    bg?: string;
    text?: string;
    primary: EnhancedColor;
    secondary: EnhancedColor;
    warning?: EnhancedColor,
    grey?: EnhancedColor,
    success?: EnhancedColor,
    green?: EnhancedColor,
    tertiary1: EnhancedColor;
    tertiary2: EnhancedColor;
    tertiary3: EnhancedColor;
    tertiary4: EnhancedColor;
    tertiary5: EnhancedColor;
    tertiary6: EnhancedColor;
    error: EnhancedColor;
  }

  interface CustomThemePaletteColor {
    bg?: string;
    text?: string;
    primary: EnhancedColor;
    secondary: EnhancedColor;
    warning?: EnhancedColor,
    grey?: EnhancedColor,
    success?: EnhancedColor,
    green?: EnhancedColor,
    tertiary1: EnhancedColor;
    tertiary2: EnhancedColor;
    tertiary3: EnhancedColor;
    tertiary4: EnhancedColor;
    tertiary5: EnhancedColor;
    tertiary6: EnhancedColor;
    error: EnhancedColor;
  }

  interface PaletteOptions {
    theme?: CustomThemePaletteColorOptions;
  }

  interface Palette {
    theme?: CustomThemePaletteColor;
  }
}
