Skip to content

Commit

Permalink
download and set Inter variable font from google
Browse files Browse the repository at this point in the history
  • Loading branch information
pettinarip committed Jan 25, 2024
1 parent 8094312 commit a291f68
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added src/fonts/Inter-VariableFont_slnt,wght.ttf
Binary file not shown.
Binary file removed src/fonts/InterVariable.woff2
Binary file not shown.
4 changes: 2 additions & 2 deletions src/lib/fonts.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import localFont from "next/font/local"

// downloaded from https://github.com/rsms/inter/
// downloaded from https://fonts.google.com/specimen/Inter
export const inter = localFont({
src: "../fonts/InterVariable.woff2",
src: "../fonts/Inter-VariableFont_slnt,wght.ttf",
display: "swap",
fallback: ["sans-serif"],
})
Expand Down

0 comments on commit a291f68

Please sign in to comment.