mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 17:56:36 -04:00
just some refactoring
This commit is contained in:
9
lib/styles/helpers/typography.ts
Normal file
9
lib/styles/helpers/typography.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import * as Inter from "./fonts/inter";
|
||||
import * as RobotoMono from "./fonts/roboto-mono";
|
||||
import * as ComicNeue from "./fonts/comic-neue";
|
||||
|
||||
// re-export hashed URLs of the most important variable fonts so we can preload them in pages/_document.tsx
|
||||
export const preloadUrls = [...Inter.preloadUrls, ...RobotoMono.preloadUrls];
|
||||
|
||||
// re-export everything for use in ../stitches.config.ts
|
||||
export { Inter, RobotoMono, ComicNeue };
|
Reference in New Issue
Block a user