[CssBaseline/Migration] Change in default fontSize #28477
Labels
docs
Improvements or additions to the documentation
good first issue
Great for first contributions. Enable to learn the contribution process.
This is an issue with documentation.
Current Text 😯
One of the v5 breaking changes is #24018 and the suggested fix is:
Suggested Text 🤔
It would make more sense to address this with an override to CssBaseline itself. As noted, the fix above will change body1 to be the same size as body2 throughout the app. Better to just change the fontSize on body back to the old default:
Possibly, to perfectly mimic the old behaviour, it should also include lineHeight and letterSpacing.
The text was updated successfully, but these errors were encountered: