Skip to content

Commit

Permalink
Add Archivo font
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkomath committed Jan 10, 2025
1 parent eba65f1 commit 6a08860
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
7 changes: 6 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import { ThemeProvider } from "@/components/core/theme-provider";
import { SITE_METADATA } from "@/data/marketing";
import { cn } from "@/lib/utils";
import { Archivo } from "next/font/google";

import "./globals.css";

const archivo = Archivo({
subsets: ["latin"],
});

export const metadata = {
title: SITE_METADATA.TITLE,
description: SITE_METADATA.DESCRIPTION,
Expand All @@ -17,7 +22,7 @@ export default function RootLayout({
return (
<html
lang="en"
className={cn("dark flex min-h-full min-w-full")}
className={cn("dark flex min-h-full min-w-full", archivo.className)}
suppressHydrationWarning
>
<head>
Expand Down
17 changes: 0 additions & 17 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,6 @@ module.exports = {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
fontFamily: {
sans: [
"system-ui",
"-apple-system",
"BlinkMacSystemFont",
'"Segoe UI"',
"Roboto",
'"Helvetica Neue"',
"Arial",
'"Noto Sans"',
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
},
},
},
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
Expand Down

0 comments on commit 6a08860

Please sign in to comment.