fix: Website Theme default value for custom theme

This commit is contained in:
Faris Ansari 2019-02-21 14:16:14 +05:30
parent 08f5174934
commit 27bb4a56d1

View file

@ -31,7 +31,7 @@ frappe.ui.form.on('Website Theme', {
},
apply_custom_theme(frm) {
if (frm.doc.apply_custom_theme && !frm.doc.custom_theme) {
frm.set_value('custom_theme', '$primary: #7575ff;\n\n@import "website";');
frm.set_value('custom_theme', `$primary: #7575ff;\n@import "frappe/public/scss/website";`);
}
}
});