Skip to content

Commit 20ea219

Browse files
chore(website): align blog post heading weights with site typography
1 parent 2ba5c6b commit 20ea219

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

website/src/pages/blog/[...slug].astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ const breadcrumbSchema = {
104104

105105
<!-- Header -->
106106
<header class="mb-12 mt-8">
107-
<span class="text-accent text-xs font-semibold uppercase tracking-[0.12em]">
107+
<span class="text-accent text-xs font-medium uppercase tracking-[0.12em]">
108108
{category.name}
109109
</span>
110-
<h1 class="mt-4 text-4xl font-semibold leading-[1.08] tracking-tight text-white [text-wrap:balance] md:text-[3.25rem]">
110+
<h1 class="mt-4 text-4xl font-normal leading-[1.1] tracking-tight text-white [text-wrap:balance] md:text-[3.25rem]">
111111
{title}
112112
</h1>
113113
{description && (
114-
<p class="mt-5 text-lg leading-relaxed text-zinc-400 [text-wrap:pretty] md:text-xl">
114+
<p class="mt-5 text-lg font-light leading-7 text-zinc-400 [text-wrap:pretty] md:text-xl">
115115
{description}
116116
</p>
117117
)}
@@ -178,7 +178,7 @@ const breadcrumbSchema = {
178178
<!-- Read next -->
179179
{otherArticles.length > 0 && (
180180
<div class="mx-auto mt-24 w-full max-w-[62rem] border-t border-white/10 pt-10">
181-
<h2 class="text-sm font-semibold uppercase tracking-[0.12em] text-zinc-500">Read next</h2>
181+
<h2 class="text-sm font-medium uppercase tracking-[0.12em] text-zinc-500">Read next</h2>
182182
<div class="mt-6 grid grid-cols-1 gap-6 md:grid-cols-3">
183183
{otherArticles.map((article) => (
184184
<a href={`/blog/${article.slug}/`} class="group flex flex-col">
@@ -199,7 +199,7 @@ const breadcrumbSchema = {
199199
{formatTimestamp(article.published)}
200200
</time>
201201
</div>
202-
<h3 class="mt-2 text-base font-medium leading-snug text-white transition-colors group-hover:text-accent">
202+
<h3 class="mt-2 text-base font-normal leading-snug text-white transition-colors group-hover:text-accent">
203203
{article.title}
204204
</h3>
205205
<span class="mt-2 inline-flex items-center gap-1.5 text-xs font-medium text-zinc-500 transition-colors group-hover:text-white">

website/src/pages/changelog/[...slug].astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ const breadcrumbSchema = {
103103
<time datetime={entry.data.published.toISOString()} class="text-sm font-medium text-zinc-500">
104104
{formatTimestamp(entry.data.published)}
105105
</time>
106-
<h1 class="mt-2 text-4xl font-semibold leading-[1.08] tracking-tight text-white [text-wrap:balance] md:text-[3.25rem]">
106+
<h1 class="mt-2 text-4xl font-normal leading-[1.1] tracking-tight text-white [text-wrap:balance] md:text-[3.25rem]">
107107
{title}
108108
</h1>
109109
{description && (
110-
<p class="mt-5 text-lg leading-relaxed text-zinc-400 [text-wrap:pretty] md:text-xl">
110+
<p class="mt-5 text-lg font-light leading-7 text-zinc-400 [text-wrap:pretty] md:text-xl">
111111
{description}
112112
</p>
113113
)}
@@ -137,7 +137,7 @@ const breadcrumbSchema = {
137137
<!-- Read next -->
138138
{otherArticles.length > 0 && (
139139
<div class="mx-auto mt-24 w-full max-w-[62rem] border-t border-white/10 pt-10">
140-
<h2 class="text-sm font-semibold uppercase tracking-[0.12em] text-zinc-500">Read next</h2>
140+
<h2 class="text-sm font-medium uppercase tracking-[0.12em] text-zinc-500">Read next</h2>
141141
<div class="mt-6 grid grid-cols-1 gap-6 md:grid-cols-3">
142142
{otherArticles.map((article) => (
143143
<a href={`/changelog/${article.slug}/`} class="group flex flex-col">
@@ -158,7 +158,7 @@ const breadcrumbSchema = {
158158
{formatTimestamp(article.published)}
159159
</time>
160160
</div>
161-
<h3 class="mt-2 text-base font-medium leading-snug text-white transition-colors group-hover:text-accent">
161+
<h3 class="mt-2 text-base font-normal leading-snug text-white transition-colors group-hover:text-accent">
162162
{article.title}
163163
</h3>
164164
<span class="mt-2 inline-flex items-center gap-1.5 text-xs font-medium text-zinc-500 transition-colors group-hover:text-white">

0 commit comments

Comments
 (0)