Theme for Sencha Touch based on Flat-UI.
- Copy
dist/src
directory's file to your project'sresources/touch
directory.
cp -r ../sencha-touch-flat-ui-theme/dist/src/ touch/resources/
- Update your project's app.scss file as following.
// @import 'sencha-touch/default';
// @import 'sencha-touch/default/all';
@import 'sencha-touch/flat';
@import 'sencha-touch/flat/all';
// Custom code goes here..
Then, compile app.scss. That's it!
compass compile resources/sass/
In order to add a new swatch or colors you can add a new stylus file under src/themes/stylesheets/sencha-touch/flat
and run grunt from your command line.
- brew install node
- npm install -g grunt-cli
- cd to project's folder
- npm install
- grunt watch
- start modifying src/themes/stylesheets/sencha-touch/flat files
Currently, grunt watch
task doesn't work well.. I will fix this problem at an early date. If you want to modify this theme source, please use compass compile src/sass
and move the generate css file manually.
0.0.2
Copyright (c) 2013 KAWANO Shinobu. This software is licensed under the MIT License.