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

360 Views Asked by At

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

1

There are 1 best solutions below

2
Dinkheller On BEST ANSWER

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: