'Is it possible to set the color on a Card header for a Google Workspace Add On?

I'd like to update the color of the Card header of a Google Workspace Add On I'm developing. Is this possible?

Google has a sample project here: https://developers.google.com/apps-script/add-ons/cats-quickstart#drive.gs. In this screenshot from the sample project page, the Card header is red: enter image description here

When I deploy the code, the header is gray and I don't see a way to update Card header color in the docs: https://developers.google.com/apps-script/reference/card-service/card-header

enter image description here

Is there a way to change the color of the Card header or am I out of luck?

Other Google Workplace Add-Ons I've installed have had different Card header colors. Zoom is blue and GoTo is black.



Solution 1:[1]

Looks like this isn't configurable dynamically but set at the project manifest level via LayoutProperties.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Eugene Kim