Package Exports
- @rmwc/typography
- @rmwc/typography/README.md
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rmwc/typography) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Typography
Material Design’s text sizes and styles were developed to balance content density and reading comfort under typical usage conditions.
- Module @rmwc/typography
- Import styles:
- import '@material/typography/dist/mdc.typography.css';
- MDC Docs: https://material.io/develop/web/components/typography/
import { Typography } from '@rmwc/typography';
<Typography use="headline1">headline1</Typography>
<Typography use="headline2">headline2</Typography>
<Typography use="headline3">headline3</Typography>
<Typography use="headline4">headline4</Typography>
<Typography use="headline5">headline5</Typography>
<Typography use="headline6">headline6</Typography>
<Typography use="subtitle1">subtitle1</Typography>
<Typography use="subtitle2">subtitle2</Typography>
<Typography use="body1">body1</Typography>
<Typography use="body2">body2</Typography>
<Typography use="caption">caption</Typography>
<Typography use="button">button</Typography>
<Typography use="overline">overline</Typography>import { DocumentComponent } from '@rmwc/base/utils/DocumentComponent';
import * as docs from './docgen.json';
<DocumentComponent docs={docs} displayName="Typography" />