mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
init: First version
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user