1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00
Files
my-website/app/fonts.ts
T
2024-08-19 23:08:50 +00:00

29 lines
540 B
TypeScript

import { NextFontWithVariable } from "next/dist/compiled/@next/font";
import { Aldrich, Ubuntu, Ubuntu_Mono } from "next/font/google";
const AldrichFont = Aldrich({
subsets: ["latin"],
weight: "400",
variable: "--font-alt"
});
const UbuntuMonoFont = Ubuntu_Mono({
subsets: ["latin"],
weight: "400",
variable: "--font-mono"
});
const UbuntuFont = Ubuntu({
weight: "400",
subsets: ["latin"],
variable: "--font-base"
});
const fonts: NextFontWithVariable[] = [
AldrichFont,
UbuntuFont,
UbuntuMonoFont
];
export default fonts;