FIX-1848 added theme for alerts specfic.
This commit is contained in:
1 parent
649b5ad2a4
commit
95ccccc396
2 files changed
+12
-2
No files matched your search
@@ -36,8 +36,8 @@ const Alert = ({ variant, title, body, isToast, hasIcon = true, onClick }) => {
|
||||
*/
|
||||
|
||||
const text = theme.palette.secondary.contrastText;
|
||||
const bg = theme.palette.secondary.main;
|
||||
const border = theme.palette.secondary.contrastText;
|
||||
const border = theme.palette.alert.border;
|
||||
const bg = theme.palette.alert.background;
|
||||
const icon = icons[variant];
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user