Liferay DXP upgrading classic theme to Client extension
Migrating traditional Liferay themes (WAR-based theme modules) to Client Extensions is a major milestone when updating your Liferay DXP footprint. Client extensions decouple your customizations from Liferay’s core runtime, eliminating OSGi dependency issues and enabling zero-downtime deployments. Here is a practical guide to converting a legacy Liferay theme into a modern Theme CSS Client Extension . With a theme CSS client extension, you can override the current theme’s CSS files (main.css and clay.css) to change the look and feel of a page. The theme CSS client extension is available in https://github.com/liferay/liferay-portal/tree/master/workspaces/liferay-sample-workspace/client-extensions/liferay-sample-theme-css-1 for your reference. Structure: my-theme-client-extension/ ├── client-extension.yaml ├── package.json └── src/ ├── css/ │ ├── _custom.scss └── static/ └── images/ Lets dive deeper to...