[CLOSED] Best way to theme your app?

  1. #1

    [CLOSED] Best way to theme your app?

    What's the best way to theme your application if you want to override things like default font, grid colors, etc? We been using just CSS overrides, but every time we get latest, our CSS overrides will break because ExtJS changed a css class name or added new ones or changed the way markup is generated.

    Should we not use the css outputed by ResourceManager and use Compass to build the ExtJS source css files?
    Last edited by Daniil; Jun 18, 2013 at 3:54 AM. Reason: [CLOSED]
  2. #2
    Hi @jchau,

    Yes, I think the best option for now is to master SASS.
    http://docs.sencha.com/extjs/4.2.1/#!/guide/theming
    http://docs.sencha.com/extjs/4.2.1/#!/video/19159630

    It should let you avoid such issues (changes in CSS class names and markup) as much as it possible.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @jchau,

    Yes, I think the best option for now is to master SASS.
    http://docs.sencha.com/extjs/4.2.1/#!/guide/theming
    http://docs.sencha.com/extjs/4.2.1/#!/video/19159630

    It should let you avoid such issues (changes in CSS class names and markup) as much as it possible.
    But I would have to output my own css instead of the embedded one right?
  4. #4
    Hello!

    I think the following thread will be helpful: http://forums.ext.net/showthread.php?25098
  5. #5
    Quote Originally Posted by jchau View Post
    But I would have to output my own css instead of the embedded one right?
    Yes, that is right. You can reference a custom theme by a ResourceManager's ThemePath.

Similar Threads

  1. [CLOSED] Change theme of Gridpanel when theme is changed
    By pawangyanwali in forum 2.x Legacy Premium Help
    Replies: 13
    Last Post: May 22, 2013, 8:05 AM
  2. New Theme
    By satyadev in forum 2.x Help
    Replies: 0
    Last Post: Feb 22, 2013, 11:22 AM
  3. New Ex.Net Theme
    By jamalmellal in forum 2.x Help
    Replies: 3
    Last Post: Jan 22, 2013, 11:57 PM
  4. Setting Theme
    By kumarxlnt in forum 1.x Help
    Replies: 1
    Last Post: Oct 21, 2009, 10:21 AM
  5. Replies: 0
    Last Post: Jun 08, 2009, 11:33 PM

Posting Permissions