From 600385415b3193754dddd75829fe10d7e89af16f Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 28 May 2024 12:45:05 +0200 Subject: [PATCH] refactor(css): :recycle: move fonts to css imports --- routes/_app.tsx | 4 ---- src/stylesheets/main.css | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/routes/_app.tsx b/routes/_app.tsx index 03b8744..ce91902 100644 --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -35,10 +35,6 @@ export default function App({ Component }: PageProps) { href='https://fonts.gstatic.com' crossorigin={''} /> -
diff --git a/src/stylesheets/main.css b/src/stylesheets/main.css index 321ac94..ba7d9cc 100644 --- a/src/stylesheets/main.css +++ b/src/stylesheets/main.css @@ -3,7 +3,8 @@ layer(reset); @import url('https://unpkg.com/open-props') layer(framework); @import url('https://cdn.jsdelivr.net/npm/remixicon@4.1.0/fonts/remixicon.css') layer(framework); -/* TODO @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Hepta+Slab:wght@1..900&family=MuseoModerno:ital,wght@0,100..900;1,100..900&display=swap') layer(framework); */ +@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Hepta+Slab:wght@1..900&family=MuseoModerno:ital,wght@0,100..900;1,100..900&display=swap') +layer(framework); @import url('./base.css') layer(base); @import url('./layout.css') layer(layout); @import url('./components.css') layer(components);