From 037f75b77d1d8b512011ac327c682599c686ceac Mon Sep 17 00:00:00 2001 From: asvarcas Date: Mon, 28 Dec 2020 01:44:11 -0300 Subject: [PATCH] Change Notification's error color from dark to main --- packages/ra-ui-materialui/src/layout/Notification.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ra-ui-materialui/src/layout/Notification.tsx b/packages/ra-ui-materialui/src/layout/Notification.tsx index 6448256fc39..a026709197f 100644 --- a/packages/ra-ui-materialui/src/layout/Notification.tsx +++ b/packages/ra-ui-materialui/src/layout/Notification.tsx @@ -31,7 +31,7 @@ const useStyles = makeStyles( color: theme.palette.info.contrastText, }, error: { - backgroundColor: theme.palette.error.dark, + backgroundColor: theme.palette.error.main, color: theme.palette.error.contrastText, }, warning: {