Tweak toasts

This commit is contained in:
Sam Becker 2023-11-02 22:56:59 -05:00
parent 2ae0eefd80
commit 355a700f17
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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: <AiOutlineWarning size={16} />,
icon: <PiWarningBold size={16} />,
duration,
},
);