Skip to content

Commit

Permalink
[docs] Fix typo in the error message generated by createMuiTheme (#24827
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mbrookes committed Feb 7, 2021
1 parent 4490e9c commit 399beae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/styles/createPalette.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default function createPalette(palette) {
// The colors used to present information to the user that is neutral and not necessarily important.
info: augmentColor({ color: info, name: 'info' }),
// The colors used to indicate the successful completion of an action that user triggered.
success: augmentColor({ color: success, name: 'succes' }),
success: augmentColor({ color: success, name: 'success' }),
// The grey colors.
grey,
// Used by `getContrastText()` to maximize the contrast between
Expand Down

0 comments on commit 399beae

Please sign in to comment.