fix: typography styles

This commit is contained in:
Hossein Mehrabi
2023-12-14 19:02:51 +03:30
parent c667313338
commit 36a085b323
3 changed files with 8 additions and 4 deletions
@@ -60,7 +60,7 @@
}
.mdx-cta-section__description {
@include lsd.typography('h4', false);
@include lsd.typography('h3', false);
}
.mdx-cta-section__link {
@@ -27,7 +27,11 @@
flex-direction: column;
&__title {
@include lsd.typography('body1');
@include lsd.typography('subtitle2');
}
&__description {
@include lsd.typography('h4');
}
}
}
@@ -27,9 +27,9 @@ export const SectionHeader: React.FC<
{description && (
<Typography
className="mdx-section-header_description"
className="mdx-section-header__description"
component="p"
variant="h4"
variant="h3"
>
{description}
</Typography>