🖌️ Update `svelte-sonner` styles

This commit is contained in:
pheralb 2024-03-09 14:03:42 +00:00
parent 407762d3a7
commit 482ef59950

View File

@ -73,12 +73,13 @@
</Transition> </Transition>
<Toaster <Toaster
position="bottom-right" position="bottom-right"
theme={$mode}
class="toaster group"
toastOptions={{ toastOptions={{
class: 'font-sans', classes: {
descriptionClass: 'font-mono', toast: 'group toast dark:group-[.toaster]:bg-neutral-900 group-[.toaster]:font-sans',
style: `background-color: ${$mode === 'light' ? '#f5f5f5' : '#262626'}; description: 'group-[.toast]:text-xs font-mono'
color: ${$mode === 'light' ? '#121212' : '#ffff'}; }
border-radius: 0.4rem; border: 1px solid ${$mode === 'light' ? '#d4d4d4' : '#404040'};`
}} }}
/> />
</div> </div>