Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: font fix

Arghya Dasb73ff219f237
diff --git a/apps/www/components/sections/hero.tsx b/apps/www/components/sections/hero.tsx
index 6ea4d7a8..a476bf86 100644
--- a/apps/www/components/sections/hero.tsx
+++ b/apps/www/components/sections/hero.tsx
@@ -54,13 +54,16 @@ export function Hero() {
</h1>
</div>
- <p className="max-w-xl text-balance text-left text-base tracking-tight text-black dark:font-medium dark:text-white md:text-center md:text-lg ">
+ <p className="max-w-xl text-balance text-left text-base tracking-tight text-primary md:text-center md:text-lg">
150+ free and open-source animated components and effects built
- with <b>React</b>, <b>Typescript</b>, <b>Tailwind CSS</b>, and{" "}
- <b>Motion</b>
+ with <b className="font-[550] dark:font-[580]">React</b>,{" "}
+ <b className="font-[550] dark:font-[580]">Typescript</b>,{" "}
+ <b className="font-[550] dark:font-[580]">Tailwind CSS</b>, and{" "}
+ <b className="font-[550] dark:font-[580]">Motion</b>
.
<br />
- Perfect companion for <b>shadcn/ui</b>.
+ Perfect companion for{" "}
+ <b className="font-[550] dark:font-[580]">shadcn/ui</b>.
</p>
<div className="md:mx-auto w-full flex md:max-w-xs flex-col gap-4 gap-y-2 md:flex-row md:justify-center">
diff --git a/apps/www/styles/globals.css b/apps/www/styles/globals.css
index 9d902c04..ba64b50b 100644
--- a/apps/www/styles/globals.css
+++ b/apps/www/styles/globals.css
@@ -5,6 +5,8 @@
@custom-variant fixed (&:is(.layout-fixed *));
:root {
+ --font-geist-sans: "Geist", sans-serif;
+ --font-geist-mono: "Geist Mono", monospace;
--radius: 0.625rem;
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
@@ -99,6 +101,7 @@
--breakpoint-3xl: 1600px;
--breakpoint-4xl: 2000px;
--font-sans: var(--font-geist-sans);
+ --font-inter: var(--font-inter);
--font-mono: var(--font-geist-mono);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);