Skip to content

Commit 3f2fb09

Browse files
committed
Fix fonts
1 parent 40cd381 commit 3f2fb09

4 files changed

Lines changed: 17 additions & 13 deletions

File tree

package-lock.json

Lines changed: 13 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@fontsource-variable/exo-2": "^5.1.1",
1616
"@fontsource-variable/jost": "^5.1.2",
1717
"@fontsource-variable/reddit-sans": "^5.1.1",
18-
"@fontsource/roboto": "^5.1.1",
18+
"@fontsource-variable/roboto": "^5.1.1",
1919
"astro": "^5.1.5",
2020
"fslightbox": "^3.4.2",
2121
"gsap": "^3.12.7",

src/layouts/BaseLayout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Footer from "../components/Footer.astro";
55
import "@fontsource-variable/exo-2";
66
import "@fontsource-variable/reddit-sans";
77
import "@fontsource-variable/jost";
8+
import "@fontsource-variable/roboto";
89
910
const { pageTitle, description } = Astro.props;
1011
---

tailwind.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export default {
2929
body: "0.875rem",
3030
},
3131
fontFamily: {
32-
exo: ['"Exo 2 Variable"'],
32+
exo: ['"Exo 2 Variable"', "sans-serif"],
3333
reddit: ['"Reddit Sans Variable"'],
3434
jost: ['"Jost Variable"'],
35-
roboto: ["Roboto"],
35+
roboto: ['"Roboto Variable"'],
3636
},
3737
gridTemplateRows: {
3838
hero: "repeat(5, minmax(80px, auto));",

0 commit comments

Comments
 (0)