Liferay · globalCSS CE · 1 min
Company-scoped globalCSS client extension that loads shared CSS on portal pages.
CSS · Client Extensions · Liferay
Architecture
From the real repo — how the pieces fit.
Canvas Global CSS
Company-scoped globalCSS client extension
Company pages
client-extension.yaml
type: globalCSS
scope: company
url: global.*.css
Deploy CE zipDXP activatesShared styles
CSS only — no Java, no custom element
A company-scoped globalCSS client extension that loads shared CSS on Liferay pages.
What it is
Defined in client-extension.yaml as type globalCSS, name “Canvas — Company Global Styles”, scope company. It serves global.css from the package. Source: codepapu/canvas-global-css.
Deploy
- Add or edit styles in the global CSS file.
- Build and deploy the client extension zip to DXP.
- Styles apply for the company once the CE is active.