Threaded View

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Location
    Ljubljana
    Posts
    23
    Vote Rating
    0
    TipyTop is on a distinguished road

      0  

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

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



Thread Participants: 1

Tags for this Thread