Files
dotfiles/scaffolds/nextjs/mui.d.ts
2022-09-01 23:52:07 +03:00

27 lines
624 B
TypeScript

import { PaletteOptions, PaletteColorOptions } from '@mui/material/styles/createPalette'
declare module '@mui/material/styles/createTheme' {
type Shadows =
| 'input'
| 'card'
| 'likedCard'
| 'dislikedCard'
| 'mutualCard'
| 'matchButton'
| 'avatar'
interface ThemeOptions {
boxShadows: Record<Shadows, string>
}
interface Theme {
boxShadows: Record<Shadows, string>
}
}
declare module '@mui/material/styles/createPalette' {
export interface PaletteOptions {
link?: PaletteColorOptions
disabled?: PaletteColorOptions
disabledBackground?: PaletteColorOptions
}
}