AiutaTheme

class AiutaTheme(val color: AiutaColorTheme, val label: AiutaLabelTheme, val image: AiutaImageTheme, val button: AiutaButtonTheme, val pageBar: AiutaPageBarTheme, val powerBar: AiutaPowerBarTheme, val bottomSheet: AiutaBottomSheetTheme, val activityIndicator: AiutaActivityIndicatorTheme, val selectionSnackbar: AiutaSelectionSnackbarTheme, val errorSnackbar: AiutaErrorSnackbarTheme, val productBar: AiutaProductBarTheme)

Main theme configuration class for the Aiuta SDK.

This immutable class contains all visual theming configuration for the SDK's user interface components. It provides comprehensive customization options for colors, typography, shapes, icons, and component-specific styling.

The theme is organized into component-specific configurations:

  • Colors and general styling

  • Component-specific themes (buttons, images, labels, etc.)

  • Layout and interaction themes (page bars, bottom sheets, etc.)

  • Feedback and notification themes (snackbars, error messages)

val theme = AiutaTheme.Builder().apply {
color = AiutaColorTheme.Default()

button {
typography = AiutaButtonThemeTypography.Default()
shapes = AiutaButtonThemeShapes.Default()
}

image {
shapes = AiutaImageThemeShapes.Default()
icons = AiutaImageThemeIcons.Default()
}

// Configure other theme components...
}.build()

See also

Constructors

Link copied to clipboard
constructor(color: AiutaColorTheme, label: AiutaLabelTheme, image: AiutaImageTheme, button: AiutaButtonTheme, pageBar: AiutaPageBarTheme, powerBar: AiutaPowerBarTheme, bottomSheet: AiutaBottomSheetTheme, activityIndicator: AiutaActivityIndicatorTheme, selectionSnackbar: AiutaSelectionSnackbarTheme, errorSnackbar: AiutaErrorSnackbarTheme, productBar: AiutaProductBarTheme)

Types

Link copied to clipboard
class Builder

Builder class for creating AiutaTheme instances.

Properties

Link copied to clipboard

Bottom sheet styling configuration

Link copied to clipboard

Button styling and interaction configuration

Link copied to clipboard

Global color theme configuration

Link copied to clipboard

Error message snackbar configuration

Link copied to clipboard

Image display and icon configuration

Link copied to clipboard

Text and label styling configuration

Link copied to clipboard

Page navigation bar configuration

Link copied to clipboard

"Powered by Aiuta" branding configuration

Link copied to clipboard

Product information bar configuration

Link copied to clipboard

Selection feedback snackbar configuration