Use next/font to serve fonts (#419)

This commit is contained in:
Luke Vella 2023-01-21 10:53:44 +00:00 committed by GitHub
parent fcb2d362c9
commit 2f7f0f8734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 7 deletions

View file

@ -35,8 +35,8 @@ module.exports = {
xs: "375px",
},
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
mono: ["Noto Sans Mono", ...defaultTheme.fontFamily.mono],
sans: ["var(--font-inter)", ...defaultTheme.fontFamily.sans],
mono: ["var(--font-noto)", ...defaultTheme.fontFamily.mono],
},
transitionTimingFunction: {
"in-expo": "cubic-bezier(0.68, -0.6, 0.32, 1.6)",