From 9bf7c4488ffe7f3cfe61a52dde9532b8b432db80 Mon Sep 17 00:00:00 2001 From: jamerrq Date: Mon, 1 Jan 2024 21:12:48 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20importing=20fonts=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.css | 2 +- src/layouts/layout.astro | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 9575f58..709c092 100644 --- a/src/index.css +++ b/src/index.css @@ -2,7 +2,7 @@ url('https://fonts.googleapis.com/css2?family=Rubik+Doodle+Shadow&display=swap'); @font-face{ - src: url('/fonts/FiraMonoNerd/FiraMonoNerdFontMono-Medium.otf'); + src: url('/fonts/FiraMonoNerd/FiraMonoNerdFontMono-Medium.otf') format('opentype'); font-family: 'Fira'; } diff --git a/src/layouts/layout.astro b/src/layouts/layout.astro index 07953e6..8b4e76d 100644 --- a/src/layouts/layout.astro +++ b/src/layouts/layout.astro @@ -5,6 +5,7 @@ interface Props { const { title } = Astro.props; import '@fontsource/merriweather'; +import '../index.css'; ---