Theme

public struct Theme : ThemeProtocol

An implementation of ThemeProtocol to define visual appearance for the Search UI

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Declaration

    Swift

    public var colors: ColorsThemeProtocol
  • Declaration

    Swift

    public var commonImages: ImagesThemeProtocol
  • Declaration

    Swift

    public var components: StylableComponents
  • A default theme that specifies visual attributes for the Search UI

    Declaration

    Swift

    public static var `default`: Theme { get }
  • Defines units to display a distance

    Declaration

    Swift

    public var distanceUnitsSystem: UnitsSystem
  • Declaration

    Swift

    public var fonts: FontsThemeProtocol
  • Declaration

    Swift

    public init(
        withImages images: ImagesThemeProtocol,
        colors: ColorsThemeProtocol,
        fonts: FontsThemeProtocol,
        distanceUnitsSystem: UnitsSystem
    )