refactor(css): ♻️ move fonts to css imports

This commit is contained in:
Julien Oculi 2024-05-28 12:45:05 +02:00
parent e60c46369f
commit 600385415b
2 changed files with 2 additions and 5 deletions

View file

@ -35,10 +35,6 @@ export default function App({ Component }: PageProps) {
href='https://fonts.gstatic.com' href='https://fonts.gstatic.com'
crossorigin={''} crossorigin={''}
/> />
<link
href='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'
rel='stylesheet'
/>
</Head> </Head>
<body> <body>
<Header /> <Header />

View file

@ -3,7 +3,8 @@ layer(reset);
@import url('https://unpkg.com/open-props') layer(framework); @import url('https://unpkg.com/open-props') layer(framework);
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.1.0/fonts/remixicon.css') @import url('https://cdn.jsdelivr.net/npm/remixicon@4.1.0/fonts/remixicon.css')
layer(framework); 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('./base.css') layer(base);
@import url('./layout.css') layer(layout); @import url('./layout.css') layer(layout);
@import url('./components.css') layer(components); @import url('./components.css') layer(components);