1. #11
    Sencha User
    Join Date
    Mar 2012
    Posts
    40
    Vote Rating
    0
    Answers
    1
    Maarten Nieber can only hope to improve

      0  

    Default


    Thanks, I can now see the icon, but it's in black and white. Is it possible to see it in colour?

  2. #12
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Vote Rating
    -1
    lestu is an unknown quantity at this point

      0  

    Default


    It's possible to use full color icons with a very simple custom mixin.

    Code:
    /**
      * Includes a base64-encoded color icon for use within tab bars and buttons
      *
      *     @include pictos-icon('attachment');
      *
      * @param {string} $name The name of the icon to be included. This is to  match the name of the icon file (located at  resources/themes/images/default/pictos) without its extention (.png).
      */
     @mixin pictos-icon($name) {
       .x-button-icon.#{$name},
       .x-button .x-button-icon.x-icon-mask.#{$name} {
         background-image: theme_image($theme-name, "pictos/" + $name + ".png");
       }
     }
    http://scydev.ch/index.php?option=co...mid=59&lang=de

Thread Participants: 3

Tags for this Thread