Brand Theme Style Extension
Configuring the AEM Content Fragment Editor Extension for Brand Theme Color Extraction

This extension enables authors to fetch brand color values directly from a live site URL and automatically store them within a Brand Theme based Content Fragment. These stored color values can later be referenced in the page property named Brand Theme of any Reference Demo 2.0 based EDS page.

NOTE

This extension will only be available with content fragments created from Brand Theme content fragment models.

This extension will only be available for Adobe Employees.

Extension Overview

Functionality

The Brand Theme Color Extension provides the following key capabilities:

Extension Availability

Follow the Instructions below to quickly enable this extension in your AEM instance.

1. Navigate to your Experience Cloud.

2. Switch to the correct org. and Click on Experience Manager.

3. From the left side menu, click on Extension Manager.

4. In the extension manager screen, scroll to the bottom of the page and click on “Bring Your Own Extension” button. This option is available to onboard any extension that you want to use in your AEM.

5. This should open a modal to provide extension details. In the BYE configuration, provide the following values:

Extension Url
https://3635370-brandthemegenerator-stage.adobeio-static.net/index.html
Extension Name
Ref Demo CF Editor Theme Generation
Description
Generate Theme from live site when using content fragment based on Brand Theme CFM
Support Email
refdemo@adobe.com
Supported services
Check “AEM CF Editor”

6. Click Save

7. Enable the extension by navigating into the correct environment.

NOTE
The environment for which extension needs to be enabled has to be in a running state.

8. Congrats! You have successfully installed and enabled the extension.

Validate Extension

After you have installed and enabled the configuration:

  1. Open any content fragment built using Brand Theme content fragment model.
  2. Verify that the Generate Theme Button appears in the header menu.
  3. Clicking the button should open a modal.
  4. Provide a public site URL from which you want to extract the color values.
  5. Clock Fetch Theme to retrieve color values from the provided URL.
  6. Verify that the color fields in the fragment are auto populated.