Skip to content

Commit 2ae5b2b

Browse files
feat: add fontless to use custom fonts
1 parent fb1f753 commit 2ae5b2b

File tree

6 files changed

+553
-38
lines changed

6 files changed

+553
-38
lines changed

app/routes/_marketing+/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function Index() {
5050
</a>
5151
<h1
5252
data-heading
53-
className="animate-slide-top text-foreground xl:animate-slide-left mt-8 text-4xl font-medium [animation-delay:0.3s] [animation-fill-mode:backwards] md:text-5xl xl:mt-4 xl:text-6xl xl:[animation-delay:0.8s] xl:[animation-fill-mode:backwards]"
53+
className="animate-slide-top text-foreground xl:animate-slide-left mt-8 text-4xl font-medium [animation-delay:0.3s] [animation-fill-mode:backwards] md:text-5xl xl:mt-4 xl:text-6xl xl:[animation-delay:0.8s] xl:[animation-fill-mode:backwards] font-title"
5454
>
5555
<a href="https://www.epicweb.dev/stack">The Epic Stack</a>
5656
</h1>

app/styles/tailwind.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
@custom-variant dark (&:is(.dark *));
55

6+
.font-title {
7+
font-family: "Panchang", sans-serif;
8+
}
9+
610
:root {
711
--radius: 0.5rem;
812

0 commit comments

Comments
 (0)