svelte-sonner
svelte-sonner copied to clipboard
An opinionated toast component for Svelte. A port of @emilkowalski's sonner.
First, thanks for svelte-sonner. It's quite a nice toast component. Second, I replaced my hand rolled toast component with sonner, and saw bundle.es.js grow by 110kb (50kb after minifying). I...
### Describe the bug Hi; I wanted to point out that I couldn't see rich colours rendered when my project is deployed to Cloudflare Pages, only the defaults-ish, since only...
### Describe the feature It would be nice if it was possible to replace a toast with a different one, similar to how `toast.promise` replaces the loading toast with a...
I get the following errors until the imports are removed `Error when evaluating SSR module` `CompileError: Expected a valid CSS identifier` ``` loc: { line: 773, column: 39, file: '/path/to/Toaster.svelte'...
### Describe the bug First of all, thanks for the nice work! I think there is currently no built-in option to increase the width of the toast, which I really...
### Describe the bug I've run into this with a few different ways that I've tried to add custom styling to the default toasts. In a nutshell, the default ones...
### Describe the bug ``` TypeError: window.matchMedia is not a function at file:///src/server.js:1105:20 at Object.$$render (file:///src/server.js:184:18) at file:///src/server.js:1174:55 ``` ``` $: { if (theme !== 'system') { actualTheme = theme;...
Right now the container has a aria-label hardcoded, so it can't be modify to other languages.
### Describe the feature Is there a way to disable swipe to dismiss toast? Setting `dismissable` to false does not work. The only toast that can't be dismissed by swiping...
Getting this PR rolling so that when the time comes this project is ready to go with Svelte 5! There are still a few things that need addressed but the...