Commit Graph

3 Commits

Author SHA1 Message Date
Elizabeth Mitchell
1e47fd7383 fix(typography): rename md-typescale.js to md-typescale-styles.js
Fixes #5524

This fixes the new md-typescale file not being published. Our build assumes CSS-to-JS files end in "-styles".

This isn't a breaking change since the typescale classes haven't been published yet.

PiperOrigin-RevId: 617613456
2024-03-20 13:43:26 -07:00
Elizabeth Mitchell
36dd77ef97 feat(typography): add @material/web/typography/md-typescale classes
Fixes #1050

View the updated [typography docs](https://github.com/material-components/material-web/blob/main/docs/theming/typography.md#classes) for more info.

PiperOrigin-RevId: 613259080
2024-03-06 10:14:34 -08:00
Elizabeth Mitchell
8e480deae3 feat(typography): add typography Sass APIs
BREAKING CHANGE: composite `-type` tokens are no longer supported. Use discrete `-font`, `-size`, `-line-height`, and `-weight` tokens instead.

PiperOrigin-RevId: 563797716
2023-09-08 10:59:09 -07:00