kbrgl / svelte-french-toast

🍞🥂 Buttery smooth toast notifications for Svelte
https://svelte-french-toast.vercel.app/
MIT License
838 stars 30 forks source link

Global styles? #9

Closed endigma closed 2 years ago

endigma commented 2 years ago

Can it be made possible to globally change the classes/styles applied to each part of the toaster? It would be preferential for app-wide theming to declare these things at a single point of authority rather than in every function call.

Offering the same props available to the toast() function to the toaster would be a good solution in my opinion.

kbrgl commented 2 years ago

This is already available, just pass the toastOptions prop to the Toaster.