1. #1
    Sencha User
    Join Date
    May 2013
    Location
    Costa Rica
    Posts
    11
    Vote Rating
    0
    aplicativa is on a distinguished road

      0  

    Default Unanswered: Error when try to compiling my theme

    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
    655
    Vote Rating
    37
    Answers
    21
    vadimv has a spectacular aura about vadimv has a spectacular aura about

      0  

    Default


    that mixin it's part of compass, add to your sass file:
    Code:
    @import 'compass/css3';

Thread Participants: 1