StandardTypescaleBuilder
Decorators: |
|
Implements: |
|
Implementation of
that generates theme tokens of typescale levels strictly following the Material specifications.
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
Each
generates 5 theme tokens. For a typescale level named "display-large", the generated tokens will be "display-large-font", "display-large-weight", "display-large-size", "display-large-line-height", "display-large-tracking".
See Also
for more granular control over typescale levels.TypescaleConfig
Properties
Name | Type | Description |
---|---|---|
core p |
|
Methods
build()implements
| ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returns |
Example usage
provideTheme (
withThemeBuilder ("typescale", StandardTypescaleBuilder , {
font: 'Roboto, sans-serif',
}),
),