AgentforceThemeManager

interface AgentforceThemeManager

Enhanced interface for managing Agentforce themes with direct access to theme properties. This allows usage like ThemeManager.colors(), ThemeManager.typography(), etc.

Gets the colors based on the theme configuration. Use this in @Composable functions.

Gets the colors for a specific theme mode (non-composable). Use this in non-composable functions where you know the desired theme.

Parameters:

ParameterTypeDescription
isDarkModeBooleanWhether to use dark theme colors

Gets the dimensions configuration.

Gets the complete theme object for use with UiTheme composable.

Gets the complete theme object for non-composable functions.

Parameters:

ParameterTypeDescription
isDarkModeBooleanWhether to use dark theme colors

Gets the shadows configuration.

Gets the shapes configuration.

Gets the typography configuration.