Threaded View
-
12 Oct 2012 2:59 PM #1
Answered: Programmatically change base color
Answered: Programmatically change base color
Is it possible? I've search on google and stackoverflow and I couldn't found any solution. One member on this forum said, that Kitchen Sink has an example.
-
Best Answer Posted by suzuki1100nz
Hi,
I don't think you can do this via javascript easily - in fact you don't want to.
Sounds like you want to dynamically change themeing of a website.
Touch uses the SASS and Compass toolsets to theme Sencha and produces a new CSS resource files as a result (same as ExtJS).
You can create multiple themes which produce separate css files and then a user can switch themes by you switching resources (via a redirect)
See this link for ExtJS theme switch demo - http://docs.sencha.com/ext-js/4-1/#!...mes/index.html
Touch theming - http://docs.sencha.com/touch/2-0/#!/video/theming
http://docs.sencha.com/touch/2-0/#!/guide/theming


Reply With Quote