Open seavor opened 7 years ago
I was able to work around it by doing something a bit silly in my theme file.
buttons: {
confirm: {
text: 'Yes',
btnClass: 'lex-btn-green',
action: LexileSvc_.quit
},
close: {
text: 'No',
btnClass: 'lex-btn-green-hollow'
}
}
.ng-confirm-buttons {
button {
&.lex-btn-green {
@extend .lex-btn-green;
}
&.lex-btn-green-hollow {
@extend .lex-btn-green-hollow;
}
}
}
If you have to implement a custom design, the theme feature gets you most of the way there, but there's a bunch of built-in styles applied to the buttons that block any easy way of using custom button classes.
A config property that allows you to turn off default styling for buttons would be great, so that you don't have to counteract the offending styles in your custom class.