问题
I want to have neptune toolbar on classic themed ExtJS website. Is this thing possible ? If so , How ?
回答1:
You could create a custom theme derived from a classic theme and you could copy the toolbar styles to your custom theme folder.
sencha generate theme my-custom-theme
Then, on your project's config file found on project folder/.sencha/app/sencha.cfg
, edit/add the following:
app.theme=my-custom-theme
#app.theme=ext-theme-classic
I assume you have generated your project through Sencha CMD
. Copy the toolbar styles found on packages/ext-theme-neptune/sass/var/toolbar
and/or packages/ext-theme-neptune/sass/src/toolbar
to your custom theme.
来源:https://stackoverflow.com/questions/19695009/is-it-possible-to-mix-themes-in-extjs-4