In both my previous and most recent React applications, I have the following code snippets:
<Typography
variant="h6"
color="inherit"
noWrap
>
h6. Heading
</Typography>
<Button
type="button"
size="large"
color="primary"
>
Primary button
</Button>
The labels in these code snippets have a font-weight: 500
on both my old and new apps. However, the issue is that while they appear with a "bold appearance" in my previous app and Material-UI demos, in my latest React app they only have a "normal font-weight" and require a font-weight: 550
to display as "bold text".
My most recent React application includes dependencies with an npm
version of 6.8.0:
"@material-ui/core": "^3.9.2",
"react": "^16.8.2",
Do you know why this is happening? I have already attempted to render just a Typography
and Button
component without any container, yet they still show up with a normal font-weight.