Simple Theme

The Simple Theme sample provides the base files for a theme, using the Theme Builder Gradle plugin. When deploying this sample with no customizations, a theme based off of the _styled base theme is created.

Figure 1: A theme based off of the Styled base theme is created when the Theme Blade sample is deployed to Liferay Portal.

Figure 1: A theme based off of the Styled base theme is created when the Theme Blade sample is deployed to Liferay Portal.

For more information on themes, visit the Introduction to Themes tutorial.

What API(s) and/or code components does this sample highlight?

This sample demonstrates a way to create a simple theme in Liferay DXP.

How does this sample leverage the API(s) and/or code component?

To modify this sample, add the images, js, or templates folder, along with your modified files, to the src/main/webapp folder. The sample already provides the src/main/resources/resources-importer, src/main/webapp/WEB-INF, and src/main/webapp/css folders for you. Add your style modifications to the provided css/_custom.scss file. For a complete explanation of a theme’s files, see the Theme Reference Guide.

Where Is This Sample?

There are three different versions of this sample, each built with a different build tool:

« ThemesTemplate Context Contributor »
Was this article helpful?
0 out of 0 found this helpful