-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
bench get-app https://github.com/its-alikhokher/swift_theme --branch version-16
bench --site your-site install-app swift_theme
bench --site your-site migrate
bench build --app swift_themeThen open the desk and do a hard reload — Ctrl+Shift+R. A normal reload often serves the old CSS from cache, which looks exactly like the theme not working.
| Branch | For |
|---|---|
version-16 |
Frappe v16 — this is the one to install |
main |
Development |
bench --site your-site migrate
bench build --app swift_theme
bench --site your-site clear-cacheMigrate carries the site across on its own — nothing needs setting by hand.
If you are coming from an early version, note that the presets were renamed
along the way. A site that was on Midnight Pro comes back as Black
Panther, and each user's own choice is carried across too. The full mapping
is in patches/v1_0/rename_presets_to_marvel.py.
bench --site your-site uninstall-app swift_themeThis removes the app's DocType and the nine fields it adds to User. Frappe deletes them because they are registered to the app's own module, so nothing is left behind on the User form.
It needs redis. Without it, migrate exits without doing the work and without saying so — so if a migrate finishes suspiciously fast and nothing changed, check that redis is up before looking anywhere else.
Swift Theme — MIT licensed. Built by Ali Khokher · +92 332 7773477 · LinkedIn