Changing base color in sencha touch 2.2

流过昼夜 提交于 2019-12-24 18:23:22

问题


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.



来源:https://stackoverflow.com/questions/16184569/changing-base-color-in-sencha-touch-2-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!