how to implement sass in sencha touch 2.0 -
please tell me how include our own pictos in sencha 2.0. .scss
file.
$base_color:#ff83d6; @import 'sencha-touch/default/all'; @include sencha-toolbar-ui('india', #66ff66, 'matte'); @include sencha-button-ui('india', #66ff66, 'matte'); @include sencha-button-ui('india', #66ff66, 'matte'); @include pictos-iconmask(pictos_name);
pictos_name
should replaced can use it?
http://docs.sencha.com/touch/2.0.2/#!/api/global_css-css_mixin-pictos-iconmask
pictos-iconmask( $name )
includes base64-encoded icon use within tab bars , buttons (with component parameter iconmask: true).
@include pictos-iconmask('attachment');
$name : string
the name of icon included. match name of icon file (located @
resources/themes/images/default/pictos
) without extention (.png).
Comments
Post a Comment