svelte-french-toast
svelte-french-toast copied to clipboard
dark mode button on demo website is not working
https://svelte-french-toast.vercel.app/
examples section.
Dark mode button opens a light toast.
https://github.com/kbrgl/svelte-french-toast/blob/2dd9abc205fe7e161802593e03b680350b237184/src/lib/components/ToastWrapper.svelte#L47-L53
It appears that the assignment of the background
attribute is missing. @kbrgl
https://github.com/kbrgl/svelte-french-toast/pull/48 According to this PR, it seems that the props property should be used, but it seems that it hasn't been released yet?
#48 According to this PR, it seems that the props property should be used, but it seems that it hasn't been released yet?
I have no clue but can it be because the package version hasn't changed since? maybe vercel cached the package on last version change (from 1.1 to 1.2) and used that on other deploys... because i tested locally and dark theme styles works fine.
I checked again and it's working fine 😅
toast("TEST", {
icon: "👏",
style: "color: #fff; background-color: #333; font-size: 20px;",
});