Refactored Alert component
This commit is contained in:
1 parent
419eab3d2a
commit
59f8acff1c
6 files changed
+106
-21
No files matched your search
@@ -88,14 +88,32 @@ const theme = createTheme({
|
||||
},
|
||||
content: {
|
||||
pX: "80px",
|
||||
pY: "40px"
|
||||
pY: "40px",
|
||||
},
|
||||
gap: {
|
||||
small: "8px",
|
||||
medium: "12px",
|
||||
ml: "16px",
|
||||
large: "24px",
|
||||
xl: "40px"
|
||||
}
|
||||
xl: "40px",
|
||||
},
|
||||
alert: {
|
||||
info: {
|
||||
color: secondaryMain,
|
||||
bg: otherColorsWhite,
|
||||
border: "#d0d5dd",
|
||||
},
|
||||
error: {
|
||||
color: "#d92d20",
|
||||
bg: "#fffaef",
|
||||
border: "#f04438",
|
||||
},
|
||||
warning: {
|
||||
color: "#f79009",
|
||||
bg: "#fffaef",
|
||||
border: "#fecf60"
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default theme;
|
||||
Reference in new issue
Block a user