AgentforceTheme.Colors

Color palette protocol for Agentforce SDK theming. This protocol defines the comprehensive color system used throughout the Agentforce SDK, providing semantic color tokens for consistent theming across all UI components.

PropertyTypeDescription
accent1ColorFill color for text and icons on buttons and interactive elements
accent2ColorFill color for text and icons on buttons and interactive elements
accent3ColorFill color for text and icons on buttons and interactive elements
accent4ColorAgentforce Specific tokens
accent5ColorAgentforce Specific tokens
accentContainer1ColorFill color for branded component containers
border1ColorBorder color for components that are decorative or divider lines between content
border2ColorBorder color for components that are functional or interactive
borderDisabled1ColorBorder color for disabled containers
borderError1ColorBorder color for error containers
borderInverse2ColorBorder color for components that are functional or interactive on a dark background
borderSuccess1ColorBorder color for success containers
brandBase50ColorPrimary brand color
disabledContainer1ColorBackground of disabled component containers for white components
disabledContainer2ColorBackground of disabled component containers for dark components
error1ColorFill color for text and icons displaying an error
errorBase50ColorError brand color
errorContainer1ColorBackground of error component containers
feedbackWarning1ColorWarning text color
feedbackWarningContainer1ColorWarning container background
info1ColorInformation text color
infoContainer1ColorInformation container background
onAccent1ColorText and icon fill color displayed in accent containers
onDisabled1ColorFill color for text and icons displayed on top of disabledContainer1
onDisabled2ColorFill color for text and icons displayed on top of disabledContainer2
onError1ColorFill color for text and icons displayed on top of an error container
onSuccess1ColorFill color for text and icons displayed on top of a success container
onSurface1ColorLightest text or icon fill
onSurface2ColorDarker text or icon fill
onSurface3ColorAdditional text or icon variant
successContainer1ColorBackground of success component containers
surface1ColorView background color
surface2ColorView background color
surfaceContainer1ColorDefault background color for component containers
surfaceContainer2ColorDarker background color for component containers
surfaceContainer3ColorDarkest background color for component containers
backgroundColor ⚠️ColorDeprecated: This property will be retired in a future release. Switch to a styling hook or use your own custom color.
foregroundColor ⚠️ColorDeprecated: This property will be retired in a future release. Switch to a styling hook or use your own custom color.