You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for submitting this.
I don't think it's intended, so indeed it might be better to change the warning notification to use the 'warning' palette color.
Summary
<Notification />
usesMUI
's<SnackBar />
component and overrides style according to type of notification(success, error, warning, undo...etc
).StyledSnackbar
uses MUI'serror
palette on both case,error(error.dark)
andwarning(error.light)
.react-admin/packages/ra-ui-materialui/src/layout/Notification.tsx
Lines 136 to 156 in be726d6
But, there is warning palette on MUI`'s default palette. (please refer the below screenshot, or link)
Is there any reason that not using
warning
value fromMUI
's default palette?The text was updated successfully, but these errors were encountered: