Closed SleeplessByte closed 2 years ago
This is due to a typo on https://github.com/nandorojo/solito/blob/master/example-monorepos/with-custom-font/apps/next/pages/_document.tsx#L14
You can update url
to src
as per the font-face
spec and they will start working. Fernando probably had Inter installed locally so it didn't show up. :)
The custom fonts starter (https://custom-font.example.solito.dev/) does load the Font files (can be seen in the network tab) but doesn't actually initialize them, with a warning in the console about the fonts not being used and the rendered font using Segoe UI and Times New Roman respectively.