Skip to content

Configuring Brand Colour in Clients

Element Pro includes basic support for branding the app based upon the server used. This can be configured in your ESS Pro deployment by configuring the well-known delegation "component":

wellKnownDelegation:
  additional:
    element: |
      {
        "brand_color": "#01C7FC"
      }

In the example above, a brand colour of #01C7FC is set. This will be used by Element Pro as the base colour to generate a complete custom theme for your users (with support for light/dark mode and high-contrast). The theme generation uses our Compound design system and optimises for accessibility throughout the app – therefore it is worth noting that whilst a generated theme will contain multiple shades of the specified brand colour, the exact value might not be directly visible.

The colour must be specified as an RGB hex code (six hex digits, case‑insensitive and prefixed with a #). When omitted, Element Pro will continue to use the default theme.

There is an example fragment in charts/matrix-stack/ci/fragments/element-pro-brand-color.yaml for further reference.

Supported Platforms

Android iOS Web