getPrimaryColor

Deprecated

Use bpkCoreAccent instead

Utility function to fetch Backpack's primary color.

The primary color can set via theming via the bpkPrimaryColor attribute.

The attribute is expected to be either a color or a color reference. In case the attribute is not found the default R.color.bpkPrimary will be returned.

Return

a color integer

Parameters

context

the current ui context.