MicroblinkPlatformTypography

data class MicroblinkPlatformTypography(val heading: TextStyle = style(28, 36, FontWeight.Bold), val description: TextStyle = style(16, 24, FontWeight.Normal, 0.5), val subtitle: TextStyle = style(16, 24, FontWeight.SemiBold, 0.15), val homeStepTitle: TextStyle = style(16, 24, FontWeight.SemiBold, 0.15), val homeStepDescription: TextStyle = style(12, 16, FontWeight.Normal, 0.4), val info: TextStyle = style(14, 20, FontWeight.Normal, 0.25), val fieldTitle: TextStyle = style(12, 16, FontWeight.Normal, 0.4), val fieldBody: TextStyle = style(16, 24, FontWeight.Normal, 0.5), val fieldDescription: TextStyle = style(12, 16, FontWeight.Normal, 0.4), val titleProgressAndErrors: TextStyle = style(22, 28, FontWeight.Medium), val dialogTitle: TextStyle = style(24, 32, FontWeight.Normal), val button: TextStyle = style(14, 20, FontWeight.Medium, 0.1))

The text styles of the verification screens, one per kind of text. Each defaults to a Material 3 type style, named in its description.

Constructors

Link copied to clipboard
constructor(heading: TextStyle = style(28, 36, FontWeight.Bold), description: TextStyle = style(16, 24, FontWeight.Normal, 0.5), subtitle: TextStyle = style(16, 24, FontWeight.SemiBold, 0.15), homeStepTitle: TextStyle = style(16, 24, FontWeight.SemiBold, 0.15), homeStepDescription: TextStyle = style(12, 16, FontWeight.Normal, 0.4), info: TextStyle = style(14, 20, FontWeight.Normal, 0.25), fieldTitle: TextStyle = style(12, 16, FontWeight.Normal, 0.4), fieldBody: TextStyle = style(16, 24, FontWeight.Normal, 0.5), fieldDescription: TextStyle = style(12, 16, FontWeight.Normal, 0.4), titleProgressAndErrors: TextStyle = style(22, 28, FontWeight.Medium), dialogTitle: TextStyle = style(24, 32, FontWeight.Normal), button: TextStyle = style(14, 20, FontWeight.Medium, 0.1))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Buttons, including the dialogs' buttons. Label large.

Link copied to clipboard

The text under a screen's title, and the document upload guidelines. Body large.

Link copied to clipboard

Dialog and bottom sheet titles. Headline small.

Link copied to clipboard

A field's value, a checkbox's or a file field's name, document names, file names and the document type options. Body large.

Link copied to clipboard

The text under a field: its description or error, file sizes, upload hints and upload errors. Body small.

Link copied to clipboard

A field's label, and the document type selector's label. Body small.

Link copied to clipboard

Screen titles: Home, Result, the form and the document upload screens. Headline medium emphasized, in bold.

Link copied to clipboard

The text under Home's step titles. Body small.

Link copied to clipboard

Home's step titles and statuses. Title medium emphasized, in semibold.

Link copied to clipboard

Home's notice, a document's description and the dialogs' texts. Body medium.

Link copied to clipboard

Titles inside a screen: an ID document's sides and the upload area. Title medium emphasized, in semibold.

Link copied to clipboard

The titles of Loading, Error and Camera permission. Title large emphasized.