PDA

View Full Version : How to generate an app using the Neptune theme?



LesJ
19 Apr 2013, 9:50 AM
I'm using the following command to generate an app:

sencha - sdk js/ext-4.2.0 generate app PivotGrid PivotGrid

This works fine, but the classic theme is used. I'd like to use the Neptune theme instead.

I tried to specify the -t option, but it didn't work. Please help w/ an example.

LesJ
20 Apr 2013, 10:02 AM
I need to bump this question. I'm sure someone solved it or at least thought about it.

Is there a way to generate an application that will use the Neptune theme?

The Sencha Command generated app defaults to the Classic theme. It's not too obvious to me how to tell it to use the Neptune theme instead.

An example would be much appreciated.

existdissolve
20 Apr 2013, 4:15 PM
I need to bump this question. I'm sure someone solved it or at least thought about it.

Is there a way to generate an application that will use the Neptune theme?

The Sencha Command generated app defaults to the Classic theme. It's not too obvious to me how to tell it to use the Neptune theme instead.

An example would be much appreciated.

The new theming guide describes exactly what you need to do: http://docs.sencha.com/extjs/4.2.0/#!/guide/theming

Specifically, updating .sencha/app/sencha.cfg, as well as probably updating your bootstrap.css to import the neptune theme files.