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

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

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

  interface PaletteOptions {
    theme?: CustomThemePaletteColorOptions;
  }

  interface Palette {
    theme?: CustomThemePaletteColor;
  }
}
