1. #1
    Ext JS Premium Member cmeans's Avatar
    Join Date
    Jun 2010
    Location
    Chicago, IL USA
    Posts
    99
    Vote Rating
    4
    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
    Gainesville, FL
    Posts
    35,727
    Vote Rating
    752
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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
    ________________
    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 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
    99
    Vote Rating
    4
    cmeans is on a distinguished road

      0  

    Default


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

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar