Control the brand-specific primary application colors via a theme applied to the <body> element. Anything that uses a brand class name will automatically inherit the selected theme.
Theme basics
Brand themes are controlled by the data-hc-theme attribute on the <body> element. Setting it to attend, boost, connect, or forms will apply that brand’s colors to any supported component with a *--brand class name.
Currently only these four main themes are supported, in addition to the default when no value is applied, though Connect’s custom themes are in the works.
When a theme is applied this way, all components that have a brand class applied will inherit that theme’s colors. This includes apps embedded as an iframe within a parent app; this is by design so that the embedded app follows the parent’s color scheme.
Supported components
The following list of components have brand variants that will inherit a theme applied this way: Button, Icon, Pagination, Toast, and Loading. See those component pages for more information on what that looks like and how to apply their classes.