Text

class Text(val titleMEmphasized: TextStyle = DefaultTypographyTokens.Text.titleMEmphasized, val titleM: TextStyle = DefaultTypographyTokens.Text.titleM, val titleSEmphasized: TextStyle = DefaultTypographyTokens.Text.titleSEmphasized, val titleS: TextStyle = DefaultTypographyTokens.Text.titleS, val bodyLEmphasized: TextStyle = DefaultTypographyTokens.Text.bodyLEmphasized, val bodyL: TextStyle = DefaultTypographyTokens.Text.bodyL, val bodyMEmphasized: TextStyle = DefaultTypographyTokens.Text.bodyMEmphasized, val bodyM: TextStyle = DefaultTypographyTokens.Text.bodyM, val bodySEmphasized: TextStyle = DefaultTypographyTokens.Text.bodySEmphasized, val bodyS: TextStyle = DefaultTypographyTokens.Text.bodyS, val labelLEmphasized: TextStyle = DefaultTypographyTokens.Text.labelLEmphasized, val labelL: TextStyle = DefaultTypographyTokens.Text.labelL, val labelMEmphasized: TextStyle = DefaultTypographyTokens.Text.labelMEmphasized, val labelM: TextStyle = DefaultTypographyTokens.Text.labelM, val labelSEmphasized: TextStyle = DefaultTypographyTokens.Text.labelSEmphasized, val labelS: TextStyle = DefaultTypographyTokens.Text.labelS, val caption: TextStyle = DefaultTypographyTokens.Text.caption)

Sans (Source Sans 3) text styles.

Constructors

Link copied to clipboard
constructor(titleMEmphasized: TextStyle = DefaultTypographyTokens.Text.titleMEmphasized, titleM: TextStyle = DefaultTypographyTokens.Text.titleM, titleSEmphasized: TextStyle = DefaultTypographyTokens.Text.titleSEmphasized, titleS: TextStyle = DefaultTypographyTokens.Text.titleS, bodyLEmphasized: TextStyle = DefaultTypographyTokens.Text.bodyLEmphasized, bodyL: TextStyle = DefaultTypographyTokens.Text.bodyL, bodyMEmphasized: TextStyle = DefaultTypographyTokens.Text.bodyMEmphasized, bodyM: TextStyle = DefaultTypographyTokens.Text.bodyM, bodySEmphasized: TextStyle = DefaultTypographyTokens.Text.bodySEmphasized, bodyS: TextStyle = DefaultTypographyTokens.Text.bodyS, labelLEmphasized: TextStyle = DefaultTypographyTokens.Text.labelLEmphasized, labelL: TextStyle = DefaultTypographyTokens.Text.labelL, labelMEmphasized: TextStyle = DefaultTypographyTokens.Text.labelMEmphasized, labelM: TextStyle = DefaultTypographyTokens.Text.labelM, labelSEmphasized: TextStyle = DefaultTypographyTokens.Text.labelSEmphasized, labelS: TextStyle = DefaultTypographyTokens.Text.labelS, caption: TextStyle = DefaultTypographyTokens.Text.caption)

Properties

Link copied to clipboard

16 sp regular. The default for running text.

Link copied to clipboard

16 sp medium. Running text that needs emphasis — a lead paragraph.

Link copied to clipboard

14 sp regular. Secondary text — a teaser, a description.

Link copied to clipboard

14 sp medium. Emphasised secondary text.

Link copied to clipboard

12 sp regular. Tertiary text — metadata under a cell.

Link copied to clipboard

12 sp medium. Emphasised tertiary text.

Link copied to clipboard

10 sp regular. The smallest style — an image credit, a legal line.

Link copied to clipboard

16 sp regular. The lighter counterpart of labelLEmphasized.

Link copied to clipboard

16 sp medium. A large button or tab label.

Link copied to clipboard

14 sp regular. The lighter counterpart of labelMEmphasized.

Link copied to clipboard

14 sp medium. The default button and control label.

Link copied to clipboard

12 sp regular. The lighter counterpart of labelSEmphasized.

Link copied to clipboard

12 sp medium. A tag, a badge, a chip.

Link copied to clipboard

22 sp regular. The lighter counterpart of titleMEmphasized.

Link copied to clipboard

22 sp medium. A sans title where the serif Title scale would be too editorial.

Link copied to clipboard

18 sp regular. The lighter counterpart of titleSEmphasized.

Link copied to clipboard

18 sp medium. A subsection heading.