Closed pkd2512 closed 1 year ago
Even with display swap, the fonts take a while to load. So I propose adding the font-imports in the template.html or in a svelte:head in a +layout.svelte. That will ensure it's the first thing to load even before any other CSS.
template.html
svelte:head
+layout.svelte
I agree with a putting these in the template. Should only import definitely used fonts, i.e., knowledge and freight.
Even with display swap, the fonts take a while to load. So I propose adding the font-imports in the
template.html
or in asvelte:head
in a+layout.svelte
. That will ensure it's the first thing to load even before any other CSS.