fabien-d / alertify.js

JavaScript Alert/Notification System
http://fabien-d.github.com/alertify.js/
4.26k stars 726 forks source link

Change Button Colour Dynamically / Multiple Buttons #251

Open shaneparsons opened 9 years ago

shaneparsons commented 9 years ago

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.

kaansoral commented 9 years ago

alertify is discontinued, I also have similar custom modifications / overriders myself, to fix issues / add features