LabelsTheme
public struct LabelsTheme : LabelsThemeProtocol
Implementation of the LabelsThemeProtocol that defines Search UI labels appearance
Important
This is a Public Preview API. It may be changed or removed at any time.A container of pre-defined text attributes to apply in Search UI (large) body labels
Declaration
Swift
public var bodyLarge: TextStyle
A container of pre-defined text attributes to apply in Search UI paragraph labels
Declaration
Swift
public var bodyParagraph: TextStyle
A container of pre-defined text attributes to apply in Search UI caption labels
Declaration
Swift
public var caption: TextStyle
A container of pre-defined colors to apply in Search UI labels
Declaration
Swift
public var colorsTheme: ColorsThemeProtocol
A container of pre-defined text attributes to apply in Search UI to dim title text
Declaration
Swift
public var dimmedTitle: TextStyle
A container of pre-defined fonts to apply in Search UI labels
Declaration
Swift
public var fontsTheme: FontsThemeProtocol
A container of pre-defined text attributes to apply in Search UI header labels
Declaration
Swift
public var header: TextStyle
An initializer for the LabelsTheme
Declaration
Swift
public init(with colors: ColorsThemeProtocol, fonts: FontsThemeProtocol)
Parameters
colors
|
a container of color attributes to apply the LabelsTheme |
fonts
|
a container of font attributes to apply the LabelsTheme |
A container of pre-defined text attributes to apply in Search UI page title labels
Declaration
Swift
public var pageTitle: TextStyle
A container of pre-defined text attributes to apply in Search UI subtitle labels
Declaration
Swift
public var subtitle: TextStyle
A container of pre-defined text attributes to apply in Search UI title labels
Declaration
Swift
public var title: TextStyle