Custom Theme for ERPNext v12 on the new Desk 2.0
To install kimstheme,
- bench get-app https://github.com/hashirluv/kimstheme.git
- bench --site (sitename) install-app kimstheme
- 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 kimstheme
- bench --site (sitename) uninstall-app kimstheme
- Restore the original desktop.py in erpnext and frappe config folders
If the installation of kimstheme 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 kimstheme
** Please check the codes and help me refine it, in case the way i did the changes are not correct.
GNU General Public License