enh: update info toast
This commit is contained in:
1 parent
f6add92702
commit
8f6a927be3
4 files changed
+154
-73
No files matched your search
@@ -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"
|
||||
/>
|
||||
Reference in new issue
Block a user