[system] Using responsiveFontSizes results in inconsistency between <Typography> and <Box> Component #17504
Closed
2 tasks done
Labels
package: system
Specific to @mui/system
Current Behavior 😯
A Typography component with Variant h4 doesn't match a Box component with fontSize h4
Expected Behavior 🤔
A Typography component with Variant h4 should match a Box component with fontSize h4
Steps to Reproduce 🕹
Example without Responsive Font: https://codesandbox.io/s/create-react-app-with-typescript-cujk5
Example with Responsive Font: https://codesandbox.io/s/create-react-app-with-typescript-jnw6x
Context 🔦
Not sure if this is a bug or it should work this way. Currently moving some components from Typography to the Box component and noticed this inconsistency.
Your Environment 🌎
The text was updated successfully, but these errors were encountered: