-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUI
Description
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
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 🌎
| Tech | Version |
|---|---|
| Material-UI | v4.4.2 |
| React | 16.9.0 |
| Browser | Chrome 75 |
| TypeScript | 3.6.3 |
Metadata
Metadata
Assignees
Labels
scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUI
