PDA

View Full Version : how to generate app with gray theme using sencha cmd



extremed
6 Nov 2012, 1:20 AM
Hi

how to generate app with gray theme using sencha cmd?

this generates the app but with default blue theme, how to generate it with gray theme?


sencha -sdk D:\sencha\Sencha\ext-4.1.1a generate app Oms D:\sencha\omsapp


Regards

tvanzoelen
6 Nov 2012, 1:44 AM
It that possible? Why not just set the theme's css class in your html file?


<link rel="stylesheet" type="text/css" id="Exttheme" href="/resources/css/ext-all-gray.css"/>

the blue theme is the ext-all.css. For grey for example it is ext-all-gray

extremed
6 Nov 2012, 3:03 AM
thanks.

i just wanted to find out how. its seems possible but have no idea how to use


http://docs.sencha.com/ext-js/4-1/#!/guide/command_reference

under sencha generate app there are thse options though



--controller-name, -c - The name of the default Controller
--library, -l - the pre-built library to use (core or all). Default: core
--path, -p - The path for the generated application
--theme-name, -t - The name of the defualt Theme
--view-name, -v - The name of the defalut View