Skip to content

Commit

Permalink
yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Dec 17, 2022
1 parent d6d422f commit cc2f6a6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/data/material/customization/palette/palette.md
Expand Up @@ -87,10 +87,10 @@ const theme = createTheme({
// dark: will be calculated from palette.secondary.main,
contrastText: '#ffcc00',
},
// Provide every color token (light, main, dark, and contrastText) when using
// custom colors for props in Material UI's components.
// Then you will be able to use it like this: `<Button color="custom">`
// (For TypeScript, you need to add module augmentation for the `custom` value)
// Provide every color token (light, main, dark, and contrastText) when using
// custom colors for props in Material UI's components.
// Then you will be able to use it like this: `<Button color="custom">`
// (For TypeScript, you need to add module augmentation for the `custom` value)
custom: {
light: '#ffa726',
main: '#f57c00',
Expand Down Expand Up @@ -192,19 +192,19 @@ declare module '@mui/material/styles' {
interface Palette {
neutral: Palette['primary'];
}

interface PaletteOptions {
neutral: PaletteOptions['primary'];
}

interface PaletteColor {
darker?: string;
}

interface SimplePaletteColorOptions {
darker?: string;
}

interface ThemeOptions {
status: {
danger: React.CSSProperties['color'];
Expand Down

0 comments on commit cc2f6a6

Please sign in to comment.