美文网首页
Sencha Touch 切换内置主题方法

Sencha Touch 切换内置主题方法

作者: 徐璟 | 来源:发表于2014-08-13 11:43 被阅读0次

前提:已经安装有Ruby,以及其gems:haml, compass

  1. 修改resources\sass\app.scss
@import 'sencha-touch/<your_theme_name>';
@import 'sencha-touch/<your_theme_name>/all';
  1. 添加自定义图标
@include icon('box');
@include icon('rss'); ...
...
  1. 进入app.scss目录,执行compass compile(如果有错会有控制台输出)。
  2. 回到项目主目录,sencha app refresh并sencha web -port 4000 start启动。

相关文章

网友评论

      本文标题:Sencha Touch 切换内置主题方法

      本文链接:https://www.haomeiwen.com/subject/geuetttx.html