How to Import custom font families from a local or external source without postcss #473
-
I'm using twin.macro Usually I'd have a custom css file importing some fonts using @font-face pointing to a local file or external url, plus the standard @tailwindcss base, components and utilities. This doesn't work however without setting up postcss with twin.macro. I've tried importing the font-family in the Would love any insight as how best to solve this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This sounds about right, twin has a fonts doc that shows how to setup the first half. You'll then need to import the global styles into a layout component you're using throughout the site. |
Beta Was this translation helpful? Give feedback.
This sounds about right, twin has a fonts doc that shows how to setup the first half. You'll then need to import the global styles into a layout component you're using throughout the site.