mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
add: font
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+24
-2
@@ -1,5 +1,27 @@
|
||||
import {Inter} from "next/font/google";
|
||||
import {Poppins} from "next/font/google";
|
||||
import localFont from "next/font/local";
|
||||
|
||||
export const poppins = Poppins({
|
||||
subsets: ["latin"],
|
||||
weight: ["400", "500", "600", "700"],
|
||||
variable: "--font-poppins",
|
||||
});
|
||||
|
||||
export const author = localFont({
|
||||
src: [
|
||||
{
|
||||
path: "./author/Author-Variable.ttf",
|
||||
style: "normal",
|
||||
},
|
||||
{
|
||||
path: "./author/Author-VariableItalic.ttf",
|
||||
style: "italic",
|
||||
},
|
||||
],
|
||||
variable: "--font-author",
|
||||
});
|
||||
|
||||
export const inter = Inter({subsets: ["latin"]});
|
||||
export const geistMono = localFont({
|
||||
src: "./geist/GeistMonoVF.woff",
|
||||
variable: "--font-geist-mono",
|
||||
});
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user