Scheduling infrastructure for absolutely everyone.
fix: make toast consisten with brand colour (#15638)
Amit Sharma726c938b6d03
diff --git a/packages/ui/components/toast/showToast.tsx b/packages/ui/components/toast/showToast.tsxindex 7eb44171d1b..9d6a51b24c4 100644--- a/packages/ui/components/toast/showToast.tsx+++ b/packages/ui/components/toast/showToast.tsx@@ -14,7 +14,7 @@ type IToast = {export const SuccessToast = ({ message, toastVisible, onClose, toastId }: IToast) => (<buttonclassName={classNames(- "data-testid-toast-success bg-brand-default text-inverted mb-2 flex h-auto space-x-2 rounded-md p-3 text-sm font-semibold shadow-md rtl:space-x-reverse md:max-w-sm",+ "data-testid-toast-success bg-brand-default text-brand mb-2 flex h-auto space-x-2 rounded-md p-3 text-sm font-semibold shadow-md rtl:space-x-reverse md:max-w-sm",toastVisible && "animate-fade-in-up cursor-pointer")}onClick={() => onClose(toastId)}>@@ -30,7 +30,7 @@ export const SuccessToast = ({ message, toastVisible, onClose, toastId }: IToastexport const ErrorToast = ({ message, toastVisible, onClose, toastId }: IToast) => (<buttonclassName={classNames(- "animate-fade-in-up bg-error text-error mb-2 flex h-auto space-x-2 rounded-md p-3 text-sm font-semibold shadow-md rtl:space-x-reverse md:max-w-sm",+ "animate-fade-in-up bg-error text-error text-brand mb-2 flex h-auto space-x-2 rounded-md p-3 text-sm font-semibold shadow-md rtl:space-x-reverse md:max-w-sm",toastVisible && "animate-fade-in-up cursor-pointer")}onClick={() => onClose(toastId)}>@@ -62,7 +62,7 @@ export const WarningToast = ({ message, toastVisible, onClose, toastId }: IToastexport const DefaultToast = ({ message, toastVisible, onClose, toastId }: IToast) => (<buttonclassName={classNames(- "animate-fade-in-up bg-brand-default text-inverted mb-2 flex h-auto space-x-2 rounded-md p-3 text-sm font-semibold shadow-md rtl:space-x-reverse md:max-w-sm",+ "animate-fade-in-up bg-brand-default text-brand mb-2 flex h-auto space-x-2 rounded-md p-3 text-sm font-semibold shadow-md rtl:space-x-reverse md:max-w-sm",toastVisible && "animate-fade-in-up cursor-pointer")}onClick={() => onClose(toastId)}>