I have this JSX layout currently
<div className={classes.bottomArea}>
<Box display="flex" flexDirection="column">
<Typography variant="h1" component="span">1982</Typography>
<Typography variant="h5" component="span">Bed Count</Typography>
</Box>
</div>
And in my styles I'm trying to change the color of the h5
Typography element
bottomArea: {
$h5: {
color: "red"
}
}
I think I understand why this isn't working but is there an easy way to target that h5
variant?
Here is a codesandbox to show