From bd3a312e2f3bc07d58ad626fc23fe5635c2da6ff Mon Sep 17 00:00:00 2001 From: nthouliss Date: Fri, 1 Apr 2022 16:17:23 +1100 Subject: [PATCH] Edit toast colours --- src/components/Toast.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Toast.tsx b/src/components/Toast.tsx index e215cdf..366ce2a 100644 --- a/src/components/Toast.tsx +++ b/src/components/Toast.tsx @@ -5,11 +5,11 @@ import { AppearanceTypes, ToastProvider as DefaultToastProvider } from "react-to function getToastAppearance(appearance: AppearanceTypes) { let colour = "overlay" if (appearance === "error") { - colour = "secondary" + colour = "highlight" } else if (appearance === "info") { colour = "overlay" } else if (appearance === "warning") { - colour = "highlight" + colour = "secondary" } else if (appearance === "success") { colour = "primary" }