From 355a700f17d70a97b79722d917b5002927aba9a1 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Thu, 2 Nov 2023 22:56:59 -0500 Subject: [PATCH] Tweak toasts --- src/site/globals.css | 2 +- src/toast/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/site/globals.css b/src/site/globals.css index bd0db754..fedb0261 100644 --- a/src/site/globals.css +++ b/src/site/globals.css @@ -106,7 +106,7 @@ /* Toasts */ .toaster [data-sonner-toast] { @apply - font-mono + font-mono font-normal !border-gray-200 dark:!border-gray-800 } /* Common Utilities */ diff --git a/src/toast/index.tsx b/src/toast/index.tsx index 19703b0c..d453ca10 100644 --- a/src/toast/index.tsx +++ b/src/toast/index.tsx @@ -1,5 +1,5 @@ import type { ReactNode } from 'react'; -import { AiOutlineWarning } from 'react-icons/ai'; +import { PiWarningBold } from 'react-icons/pi'; import { FiCheckSquare } from 'react-icons/fi'; import { toast } from 'sonner'; @@ -20,7 +20,7 @@ export const toastWarning = ( duration = DEFAULT_DURATION, ) => toast( message, { - icon: , + icon: , duration, }, );