Results 1 to 3 of 3

Thread: Programmatically change base color

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Sep 2012
    Vote Rating

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts