sonner icon indicating copy to clipboard operation
sonner copied to clipboard

Rich Colors on individual toast basis

Open nicksrandall opened this issue 1 year ago • 1 comments

Describe the feature / bug 📝:

I'd like to opt into the "richColors" styles on a per-toast basis. It would be great if I could pass that option to the toast function so that that specific toast is opted into rich colors styles. I'd be happy to make a PR if you're open to this change.

nicksrandall avatar May 08 '24 20:05 nicksrandall

I believe this is a non-breaking change as we still follow the richColors value set on the <Toaster /> if not passed directly to the individual toast.

nicksrandall avatar May 08 '24 21:05 nicksrandall

Merged your PR!

emilkowalski avatar May 23 '24 07:05 emilkowalski