Architecture
Understanding how the theme works is crucial for administrators and developers.
Technical Overview
The Business Theme operates by injecting custom CSS directly into the Desk's header. It does not modify any Python code or database schemas.
Workflow
The lifecycle of the theme from code to browser follows this simple path:
- GitHub Repo: You download the app using
bench get-app. - App Installation: The app is installed on your site.
- Hooks Injection: The
hooks.pyfile tells Frappe to includebusiness_theme_v14.css. - Browser Rendering: The user's browser loads the new CSS, overriding the default styles.