srcrip / live_toast

A beautiful drop-in replacement for the Phoenix Flash system.
https://toast.src.rip
MIT License
188 stars 15 forks source link

Request: Support for override button classes #20

Open mike1o1 opened 3 months ago

mike1o1 commented 3 months ago

It would be nice if we could override the classes for the button markup, similar to how we are able to set the toast_class_fn. In my case, I'm setting dark mode specific background color (black), which kind of conflicts with the text-black/50 that's getting applied in the current markup.

Happy to submit a PR if others have interest in this.

FranzVDB commented 3 weeks ago

Would be nice, my hack was a global css selector that overrides the color on button.