diff --git a/src/routes/login/+page.svelte b/src/routes/login/+page.svelte
index aedb0c2e..36f61f25 100644
--- a/src/routes/login/+page.svelte
+++ b/src/routes/login/+page.svelte
@@ -17,14 +17,14 @@
case "success":
if (form?.notVerified) {
toast.error("Please verify your email first", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
} else form?.notVerified === false;
{
toast.success("Login successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
@@ -32,19 +32,19 @@
case "redirect":
isClicked = true;
toast.success("Login successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "failure":
toast.error("Invalid credentials", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "error":
toast.error(result.error.message, {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
break;
default:
diff --git a/src/routes/options-flow/+page.svelte b/src/routes/options-flow/+page.svelte
index 5cd53911..30371380 100644
--- a/src/routes/options-flow/+page.svelte
+++ b/src/routes/options-flow/+page.svelte
@@ -232,7 +232,7 @@
function handleAddRule() {
if (ruleName === "") {
toast.error("Please select a rule", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
return;
}
@@ -291,7 +291,7 @@
ruleOfList = [...ruleOfList, newRule];
/*
toast.success('Rule added', {
- style: 'border-radius: 200px; background: #333; color: #fff;'
+ style: 'border-radius: 200px; background: #2A2E39; color: #fff;'
});
*/
@@ -523,7 +523,7 @@
}
} else {
toast.error(`Market is closed`, {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
}
}
@@ -782,7 +782,7 @@
}
} else {
toast.error("Only for Pro Members", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
}
};
diff --git a/src/routes/price-alert/+page.svelte b/src/routes/price-alert/+page.svelte
index c37bfd7d..099db64c 100644
--- a/src/routes/price-alert/+page.svelte
+++ b/src/routes/price-alert/+page.svelte
@@ -84,7 +84,7 @@
if (numberOfChecked === 0) {
toast.error(`You need to select symbols before you can delete them`, {
style:
- "border-radius: 10px; background: #333; color: #fff; padding: 12px; margin-top: 10px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);",
+ "border-radius: 10px; background: #2A2E39; color: #fff; padding: 12px; margin-top: 10px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);",
});
} else {
const postData = {
diff --git a/src/routes/profile/+page.svelte b/src/routes/profile/+page.svelte
index 0236af66..4cbff07d 100644
--- a/src/routes/profile/+page.svelte
+++ b/src/routes/profile/+page.svelte
@@ -16,25 +16,25 @@
switch (result.type) {
case "success":
toast.success("Subscription Cancelled successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "redirect":
toast.success("Subscription Cancelled successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "failure":
toast.error("Something went wrong.", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "error":
toast.error(result.error.message, {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
break;
default:
@@ -58,25 +58,25 @@
switch (result.type) {
case "success":
toast.success("Subscription Reactivate successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "redirect":
toast.success("Subscription Reactivate successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "failure":
toast.error("Something went wrong.", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "error":
toast.error(result.error.message, {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
break;
default:
@@ -100,25 +100,25 @@
switch (result.type) {
case "success":
toast.success("Changing to Annual Plan successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "redirect":
toast.success("Changing to Annual Plan successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "failure":
toast.error("Something went wrong.", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "error":
toast.error(result.error.message, {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
break;
default:
diff --git a/src/routes/register/+page.svelte b/src/routes/register/+page.svelte
index f00dee2b..d14801ca 100644
--- a/src/routes/register/+page.svelte
+++ b/src/routes/register/+page.svelte
@@ -18,19 +18,19 @@
case "redirect":
isClicked = true;
toast.success("Registration successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "failure":
toast.error("Invalid credentials", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
await update();
break;
case "error":
toast.error(result.error.message, {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
break;
default:
diff --git a/src/routes/reset-password/+page.svelte b/src/routes/reset-password/+page.svelte
index 7aebb1f3..519d2142 100644
--- a/src/routes/reset-password/+page.svelte
+++ b/src/routes/reset-password/+page.svelte
@@ -12,14 +12,14 @@
try {
await pb.collection("users").requestPasswordReset(email);
toast.success("Password resetted. Check your emails!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
goto("/login");
} catch (err) {
toast.error(
{ err },
{
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
},
);
}
diff --git a/src/routes/stock-screener/+page.svelte b/src/routes/stock-screener/+page.svelte
index c9962d0e..728a0654 100644
--- a/src/routes/stock-screener/+page.svelte
+++ b/src/routes/stock-screener/+page.svelte
@@ -1430,7 +1430,7 @@
if (output === "success") {
toast.success("Strategy deleted successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
strategyList =
@@ -1466,7 +1466,7 @@
);
} else if (output === "failure") {
toast.error("Something went wrong. Please try again", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
}
}
@@ -1482,14 +1482,14 @@
if (!title || title.length === 0) {
toast.error("Title cannot be empty!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
return;
}
if (title?.length > 100) {
toast.error("Title is too long. Keep it simple and concise bruv!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
return;
}
@@ -1512,7 +1512,7 @@
const output = await response?.json();
if (output?.id && output?.id?.length !== 0) {
toast.success("Strategy created successfully!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
const closePopup = document.getElementById("addStrategy");
@@ -1525,7 +1525,7 @@
selectedPopularStrategy = "";
} else {
toast.error("Something went wrong. Please try again later!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
}
@@ -1617,7 +1617,7 @@
function handleAddRule() {
if (ruleName === "") {
toast.error("Please select a rule", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
return;
}
@@ -1677,7 +1677,7 @@
ruleOfList = [...ruleOfList, newRule];
/*
toast.success('Rule added', {
- style: 'border-radius: 200px; background: #333; color: #fff;'
+ style: 'border-radius: 200px; background: #2A2E39; color: #fff;'
});
*/
@@ -1804,7 +1804,7 @@ const handleKeyDown = (event) => {
if (printToast === true) {
toast.success("Strategy saved!", {
- style: "border-radius: 200px; background: #333; color: #fff;",
+ style: "border-radius: 200px; background: #2A2E39; color: #fff;",
});
}
diff --git a/src/routes/stocks/[tickerID]/+layout.svelte b/src/routes/stocks/[tickerID]/+layout.svelte
index fabc6e2d..aefd71c5 100644
--- a/src/routes/stocks/[tickerID]/+layout.svelte
+++ b/src/routes/stocks/[tickerID]/+layout.svelte
@@ -61,7 +61,7 @@
?.catch((error) => console.log("Error sharing content:", error));
} else {
toast.error("Sharing is not supported by your device", {
- style: "background: #333; color: #fff;",
+ style: "background: #2A2E39; color: #fff;",
});
}
}
@@ -994,7 +994,7 @@