MimiLabel
@MainActor
open class MimiLabel : MimiAttributedLabel
Label designed for displaying themeable Mimi text contents.
-
Font style.
- title: Font used for displaying prominent titles.
- header: Font used for displaying prominent headers for sections of UI.
- action: Font used for larger action elements which are primarly used for core, primary interactions.
- body: Font used for standard body text elements, and an optional secondary font for highlights.
- caption: Font used for very compact text elements, such as annotations and captions.
Declaration
Swift
public enum Style : CaseIterable
-
Font style to use.
Declaration
Swift
@MainActor open var style: Style { get set }
-
Declaration
Swift
@MainActor open override var highlightedFont: UIFont? { get set }
-
Declaration
Swift
@MainActor open override var paragraphLineSpacing: CGFloat? { get set }
-
Declaration
Swift
@MainActor open override var kern: CGFloat? { get set }
-
Declaration
Swift
@MainActor open override func construct(in view: UIView)
-
Declaration
Swift
@MainActor open override func apply(theme: MimiThemeDefinition)