-
3 Nov 2012 7:59 AM #1
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:
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...
If however, I change it to this, then it works.Code:@import 'compass'; @import 'ext4/default/all'; // Your custom code goes here... $base-color: #336ea4;
Am I doing something wrong, or is the "template" comment just wrong about where to place custom code?Code:@import 'compass'; // Your custom code goes here... $base-color: #336ea4; @import 'ext4/default/all';
Thanks.Last edited by cmeans; 3 Nov 2012 at 9:13 AM. Reason: Wrong version # for Sencha Cmd
-
5 Nov 2012 7:26 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
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.
-
5 Nov 2012 8:29 AM #3
OK. For newbies like me...probably would be better to include additional hints etc..
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote