Results 1 to 3 of 3

Thread: how to generate app with gray theme using sencha cmd

  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    163

    Default how to generate app with gray theme using sencha cmd

    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?

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

    Regards

  2. #2
    Ext JS Premium Member
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,199
    Answers
    87

    Default

    It that possible? Why not just set the theme's css class in your html file?

    Code:
     <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

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    163

    Default

    thanks.

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

    Code:
    http://docs.sencha.com/ext-js/4-1/#!/guide/command_reference
    under sencha generate app there are thse options though
    Code:
    • --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

Posting Permissions

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