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

+2 -12
View File
@@ -1,18 +1,8 @@
.configure-pagespeed h1.MuiTypography-root {
font-size: var(--env-var-font-size-large-plus);
}
.configure-pagespeed span.MuiTypography-root {
font-size: var(--env-var-font-size-small-plus);
}
.configure-pagespeed h1.MuiTypography-root,
.configure-pagespeed h3.MuiTypography-root,
.configure-pagespeed h2.MuiTypography-root {
font-weight: 600;
}
.configure-pagespeed p.MuiTypography-root,
.configure-pagespeed h3.MuiTypography-root,
.configure-pagespeed h3.MuiTypography-root > span.MuiTypography-root {
font-size: var(--env-var-font-size-medium);
.configure-pagespeed h3.MuiTypography-root {
font-weight: 500;
}
.configure-pagespeed .MuiBox-root > .field + p.MuiTypography-root {
font-size: var(--env-var-font-size-small-plus);
@@ -151,12 +151,7 @@ const PageSpeedConfigure = () => {
<Stack direction="row" gap={theme.spacing(2)}>
<PulseDot color={statusColor[determineState(monitor)]} />
<Box>
<Typography
component="h1"
mb={theme.spacing(2)}
sx={{ lineHeight: 1 }}
color={theme.palette.text.primary}
>
<Typography component="h1" variant="h1" mb={theme.spacing(2)}>
{monitor?.url}
</Typography>
<Typography
@@ -351,13 +346,13 @@ const PageSpeedConfigure = () => {
<Typography
id="modal-delete-pagespeed-monitor"
component="h2"
color={theme.palette.text.secondary}
variant="h2"
>
Do you really want to delete this monitor?
</Typography>
<Typography
id="delete-pagespeed-monitor-confirmation"
color={theme.palette.text.tertiary}
variant="body1"
>
Once deleted, this monitor cannot be retrieved.
</Typography>