PDA

View Full Version : Generated 'app.scss' File Is Misleading As To Where Var Should Be Placed



dwb
26 Nov 2012, 1:11 PM
After using the new sencha command to generate an ExtJs 4x file/directory structure, the 'app.scss' is born and looks like this:

dwb
26 Nov 2012, 1:32 PM
Once Auto-Generated 'app.scss' file looks like this:


-----------------------------------------
@import 'compass';
@import 'ext4/default/all';


// Your custom code goes here... <<<< WRONG!
-----------------------------------------


If you put your custom variables where the comment tells you to, custom theming will not work.


Here is how the app.scss should generate:


-----------------------------------------
// Your custom code goes here... <<<< Correct


@import 'compass';
@import 'ext4/default/all';
-----------------------------------------

mitchellsimoens
28 Nov 2012, 12:16 PM
Agreed. Some SASS knowledge is recommended also but we should do better in that regard.