close

Filter

loading table of contents...

Release Notes / Version 10.2107

Table Of Contents

Added Themes Inheritance

The Frontend Workspace supports themes depending on another theme in its package.json . So it will include all Freemarker templates, JavaScript, SCSS files, localizations, images and brick dependencies, inherited from its parent.

Details

For existing themes, you need to add the dependency to the parent theme to the package.json . Also adapt the webpack.config.js . For SASS you need to extraxt _variables.scss and _partials.scss from the theme.scss of the parent theme. Please check the frontend manual for more details.

For new themes you can use yarn create-theme <name> to choose a parent theme to derive from.

If you don't want to use Child-Themes, no changes have to be done in your custom themes.

(CMS-12199)

Search Results

Table Of Contents