-
Notifications
You must be signed in to change notification settings - Fork 1
/
next.fonts.ts
20 lines (18 loc) · 743 Bytes
/
next.fonts.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Plus_Jakarta_Sans, Atkinson_Hyperlegible } from "next/font/google";
// This configures the Next.js Font for Open Sans
// We then export a variable and class name to be used
// within Tailwind (tailwind.config.ts) and Storybook (preview.js)
export const PLUS_JAKARTA_SANS = Plus_Jakarta_Sans({
weight: ["400", "500", "600", "700"],
display: "fallback",
subsets: ["latin"],
variable: "--font-jakarta",
});
// This configures the Next.js Font for IBM Plex Mono
// We then export a variable and class name to be used
// within Tailwind (tailwind.config.ts) and Storybook (preview.js)
export const ATKINSON_HYPERLEGIBLE = Atkinson_Hyperlegible({
weight: ["400", "700"],
subsets: ["latin"],
variable: "--font-atkinson",
});