Package-level declarations

Types

Link copied to clipboard
data class EmphasisWeights(val unfocused: FontWeight = FontWeight.Light, val focused: FontWeight = FontWeight.Bold)

Font weights used by emphasis text. Every hero, headline and title uses Light + Bold by default.

Properties

Link copied to clipboard

Body text (14sp Regular), backed by bodyMedium.

Link copied to clipboard

Button label (16sp Bold), backed by labelLarge.

Link copied to clipboard

Caption (13sp Regular), backed by bodySmall.

Link copied to clipboard

Title of a title/value fact (14sp Medium), backed by titleSmall.

Link copied to clipboard

Footnote (11sp Regular), backed by labelSmall.

Link copied to clipboard

Headline (34sp Light, balanced line breaks), backed by displayMedium.

Link copied to clipboard

Hero title (42sp Light, balanced line breaks), backed by displayLarge.

Link copied to clipboard

Label (13sp Bold), backed by labelMedium.

Link copied to clipboard

Screen title (32sp Light, balanced line breaks), backed by headlineLarge.

Functions

Link copied to clipboard

The bundled Montserrat family with Light (300), Regular (400), Medium (500), Bold (700) and Black (900). It is @Composable because Compose Resources loads fonts in composition.

Link copied to clipboard

M3 Typography in Montserrat with the design system's sizes (see tabotaboTypography).

Link copied to clipboard
fun tabotaboTypography(displayFamily: FontFamily, bodyFamily: FontFamily = displayFamily, labelFamily: FontFamily = bodyFamily): Typography

The design system's type scale in any font. Each group can use its own family, so consumers can bring their own fonts. Roles the design system doesn't define keep their Material sizes, re-familied. The large and medium display and headline roles (displayLarge, displayMedium, headlineLarge, headlineMedium) are Light, so emphasis text reads as Light + Bold.