ThemeTypography

public struct ThemeTypography

Defines a typography scale for use across an application, providing visual hierarchy and consistent font styling.

Display

  • Used for large promotional text or hero sections. Bold and eye-catching.

    Declaration

    Swift

    public let displayLarge: Font
  • Slightly smaller than displayLarge, still used for prominent visual titles.

    Declaration

    Swift

    public let displayMedium: Font
  • Smallest display style, typically used for titles or hero sections in constrained layouts.

    Declaration

    Swift

    public let displaySmall: Font

Headline

  • Large heading for pages or sections. Typically H1.

    Declaration

    Swift

    public let headlineLarge: Font
  • Medium heading for sections or nested headers. Typically H2.

    Declaration

    Swift

    public let headlineMedium: Font
  • Small heading for titles inside cards or components. Typically H3–H4.

    Declaration

    Swift

    public let headlineSmall: Font

Title

  • Large title used for modals, sheets, or form sections.

    Declaration

    Swift

    public let titleLarge: Font
  • Medium title for component headers and UI blocks.

    Declaration

    Swift

    public let titleMedium: Font
  • Small title for inputs, lists, or compact titles.

    Declaration

    Swift

    public let titleSmall: Font

Label

  • Label for buttons, tabs, or labeled UI elements (e.g. filters).

    Declaration

    Swift

    public let labelLarge: Font
  • Smaller label text, used for secondary buttons, tags, etc.

    Declaration

    Swift

    public let labelMedium: Font
  • Very small label for compact UI controls (e.g. chips, input fields).

    Declaration

    Swift

    public let labelSmall: Font

Body

  • Body text used in paragraphs and long-form content.

    Declaration

    Swift

    public let bodyLarge: Font
  • Medium body text for standard blocks and list items.

    Declaration

    Swift

    public let bodyMedium: Font
  • Compact body text for footnotes, cards, and less prominent content.

    Declaration

    Swift

    public let bodySmall: Font

Button