-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Open
Labels
Description
Implement improvements on how we deal with typography in material next:
- Rename
family
tofont
in typescales for consistency with Material You specification - Move
pxToRem
to typescale - Create utilities for
line-height
calculation andletter-spacing
calculation, maybe adaptcreateTypography
- Round
letter-spacing
calculation (point 1. in [LoadingButton] Fix HTML rule button > div forbidden nesting #38584 (comment)) - Use
em
instead ofrem
when applicable (letter-spacing
,line-height
, point 2. in [LoadingButton] Fix HTML rule button > div forbidden nesting #38584 (comment)) - Rename
lineHeight
tolineHeightPx
intypescale
, add a calculated unitlesslineHeight
(Suggested here)
mj12albert
Metadata
Metadata
Assignees
Labels
Projects
Status
No status