alertify.js
alertify.js copied to clipboard
Change Button Colour Dynamically / Multiple Buttons
I think it would be great to be able to change the button colour of the alertify-button-ok
and alertify-button-cancel
dynamically.
Ex. A dialog window for a "delete" task in my opinion should have a red alertify-button-ok
where a dialog for a more "positive/safe" task can have a green alertify-button-ok
.
I've been able to work around this is by appending inline styles to the <head>
that override the attached stylesheet, but I still think it would be great to have it as an option in the plugin itself.
alertify is discontinued, I also have similar custom modifications / overriders myself, to fix issues / add features