jayarjo
jayarjo

Reputation: 16754

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?

Upvotes: 0

Views: 360

Answers (1)

Dinkheller
Dinkheller

Reputation: 5074

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:

Upvotes: 1

Related Questions