PDA

View Full Version : Getting colors of current theme



andrej67
10 Aug 2012, 8:20 AM
Hi everybody,

I am a rookie in ExtJS and this is my first post, so if there is a silly question, please do not get angry :)

I currently build some charts and I would like to have the series (bars etc.) in a similar color like the current theme. So I must read the CSS information which is currently active with the framework to get the color e.g. of the window titlebars.

Searching the Documentation, I am not able to find a possibility to do so.

Does anybody has a hint for me ?

Best regards and a nice weekend,

Andrej

scottmartin
10 Aug 2012, 12:44 PM
Perhaps you could get the theme name instead?
http://docs.sencha.com/ext-js/4-1/#!/api/Global_CSS-css_var-S-theme-name

Scott.