Tweak toasts
This commit is contained in:
parent
2ae0eefd80
commit
355a700f17
@ -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 */
|
||||
|
||||
@ -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,
|
||||
},
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user