I just want to change color of primary action button
let d = new frappe.ui.Dialog({
title: 'Enter details',
fields: [
{
label: 'First Name',
fieldname: 'first_name',
fieldtype: 'Data'
},
{
label: 'Last Name',
fieldname: 'last_name',
fieldtype: 'Data'
},
{
label: 'Age',
fieldname: 'age',
fieldtype: 'Int'
}
],
primary_action_label: 'ACCEPT',
primary_action(values) {
console.log(values);
d.hide();
}
});
d.show();
How to change ACCEPT Button color to Green?