Skip to content

Commit 9120d90

Browse files
authored
fix(Toast): Made toast theme color more visible (#336)
1 parent 2a6cf59 commit 9120d90

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

web/src/lib/components/Toast.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
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"
1919
>
2020
<div
21-
class="pointer-events-auto flex items-center rounded-full bg-white/90 px-3 py-1 shadow-sm dark:bg-gray-900/80"
21+
class="pointer-events-auto flex items-center rounded-full bg-white/90 px-3 py-1 shadow-sm"
2222
>
2323
{#if ToastType.SUCCESS === toastType}
2424
<CarbonCheck color="green" height="1.5em" width="1.5em" class="mx-2" />
@@ -27,6 +27,6 @@
2727
{:else if ToastType.ERROR === toastType}
2828
<CarbonError color="red" height="1.5em" width="1.5em" class="mx-2" />
2929
{/if}
30-
<h2 class="font-semibold mx-2 text-white">{message}</h2>
30+
<h2 class="font-semibold mx-2">{message}</h2>
3131
</div>
3232
</div>

web/src/lib/components/chat/ChatIntroduction.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}
5959
6060
toastStore.set({
61-
message: "Notification sent successfully",
61+
message: "Notification will be sent successfully",
6262
type: ToastType.SUCCESS,
6363
});
6464

web/src/lib/components/chat/ChatWindow.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
}
157157
158158
toastStore.set({
159-
message: "Notification sent successfully",
159+
message: "Notification will be sent successfully",
160160
type: ToastType.SUCCESS,
161161
});
162162

0 commit comments

Comments
 (0)