mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-12 08:00:35 +08:00
🖌️ Update `svelte-sonner
` styles
This commit is contained in:
parent
407762d3a7
commit
482ef59950
@ -73,12 +73,13 @@
|
||||
</Transition>
|
||||
<Toaster
|
||||
position="bottom-right"
|
||||
theme={$mode}
|
||||
class="toaster group"
|
||||
toastOptions={{
|
||||
class: 'font-sans',
|
||||
descriptionClass: 'font-mono',
|
||||
style: `background-color: ${$mode === 'light' ? '#f5f5f5' : '#262626'};
|
||||
color: ${$mode === 'light' ? '#121212' : '#ffff'};
|
||||
border-radius: 0.4rem; border: 1px solid ${$mode === 'light' ? '#d4d4d4' : '#404040'};`
|
||||
classes: {
|
||||
toast: 'group toast dark:group-[.toaster]:bg-neutral-900 group-[.toaster]:font-sans',
|
||||
description: 'group-[.toast]:text-xs font-mono'
|
||||
}
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user