refactor: scope knewave font to Logo

This commit is contained in:
Your Name
2026-04-10 15:36:13 +05:30
parent c82e59d61d
commit 3898cb5726
2 changed files with 9 additions and 8 deletions
+9 -7
View File
@@ -2,13 +2,15 @@ import { DotIcon } from "@phosphor-icons/react"
import "@fontsource/knewave" import "@fontsource/knewave"
export default function Logo() { export default function Logo() {
return ( return (
<div className="flex items-baseline leading-none align-baseline"> <span
<span className="text-2xl font-light font-logo text-accent">&nbsp;Pi</span> className="inline-flex items-baseline justify-center leading-none select-none"
<DotIcon weight="fill" size={12} className="text-accent translate-y-px" /> style={{ fontFamily: "'Knewave', serif" }}
<span className="text-2xl font-light font-logo text-accent ml-0.5">Ku</span> >
<DotIcon weight="fill" size={12} className="text-accent translate-y-px" /> <span className="text-2xl font-light text-accent">Pi</span>
</div> <DotIcon weight="fill" size={12} className="text-accent translate-y-[0.3em] -mx-px" />
<span className="text-2xl font-light text-accent">Ku</span>
<DotIcon weight="fill" size={12} className="text-accent translate-y-[0.3em] -mx-px" />
</span>
); );
} }
-1
View File
@@ -37,7 +37,6 @@
} }
@theme { @theme {
--font-logo: "Knewave", system-ui;
--font-display: "Playwrite HR Lijeva Variable", cursive; --font-display: "Playwrite HR Lijeva Variable", cursive;
--font-sans: "Jost Variable", sans-serif; --font-sans: "Jost Variable", sans-serif;
--font-serif: "Playfair Display Variable", serif; --font-serif: "Playfair Display Variable", serif;