misc: tweak toast design

This commit is contained in:
Xyphyn committed 2023-08-08 15:57:06 -07:00
1 parent daff5f2c09
commit a463562d0a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
>
<Icon
size="20"
solid
mini
class="relative m-2 ml-4 flex-shrink-0"
src={toast.type == 'info'
? InformationCircle
+1 -1
View File
@@ -3,7 +3,7 @@ import { writable } from 'svelte/store'
type ToastType = keyof typeof toastColors
export const toastColors = {
error: 'bg-red-500 text-white border border-red-600',
error: 'bg-red-600 text-white border border-red-700',
warning: 'bg-yellow-400 text-black border border-yellow-500',
success: 'bg-green-400 text-black border border-green-500',
info: 'dark:bg-zinc-900 bg-white border border-slate-200 dark:border-zinc-800 shadow-lg',