No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Fonts from CDN: is it changed since 0.+?

    Framework
    1
    2
    133
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sandroden
      sandroden last edited by

      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 the roboto-font in quasar.conf.js. It also references src/themes that I believe is no longer used (at least not created by the quasar-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

      1 Reply Last reply Reply Quote 0
      • sandroden
        sandroden last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post