Skip to main content
Primer Checkout Android SDK is currently in beta (v3.0.0-beta). The API is subject to change before the stable release.

TypographyTokens

All styles use brandFont, the Inter variable font by default. Set brandFont in the constructor to use your own font resource for every style, or override font on a single style.

Preview

titleXlarge — The quick brown fox jumps over the lazy dog
titleLarge — The quick brown fox jumps over the lazy dog
bodyLarge — The quick brown fox jumps over the lazy dog
bodyMedium — The quick brown fox jumps over the lazy dog
bodySmall — The quick brown fox jumps over the lazy dog

TypographyStyle

toTextStyle()

Converts to a Compose TextStyle for use in composables.