theming-material / Interface

TypescaleConfig

Properties of a Material Typescale level.

Notes

A typescale is a selection of font styles that can be used across an app, ensuring a flexible, yet consistent, style that accommodates a range of purposes. See the specification for more details.

See Also

Properties

NameTypeDescription
font
string

CSS-compatible font families for this typescale level.

Example usage

'Roboto, sans-serif'

lineHeight
string

CSS-compatible Line height for this typescale level.

Example usage

'64px'

name
string

Name of this typescale level.

Example usage

'display-large'

size
string

CSS-compatible font size for this typescale level.

Example usage

'57px'

tracking
string

CSS-compatible letter spacing for this typescale level.

Example usage

'-0.2px'

weight
string

CSS-compatible font weight for this typescale level.

Example usage

'400'