mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 16:45:31 -04:00
switch fonts to Geist Sans and Geist Mono (#1835)
* switch fonts to Geist Sans and Geist Mono * adjust font sizes slightly * fix lockfile * Update contact.tsx
This commit is contained in:
3
lib/styles/fonts/loaders/GeistMono.ts
Normal file
3
lib/styles/fonts/loaders/GeistMono.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { GeistMono } from "geist/font/mono";
|
||||
|
||||
export default GeistMono;
|
3
lib/styles/fonts/loaders/GeistSans.ts
Normal file
3
lib/styles/fonts/loaders/GeistSans.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { GeistSans } from "geist/font/sans";
|
||||
|
||||
export default GeistSans;
|
@@ -1,11 +0,0 @@
|
||||
import { Inter as InterLoader } from "next/font/google";
|
||||
|
||||
const Inter = InterLoader({
|
||||
weight: "variable",
|
||||
axes: ["slnt"], // workaround for lack of italicized Inter on Google Fonts, see: https://github.com/google/fonts/issues/2386#issuecomment-691503098
|
||||
subsets: ["latin"],
|
||||
display: "fallback",
|
||||
preload: true,
|
||||
});
|
||||
|
||||
export default Inter;
|
@@ -1,11 +0,0 @@
|
||||
import { Source_Code_Pro as SourceCodeProLoader } from "next/font/google";
|
||||
|
||||
const SourceCodePro = SourceCodeProLoader({
|
||||
weight: "variable",
|
||||
style: ["normal", "italic"],
|
||||
subsets: ["latin"],
|
||||
display: "fallback",
|
||||
preload: true,
|
||||
});
|
||||
|
||||
export default SourceCodePro;
|
Reference in New Issue
Block a user