Skip to content

Installation

its-alikhokher edited this page Aug 19, 2026 · 1 revision

Installation

Install

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_theme

Then 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.

Which branch

Branch For
version-16 Frappe v16 — this is the one to install
main Development

Upgrading

bench --site your-site migrate
bench build --app swift_theme
bench --site your-site clear-cache

Migrate 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.

Uninstalling

bench --site your-site uninstall-app swift_theme

This 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.

A note on bench migrate

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.

Clone this wiki locally