Open DiegoAndai opened 1 year ago
Let's sync the typescale
with the latest spec first ~ I notice it hasn't been updated for a while (since the theme structure POC!) and there are some values that are missing
Let's sync the
typescale
with the latest spec first ~ I notice it hasn't been updated for a while (since the theme structure POC!) and there are some values that are missing
Implement improvements on how we deal with typography in material next:
family
tofont
in typescales for consistency with Material You specificationpxToRem
to typescaleline-height
calculation andletter-spacing
calculation, maybe adaptcreateTypography
letter-spacing
calculation (point 1. in https://github.com/mui/material-ui/pull/38584#event-10248596056)em
instead ofrem
when applicable (letter-spacing
,line-height
, point 2. in https://github.com/mui/material-ui/pull/38584#event-10248596056)lineHeight
tolineHeightPx
intypescale
, add a calculated unitlesslineHeight
(Suggested here)