Skip to content

Commit 00dbb60

Browse files
style: adjust serif fonts
1 parent 9f8628f commit 00dbb60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/package/[...package]/SidePanel.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
{/if}
5656
<li class="space-y-2">
5757
{#if packages.length > 1}
58-
<h3 class="font-display text-xl text-primary">{category.name}</h3>
58+
<h3 class="text-xl font-bold text-primary">{category.name}</h3>
5959
<ul class="space-y-2">
6060
{#each packages as { pkg } (pkg.name)}
6161
<li>
@@ -78,13 +78,13 @@
7878
{:else}
7979
{@const firstPackageName = packages[0]?.pkg.name ?? ""}
8080
{#if page.url.pathname.endsWith(`/${firstPackageName}`)}
81-
<h3 class="font-display text-xl text-primary underline underline-offset-4">
81+
<h3 class="text-xl font-bold text-primary underline underline-offset-4">
8282
{category.name}
8383
</h3>
8484
{:else}
8585
<a
8686
href="/package/{firstPackageName}"
87-
class="group inline-flex w-full items-center font-display text-xl text-primary underline-offset-4 hover:underline"
87+
class="group inline-flex w-full items-center text-xl font-bold text-primary underline-offset-4 hover:underline"
8888
>
8989
{category.name}
9090
<ChevronRight

0 commit comments

Comments
 (0)