Changing base color in sencha touch 2.2

2019-08-08 21:34发布

问题:

Recently i upgraded sencha framework to 2.2, facing problem with the scss. Not able to change the base color($base-color) of the app. follwing is the code i have in app.scss

@import 'sencha-touch/default';
@import 'sencha-touch/default/all';
$base-color: #008c99;

color change is not reflected any where in the app.

Is this the proper way to set the base color of the app, if not please let me know where i fumbled.

thanks in advance.

回答1:

Okay, just place the "$base-color: #008c99" above the @import statement. It should be placed before the import statement. Save and compile.. And then refresh to see the effect.