Skip to content

Commit

Permalink
🩹 importing fonts correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jamerrq committed Jan 2, 2024
1 parent f3dad61 commit 9bf7c44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down
1 change: 1 addition & 0 deletions src/layouts/layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ interface Props {
const { title } = Astro.props;
import '@fontsource/merriweather';
import '../index.css';
---

<!doctype html>
Expand Down

0 comments on commit 9bf7c44

Please sign in to comment.