Search code examples
extjssasssencha-touchsencha-touch-theming

Is it possible to override SASS files for specific components in Sencha Touch?


Is it possible to override SASS files for specific components in Sencha Touch? The way one would do it for ExtJS project?


Solution

  • Sure you can. You can

    • create a custom component
    • add a class to the component (e.g. 'x-my-button')
    • add the new class with the deeper classes to the SASS

    .x-my-button { &.x-button { .x-button-label{ color: green; } } }

    Other than that you can change the styles by:

    OR go for global css vars: