From 120a29276f5ed66b7bb00458ff2ff7e4e90d67ea Mon Sep 17 00:00:00 2001 From: Aarush-wadhia Date: Mon, 26 Aug 2024 13:42:56 +0530 Subject: [PATCH] fix(Toast): Made toast theme color more visible --- web/src/lib/components/Toast.svelte | 4 ++-- web/src/lib/components/chat/ChatIntroduction.svelte | 2 +- web/src/lib/components/chat/ChatWindow.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/lib/components/Toast.svelte b/web/src/lib/components/Toast.svelte index 66287638..cf7cf187 100644 --- a/web/src/lib/components/Toast.svelte +++ b/web/src/lib/components/Toast.svelte @@ -18,7 +18,7 @@ class="pointer-events-none fixed right-0 top-12 z-30 bg-gradient-to-bl from-red-500/20 via-red-500/0 to-red-500/0 pb-36 pl-36 pr-2 pt-2 md:top-0 md:pr-8 md:pt-5" >
{#if ToastType.SUCCESS === toastType} @@ -27,6 +27,6 @@ {:else if ToastType.ERROR === toastType} {/if} -

{message}

+

{message}

diff --git a/web/src/lib/components/chat/ChatIntroduction.svelte b/web/src/lib/components/chat/ChatIntroduction.svelte index b6d2ade1..95d8a294 100644 --- a/web/src/lib/components/chat/ChatIntroduction.svelte +++ b/web/src/lib/components/chat/ChatIntroduction.svelte @@ -58,7 +58,7 @@ } toastStore.set({ - message: "Notification sent successfully", + message: "Notification will be sent successfully", type: ToastType.SUCCESS, }); diff --git a/web/src/lib/components/chat/ChatWindow.svelte b/web/src/lib/components/chat/ChatWindow.svelte index a5a54df2..483a6fea 100644 --- a/web/src/lib/components/chat/ChatWindow.svelte +++ b/web/src/lib/components/chat/ChatWindow.svelte @@ -156,7 +156,7 @@ } toastStore.set({ - message: "Notification sent successfully", + message: "Notification will be sent successfully", type: ToastType.SUCCESS, });