sweetalert2 / ngx-sweetalert2

Declarative, reactive, and template-driven SweetAlert2 integration for Angular
MIT License
658 stars 95 forks source link

Add support for color property on SwalComponent #236

Open 1fbr opened 1 year ago

1fbr commented 1 year ago

I have some <swal> components in a project, working fine. As I implemented a dark / light theme, I wanted <swal> background and color to match the current theme.

The background works fine, but color displays Can't bind to 'color' since it isn't a known property of 'swal'.

And yes, color it's not present in the SwalComponent.

Would be nice to add it, because without been able to modify the color you can't really have a custom background properly.