Touch version tested:

Sencha CMD version tested:

Browser versions or Packager version tested against:

Device and OS tested against:



  • chrome browser only (v37.0.2062.124)


What theme are you using for your application:




Description:

  • I have to change lib source code for my sass override to work. I've been using touch for a few months but I'm totally new to compass and sass. I did some googling and tried just about every combo of solution that people have posted on sencha (and non-sencha) forums. I tried following the instructions in the comment in app.scss and mountainview.scss. I tried adding the variable before/after the includes in mountainview.scss. Then I tried before/after the includes in app.scss. I tried commenting out the includes in app.scss. I tried with/without the !default. I saw a post on this forum that looked like what I was dealing with. http://ift.tt/1we891Y. I downloaded the latest version of touch 2.4.0 and that _Class.scss file hasn't changed. Is there something I'm overlooking?


Steps to reproduce the problem:



  • add the following at the top of project/resources/sass/mountainview.scss


    Code:



    $base-color: #cc0000 !default;




  • in touch/resources/themes/stylesheets/sencha-touch/mountainview/var/_Class.scss on line 12 change from this


    Code:



    $base-color: #4abce7;

    to this


    Code:



    $base-color: #4abce7 !default;

    to get the $base-color to override

    do a

    Code:



    compass compile resources/sass





The result that was expected:

  • I shouldn't have to change the source code for my override to work


The result that occurs instead:



  • this is the only way that I have found for my override to work