/** * Module Augmentation for custom theme variables & tokens. * Must keep in this theme to prevent build errors. */ import { PaletteColorOptions } from '@mui/material'; import { Avatars } from '../../custom-types/component-avatar'; import { Buttons } from '../../custom-types/component-buttons'; import { Chip } from '../../custom-types/component-chip'; import { Dialog } from '../../custom-types/component-dialog'; import { EmptyState } from '../../custom-types/component-emptystate'; import { Effects } from '../../custom-types/global-effects'; import { Platform } from '../../custom-types/global-platform'; import { Shapes } from '../../custom-types/global-shapes'; import { Spacers } from '../../custom-types/global-spacers'; type RecursivePartial = { [P in keyof T]?: RecursivePartial; }; declare module '@mui/material/styles' { interface PaletteColor { transparent?: string; } interface SimplePaletteColorOptions { transparent?: string; } interface Palette { border: PaletteColor; default: PaletteColor; } interface PaletteOptions { border?: PaletteColorOptions; default?: PaletteColorOptions; } interface Theme { platform: Platform; dialog: Dialog; emptyState: EmptyState; effects: Effects; shapes: Shapes; spacers: Spacers; buttons: Buttons; avatars: Avatars; chip: Chip; } interface ThemeOptions { platform?: Platform; dialog?: RecursivePartial; emptyState?: RecursivePartial; effects?: RecursivePartial; shapes?: RecursivePartial; spacers?: RecursivePartial; buttons?: RecursivePartial; avatars?: RecursivePartial; chip?: RecursivePartial; } } declare let theme: import("@mui/material").Theme; export default theme;