// Extend MUI Theme Types
import '@blocklet/theme';
import '@mui/material/styles';

declare module '@mui/material/styles' {
  interface Palette {
    chip: {
      success: {
        text: string;
        background: string;
        border: string;
      };
      default: {
        text: string;
        background: string;
        border: string;
      };
      secondary: {
        text: string;
        background: string;
        border: string;
      };
      error: {
        text: string;
        background: string;
        border: string;
      };
      warning: {
        text: string;
        background: string;
        border: string;
      };
      info: {
        text: string;
        background: string;
        border: string;
      };
    };
  }
  interface PaletteOptions {
    chip?: {
      success?: {
        text?: string;
        background?: string;
        border?: string;
      };
      default?: {
        text?: string;
        background?: string;
        border?: string;
      };
      secondary?: {
        text?: string;
        background?: string;
        border?: string;
      };
      error?: {
        text?: string;
        background?: string;
        border?: string;
      };
      warning?: {
        text?: string;
        background?: string;
        border?: string;
      };
      info?: {
        text?: string;
        background?: string;
        border?: string;
      };
    };
  }
  interface TypeText {
    lighter?: string;
    link?: string;
  }
}
