Including Google font with variants #10612
Replies: 3 comments 4 replies
-
You know, when you select the fonts in Google fonts it'll show you exactly what you have to use. |
Beta Was this translation helpful? Give feedback.
-
If you haven't already figured this out, hopefully, I can give some insights. In my <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins"> Then in my html, body, #q-app
font-family: "Poppins", "Roboto", "-apple-system", "Helvetica Neue", Helvetica, Arial, sans-serif !important
font-size: 14px Now, Poppins because the default font used for my site. |
Beta Was this translation helpful? Give feedback.
-
But if you put the font link ( or any kind of css/js link ) in the Is that correct? |
Beta Was this translation helpful? Give feedback.
-
I want to include the Raleway font. The download from Google Fonts has a variable font named "Raleway-VariableFont_wght.ttf" and then a static folder containing numerous files such as "Raleway-Regular.ttf", "Raleway-Bold.ttf", "Raleway-Light.ttf", etc.
I have the following in
app.sass
and it works as far as displaying the Raleway font's regular variant:What can I do to support all variants? Use the variable font file? Include all variants in my CSS definition?
The documentation reference only deals with single font file examples.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions