Skip to content

Commit

Permalink
buttons: disable the ripple effect (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhochman authored Nov 16, 2020
1 parent d8c3697 commit c5a1def
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/packages/core/src/AppProvider/themes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ const lightPalette = (): ClutchPalette => {
const lightTheme = () => {
return createMuiTheme({
palette: lightPalette(),
props: {
MuiButtonBase: {
// https://material-ui.com/getting-started/faq/#how-can-i-disable-the-ripple-effect-globally
disableRipple: true
}
},
overrides: {
MuiTypography: {
colorPrimary: {
Expand Down

0 comments on commit c5a1def

Please sign in to comment.