In a Liferay SaaS scenario, custom themes can no longer be used to customize the look&feel. Instead, Stylebooks and fragments should be used.
While themes allowed including external CSS and JS resources as URLs in the page header (and as a result, affect to all the layout set (public or private) where the theme was applied, DXP does not provide any way to achieve the same result.
Some benefits of this function for designers are:
- Manage JS and CSS code in a repository (rather than in Liferay UI)
- Reduce repeated JS and CSS code in multiple pages
- In general, improve the maintainability of the site from a designer perspective
As a proposal, page settings could be extended in a way admins can add these external resources in the header of all pages (layout set) or specific pages.