Is it possible to change the color of buttons of Alert (Ok, Cancel) in Ionic2? Can we use cssClass property to give color to buttons?
.buttonCss{
button{
color:#e74c3c !important;
}
}
The above code gives the same color to the both Ok and Cancel buttons like the below image

But I need to get the following result(Both button shoulb in in different color),

Any help is appreciated...!
Edit 1: Added showAlert() function
showAlert(title, message, yesHandler, noHandler, caller) {
let alert = this.alertCtrl.create({
title: title || "Please Confirm",
message: message,
cssClass:'buttonCss',
buttons: [
{
text: 'Exit',
handler: () => yesHandler(caller)
},
{
text: 'Cancel',
role: 'cancel',
handler: () => noHandler(caller)
}
]
});
alert.present();
}