Import font from google fonts #600
Replies: 3 comments 2 replies
-
I think you need to load your fonts on the side with a |
Beta Was this translation helpful? Give feedback.
-
If you check the content of the google font @import URL e.g. https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap you can see that it is just a couple of @font-face rules. You can create those yourselves with the |
Beta Was this translation helpful? Give feedback.
-
@mattcompiles how about adding a low-level primitive like |
Beta Was this translation helpful? Give feedback.
-
How to import font from google fonts? In CSS I can use @import rule. Is there some alternative in vanilla-extract?
Beta Was this translation helpful? Give feedback.
All reactions