diff --git a/docs/src/pages/customization/palette/palette.md b/docs/src/pages/customization/palette/palette.md index 806d608c966f4d..32f224ca887fdf 100644 --- a/docs/src/pages/customization/palette/palette.md +++ b/docs/src/pages/customization/palette/palette.md @@ -84,7 +84,7 @@ const theme = createMuiTheme({ }, // Used by `getContrastText()` to maximize the contrast between // the background and the text. - contrastThreshold = 3, + contrastThreshold: 3, // Used by the functions below to shift a color's luminance by approximately // two indexes within its tonal palette. // E.g., shift from Red 500 to Red 300 or Red 700.