Custom Theme for ERPNext v12 on the new Desk 2.0
To install bluetheme,
- bench get-app https://github.com/hashirluv/bluetheme.git
- bench --site (sitename) install-app bluetheme
- bench clear-cache
For desktop icons to appear, There are two files, named desktop-erpnext.py and desktop-frappe.py, in the releases page.
- Rename the file desktop-erpnext.py to desktop.py and replace in frappe-bench/apps/erpnext/erpnext/config folder after taking the backup of the original file.
- Rename the file desktop-frappe.py to desktop.py and replace in frappe-bench/apps/frappe/frappe/config folder after taking the backup of the original file.
To uninstall bluetheme
- bench --site (sitename) uninstall-app bluetheme
- Restore the original desktop.py in erpnext and frappe config folders
If the installation of bluetheme doesn't work, or any error pops up, try 'get-app' again. If the error still persists,try the below. I'm not sure if it will work 100%, but it worked for me.
- Get another theme (i used "bench get-app https://github.com/vinhnguyent090/bdtheme")
- Install it and uninstall it
- Install bluetheme
** Please check the codes and help me refine it, in case the way i did the changes are not correct.
GNU General Public License