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

    Build project with 0.9.1 seems to lose theme

    Help
    2
    3
    1197
    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.
    • joaopaulofilho
      joaopaulofilho last edited by

      In previous version, my themed builds seemed to work properly, but with the new version of quasar, after clicking in a link, it goes back to default theme (blue).

      I’ve searched in the docs, but with no luck so far.

      The only thing different from default scripts are my app.variables.styl:

      $white_smoke = #F9F8F8
      $dawn_pink   = #E6D7CB
      $fantasy     = #EEE4DC
      $stark_white = #D6C4B4
      $gun_powder  = #4D4D5B
      $prim        = #D6D2D3
      $simple_red  = #F54B5D
      
      
      $primary   = $gun_powder
      $secondary = $simple_red
      $tertiary  = $prim
      
      $neutral   = #E0E1E2
      $positive  = #21BA45
      $negative  = #DB2828
      $info      = #31CCEC
      $warning   = #F2C037
      
      $light     = #f4f4f4
      $dark      = #333
      $faded     = #777
      
      $text-color          = lighten(black, 17%)
      $background-color    = $white_smoke
      
      $link-color          = lighten($primary, 25%)
      $link-color-active   = $primary
      

      So, first page seems ok. Clicking to route new page, them falls back to blue.

      What am I doing wrong?

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Any repo I can take a look at? There must be some miusage. What you are describing hasn’t changed at all in latest Quasar. If you’ve switched to Webpack 2 setup then it means you must’ve slipped something.

        1 Reply Last reply Reply Quote 1
        • joaopaulofilho
          joaopaulofilho last edited by joaopaulofilho

          Yes. My bad. Have been debuging for a while but it was just now that I’ve found the misuse:

          in my component <style> I’ve imported app.variables AFTER app.mat.styl (to use some of the variables, of course).

          So this was where I banged my head over and over: in ‘quasar dev’ there where no issues, but when ‘quasar build’ and then ‘quasar serv’ (or apk with cordova), this was a deal breaker.

          Anyways, sorry for the dumb topic 🐼

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