enh: update info toast

This commit is contained in:
Timothy J. Baek committed 2024-09-24 12:40:13 +02:00
1 parent f6add92702
commit 8f6a927be3
4 files changed
+154 -73

No files matched your search

+11 -1
View File
@@ -209,4 +209,14 @@
<slot />
{/if}
<Toaster richColors position="top-center" />
<Toaster
theme={$theme.includes('dark')
? 'dark'
: $theme === 'system'
? window.matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light'
: 'light'}
richColors
position="top-center"
/>