javascriptcssmobilesencha-touchsencha-touch-theming

Theming Sencha Touch - Compass & SSAS Required?


I'm pretty new to Sencha Touch. From what I've played with, it's a great framework. I'm working on my first production site and I'm having some issues wrapping my mind around the theming. Are Compass & SSAS really required to change the colors of the theme? It seems ludicrous to me that a simple color change would require so much work.

I've read this tutorial, as well as some others. Am I missing something?


Solution

  • You can ofcourse go and modify the CSS and replace all the colors you need, since Compass/SASS just compile to CSS. I would have to disagree with you though on that it's ludicrous. The base theme color is used in many different places and there are various gradient rules applied to it that Compass/SASS generates. Quite frankly it's very simple to only change it in one line in your sass file, run "compass compile" and be on your way versus digging through CSS find/replacing and then minifying it for production.