FIX-1848 added theme for alerts specfic.

This commit is contained in:
Owaise Imdad committed 2025-03-02 22:59:00 +05:30
1 parent 649b5ad2a4
commit 95ccccc396
2 files changed
+12 -2

No files matched your search

+2 -2
View File
@@ -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 (
+10
View File
@@ -290,6 +290,16 @@ const newSemanticColors = {
dark: "#C084FC",
},
},
alert: {
background: {
light: newColors.gray200,
dark: "#1c1c1c",
},
border: {
light: newColors.blueGray600,
dark: "#515151",
},
},
};
export { typographyLevels, semanticColors as colors, newSemanticColors };