Fonts from CDN: is it changed since 0.+?
-
Hi,
in a website, I’d like to use a couple of fonts, not Roboto. I found a link from 0.17 docs that explains how to do that but has not been moved to quasar 1+. Is it changed? Is it suggested to embed fonts in the build?
That post anyhow refers to variable
$quasar-dont-import-roboto
that I don’t see in any new docs, I guess we’re supposed to comment theroboto-font
inquasar.conf.js
. It also referencessrc/themes
that I believe is no longer used (at least not created by thequasar-cli
).I’m anyhow adding 2 links to fonts in
index.template.html
what’s the next step to declare the default font?Thanks in advance
Sandro -
I probably got it correct, setting the variable in
quasar.variables.styl
:$typography-font-family = Raleway, -apple-system, Helvetica Neue, Helvetica, Arial, sans-serif
I originally tried with
app.styl
and it didn’t work. I have not really understood what app.styl should be used for.