Results 1 to 2 of 2

Thread: Error when try to compiling my theme

  1. #1
    Sencha User
    Join Date
    May 2013
    Location
    Costa Rica
    Posts
    11
    Vote Rating
    0
      0  

    Default Unanswered: Error when try to compiling my theme

    Hello everybody!

    I have tried to create my own theme for my sencha app, so I've defined a default-theme.scss file:

    Code:
    $font-family: "Comic Sans";
    $page-bg-color: #FFFFFF;
    
    @import 'sencha-touch/default/all';
    
    
    @include sencha-panel;
    @include sencha-buttons;
    @include sencha-sheet;
    @include sencha-picker;
    @include sencha-tabs;
    @include sencha-toolbar;
    @include sencha-toolbar-forms;
    @include sencha-indexbar;
    @include sencha-list;
    @include sencha-layout;
    @include sencha-carousel;
    @include sencha-form;
    @include sencha-msgbox;
    However, when I try to compile this the following error occurs:

    Code:
    Compass was unable to compile one or more files in the project: 
        error default-theme.scss (Line 6 of _Button.scss: Undefined mixin 'background-clip'.)
    identical default-theme.css
    Could somebody help me? I've been searching the error on google, but there are no information about it!

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Cluj, Romania
    Posts
    688
    Answers
    23
    Vote Rating
    50
      0  

    Default

    that mixin it's part of compass, add to your sass file:
    Code:
    @import 'compass/css3';
    Github https://github.com/vadimpopa
    Sencha tips and articles : http://vadimpopa.com
    Twitter: @vadimvpopa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •