Threaded View

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Vote Rating
    TipyTop is on a distinguished road


    Default 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.

  2. 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 -!...mes/index.html

    Touch theming -!/video/theming!/guide/theming

Thread Participants: 1

Tags for this Thread