Moved toast notif to top right and some other small fixes
This commit is contained in:
1 parent
f132e8ebe5
commit
93c8ce6532
7 files changed
+20
-12
No files matched your search
@@ -23,16 +23,17 @@ const shadow =
|
||||
const darkTheme = createTheme({
|
||||
typography: { fontFamily: fontFamilyDefault, fontSize: 13 },
|
||||
palette: {
|
||||
mode: "dark",
|
||||
common: { main: "#1570ef" },
|
||||
text: text,
|
||||
background: background,
|
||||
border: border,
|
||||
info: {
|
||||
text: "#475467",
|
||||
main: "#475467",
|
||||
bg: "#ffffff",
|
||||
light: "#ffffff",
|
||||
border: "#D0D5DD",
|
||||
text: text.primary,
|
||||
main: text.primary,
|
||||
bg: background.main,
|
||||
light: background.main,
|
||||
border: border.light,
|
||||
},
|
||||
success: {
|
||||
text: "#079455",
|
||||
|
||||
@@ -22,7 +22,6 @@ const shadow =
|
||||
const lightTheme = createTheme({
|
||||
typography: { fontFamily: fontFamilyDefault, fontSize: 13 },
|
||||
palette: {
|
||||
mode: "dark",
|
||||
common: { main: "#1570ef" },
|
||||
text: text,
|
||||
background: background,
|
||||
|
||||
@@ -19,7 +19,7 @@ export const createToast = ({
|
||||
config = {},
|
||||
}) => {
|
||||
const toastConfig = {
|
||||
position: "bottom-right",
|
||||
position: "top-right",
|
||||
autoClose: 3000,
|
||||
hideProgressBar: true,
|
||||
closeButton: false,
|
||||
|
||||
Reference in new issue
Block a user