Skip to main content

Enumeration: ButtonColor

Defines the color scheme options for button widgets.

ButtonColor determines whether the button uses predefined theme colors or allows custom color overrides. This provides flexibility between maintaining consistent theming and enabling brand-specific customization.

Enumeration Members

ACCENT

ACCENT: "ACCENT"

Use the accent theme color. Applies the accent color defined in the theme configuration.


ACCENT_LIGHT

ACCENT_LIGHT: "ACCENT_LIGHT"

Use the light accent theme color. Applies a lighter variation of the accent color defined in the theme configuration.


CUSTOM

CUSTOM: "CUSTOM"

Use custom color values. When selected, allows full control over background, border, and text colors through the custom color properties in ButtonWidgetSettings.


LIGHT_GRAY

LIGHT_GRAY: "LIGHT_GRAY"

Use the light gray theme color. Applies a light gray color for subtle button styling.