Results 1 to 2 of 2

Thread: Sencha theming guide issue

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    6
    Vote Rating
    0
      0  

    Default Sencha theming guide issue

    I am working through the Theming guide (http://docs.sencha.com/extjs/4.2.1/#!/guide/theming) step by step. After I edit my themes package.json and change "extend": "ext-theme-classic" to "extend": "ext-theme-neptune", I run 'sencha app refresh' followed by 'sencha app build' yet when I open the theme-app index.html page I don't get the Neptune color scheme (and yes I refreshed my browser cache).

    The guide says something like the following regarding where the other themes are "In the packages directory your workspace you will see the following theme packages:" and then goes on to list the ext-themes-* (neptune etc). The only themes in my workspace/packages dir is the custom theme I created so I copied the themes from the ext/packages directory and ran the sencha app commands again. I still only see the classic theme. Here is the output from running 'sencha cmd refresh', you'll notice that there is no mention of the neptune theme:

    ?Sencha Cmd v3.1.2.342[INF]
    [INF] init-plugin:
    [INF]
    [INF] cmd-root-plugin.init-properties:
    [INF]
    [INF] init-properties:
    [INF]
    [INF] init-sencha-command:
    [INF]
    [INF] init:
    [INF]
    [INF] app-refresh-impl:
    [INF] Including theme package ext-theme-classic for app.theme=ext-theme-classic build
    [INF] Including theme package ext-theme-classic for app.theme=ext-theme-classic build
    [INF] Loading classpath entry C:\my-workspace\ext\src
    [INF] Loading classpath entry C:\my-workspace\packages\ext-theme-base\overrides
    [INF] Loading classpath entry C:\my-workspace\packages\ext-theme-base\src
    [INF] Loading classpath entry C:\my-workspace\packages\ext-theme-neutral\overrides
    [INF] Loading classpath entry C:\my-workspace\packages\ext-theme-neutral\src
    [INF] Loading classpath entry C:\my-workspace\packages\ext-theme-classic\overrides
    [INF] Loading classpath entry C:\my-workspace\packages\ext-theme-classic\src
    [INF] Loading classpath entry C:\my-workspace\theme-demo-app\app
    [INF] Loading classpath entry C:\my-workspace\theme-demo-app\app.js
    [INF] Appending concatenated output to file C:\my-workspace\theme-demo-app\bootstrap.js
    [INF] Appending concatenated output to file C:\my-workspace\theme-demo-app\bootstrap.js
    [INF] Appending concatenated output to file C:\my-workspace\theme-demo-app\bootstrap.js
    [INF] Appending concatenated output to file C:\my-workspace\theme-demo-app\bootstrap.js
    [INF]
    [INF] app-refresh:

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    In your .sencha/app/sencha.cfg, did you change the theme value there?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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