Change font

This commit is contained in:
Oliver Ilp
2025-04-17 19:04:23 +03:00
parent b11715e332
commit a49ab59cb4
3 changed files with 6 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
@import "tailwindcss";
@import 'tailwindcss';
:root {
--background: #ffffff;
@@ -22,5 +22,5 @@
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
font-family: Inter, Arial, Helvetica, sans-serif;
}

View File

@@ -1,14 +1,9 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
@@ -25,7 +20,7 @@ export default function RootLayout({
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`${inter.variable} antialiased`}
>
{children}
</body>

View File

@@ -1,5 +1,3 @@
import Image from "next/image";
export default function Home() {
return (
<div>