In this chapter we update the theme sources of an Adobe Experience Manager Site to apply brand specific styles. We learn how to use a proxy server to view a preview of CSS and Javascript updates as we code against the live site. This tutorial will also cover how to deploy theme updates to an AEM Site using Adobe Cloud Manager’s Front End Pipeline.
In the end our site is updated to include styles to match the WKND brand.
This is a multi-part tutorial and it is assumed that the steps outlined in the Page Templates chapter have been completed.
Next, make changes to the theme sources so that the site matches the look and feel of the WKND Brand.
High level steps for the video:
Download the finished styles for the WKND Sample Theme
Deploy updates to a theme to an AEM environment using Cloud Manager’s Front End Pipeline.
High level steps for the video:
Create a new git repository in Cloud Manager
Add your theme sources project to the Cloud Manager git repository:
$ cd <PATH_TO_THEME_SOURCES_FOLDER>
$ git init -b main
$ git add .
$ git commit -m "initial commit"
$ git remote add origin <CLOUD_MANAGER_GIT_REPOSITORY_URL>
Configure a Front End Pipeline in Cloud Manager to deploy the front end code.
Run the Front End Pipeline to deploy updates to the target AEM environment.
There are a couple of example GitHub repos that can be used as a reference:
Congratulations, you have just updated and deployed a theme to AEM!
Take a deeper dive in to AEM development and understand more of the underlying technology by creating a site using the AEM Project Archetype.