mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
29 lines
549 B
TypeScript
29 lines
549 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", "700"],
|
|
subsets: ["latin"],
|
|
variable: "--font-base"
|
|
});
|
|
|
|
const fonts: NextFontWithVariable[] = [
|
|
AldrichFont,
|
|
UbuntuFont,
|
|
UbuntuMonoFont
|
|
];
|
|
|
|
export default fonts;
|