Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member cmeans's Avatar
    Join Date
    Jun 2010
    Location
    Chicago, IL USA
    Posts
    74
    Vote Rating
    3
    cmeans is on a distinguished road

      0  

    Default Is the app.scss template wrong?

    Is the app.scss template wrong?


    Sencha Cmd v3.0.0.230
    ExtJS v4.1.1a

    The "resources/sass/<theme>/app.scss" seems to be a bit "wrong":

    This is the default output:

    Code:
    @import 'compass';
    @import 'ext4/default/all';
    // Your custom code goes here...
    But, if I change it to the below and compile, the "sencha app build" output indicates no change to the .css generated.

    Code:
    @import 'compass';
    @import 'ext4/default/all';
    // Your custom code goes here...
    $base-color: #336ea4;
    If however, I change it to this, then it works.

    Code:
    @import 'compass';
    // Your custom code goes here...
    $base-color: #336ea4;
    @import 'ext4/default/all';
    Am I doing something wrong, or is the "template" comment just wrong about where to place custom code?

    Thanks.
    Last edited by cmeans; 3 Nov 2012 at 9:13 AM. Reason: Wrong version # for Sencha Cmd

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,684
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    I think what we were trying to say is your custom code like your scss files should be imported under there. For variables, yes, they must be defined above.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member cmeans's Avatar
    Join Date
    Jun 2010
    Location
    Chicago, IL USA
    Posts
    74
    Vote Rating
    3
    cmeans is on a distinguished road

      0  

    Default


    OK. For newbies like me...probably would be better to include additional hints etc..