fix(style): introduce semiBoldWeight and various improvements to reduce CLS

This commit is contained in:
Jacky Zhao 2024-02-17 10:34:46 -08:00
parent fa2ea2896f
commit 06e3f8b93d
6 changed files with 15 additions and 15 deletions

View file

@ -54,7 +54,7 @@ ul,
}
a {
font-weight: $boldWeight;
font-weight: $semiBoldWeight;
text-decoration: none;
transition: color 0.2s ease;
color: var(--secondary);

View file

@ -157,6 +157,6 @@
}
.callout-title-inner {
font-weight: $boldWeight;
font-weight: $semiBoldWeight;
}
}

View file

@ -5,4 +5,5 @@ $sidePanelWidth: 380px;
$topSpacing: 6rem;
$fullPageWidth: $pageWidth + 2 * $sidePanelWidth;
$boldWeight: 700;
$semiBoldWeight: 600;
$normalWeight: 400;