2 lines
1.6 KiB
Plaintext
2 lines
1.6 KiB
Plaintext
{% if level|integer == 1 %}<h1 class="earthen-h1 text-5xl md:text-6xl font-semibold tracking-tight leading-tight {{ textClass }}" style="font-family: var(--font-heading, \000022Fraunces\000022, \000022Playfair Display\000022, Georgia, serif); color: hsl(var(--primary));">{{ text }}</h1>{% elif level|integer == 3 %}<h3 class="earthen-h3 text-2xl md:text-3xl font-semibold leading-snug {{ textClass }}" style="font-family: var(--font-heading, \000022Fraunces\000022, \000022Playfair Display\000022, Georgia, serif); color: hsl(var(--foreground));">{{ text }}</h3>{% elif level|integer == 4 %}<h4 class="earthen-h4 text-xl md:text-2xl font-semibold {{ textClass }}" style="font-family: var(--font-heading, \000022Fraunces\000022, \000022Playfair Display\000022, Georgia, serif); color: hsl(var(--foreground));">{{ text }}</h4>{% elif level|integer == 5 %}<h5 class="earthen-h5 text-lg font-semibold {{ textClass }}" style="font-family: var(--font-heading, \000022Fraunces\000022, \000022Playfair Display\000022, Georgia, serif); color: hsl(var(--foreground));">{{ text }}</h5>{% elif level|integer == 6 %}<h6 class="earthen-h6 text-base font-semibold uppercase tracking-wider {{ textClass }}" style="font-family: var(--font-heading, \000022Fraunces\000022, \000022Playfair Display\000022, Georgia, serif); color: hsl(var(--muted-foreground));">{{ text }}</h6>{% else %}<h2 class="earthen-h2 text-3xl md:text-4xl font-semibold leading-snug crayon-underline {{ textClass }}" style="font-family: var(--font-heading, \000022Fraunces\000022, \000022Playfair Display\000022, Georgia, serif); color: hsl(var(--primary));">{{ text }}</h2>{% endif %}
|