diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte
index 1cbff65..0350326 100644
--- a/frontend/src/App.svelte
+++ b/frontend/src/App.svelte
@@ -66,7 +66,22 @@ toast('Hello World', {
-->
-
+
diff --git a/frontend/src/lib/components/AddonCard.svelte b/frontend/src/lib/components/AddonCard.svelte
index 7be98dc..596aceb 100644
--- a/frontend/src/lib/components/AddonCard.svelte
+++ b/frontend/src/lib/components/AddonCard.svelte
@@ -21,15 +21,25 @@
const res = await UpdateAddon(addon.name);
if (res.error) {
console.error(res.error);
- toast.error(`Failed to update ${addon.name}`);
+ toast.error(`Failed to update ${addon.name}`, {
+ classes: {
+ toast: 'bg-red-600'
+ }
+ });
} else {
if (res.data) {
- toast.warning(`${addon.name} updated with breaking changes!`, {
- duration: 5000
+ toast.error(`${addon.name} updated with breaking changes!`, {
+ classes: {
+ toast: 'bg-red-600'
+ },
+ description: 'Please restart your game to apply the update.'
});
} else {
toast.success(`${addon.name} updated successfully!`, {
- duration: 3000
+ classes: {
+ toast: 'bg-green-600'
+ },
+ description: 'You may /reload ingame to apply the update.'
});
}
}