refactor: replace arbitrary text sizes in FontSampler, TypographyMenu; fix font token in SectionTitle

This commit is contained in:
Ilia Mashkov
2026-04-17 09:42:24 +03:00
parent 7b46e06f8b
commit 0ebf75b24e
3 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ interface Props {
const { text }: Props = $props();
</script>
{#if text}
<h2 class="text-3xl md:text-4xl lg:text-5xl font-['Space_Grotesk'] font-bold text-swiss-black dark:text-neutral-200 tracking-tight">
<h2 class="text-3xl md:text-4xl lg:text-5xl font-primary font-bold text-swiss-black dark:text-neutral-200 tracking-tight">
{text}
</h2>
{/if}