Added basic default font variants

This commit is contained in:
Daniel Cojocea committed 2024-09-14 12:36:20 -04:00
1 parent 63075a2390
commit d8664d3ed7
26 files changed
+90 -227

No files matched your search

+6 -16
View File
@@ -155,30 +155,20 @@ const Greeting = ({ type = "" }) => {
return (
<Box>
<Typography
component="h1"
lineHeight={1}
fontWeight={500}
color={theme.palette.text.primary}
mb={theme.spacing(1)}
>
<Typography component="h1" variant="h1" mb={theme.spacing(1)}>
<Typography component="span" fontSize="inherit">
{prepend},{" "}
</Typography>
<Typography
component="span"
fontSize="inherit"
fontWeight="inherit"
color={theme.palette.text.secondary}
>
{prepend},{" "}
</Typography>
<Typography component="span" fontSize="inherit" fontWeight="inherit">
{firstName} {emoji}
</Typography>
</Typography>
<Typography
lineHeight={1}
fontSize={14}
fontWeight={400}
color={theme.palette.text.accent}
>
<Typography variant="h2" lineHeight={1} color={theme.palette.text.accent}>
{append} — Here’s an overview of your {type} monitors.
</Typography>
</Box>