PDA

View Full Version : Extjs custom theme



simon
24 Feb 2015, 7:28 AM
I have created custom theme.
Then I have created custom Tab.scss:



@include extjs-tab-ui(
$ui: 'eord-tab',
$ui-border-radius: 4px 0px 0px 4px,
$ui-border-width: 0px,
$ui-margin: 0px,
$ui-color: #555555,
$ui-color-over: #ffffff,
$ui-inner-border-width: 0px
)


It works, but when I run my app, i get the following error:
GET http://localhost/eordDev/build/development/eOrdering/resources/images/tab/tab-eord-tab-close.gif 404 not found.

So, it seems that it includes images with the name of my theme.
My theme is extended from classic theme: "extend": "ext-theme-classic"

Why not use all from classic theme, only styles defined inside my Tab.scss should be different than the one from classic theme. So, the ext should take the image: "tab-default-close.gif"

Is it possible? I don't wont to copy all images from ext resources and rename them to my theme name. Otherwise i would rather stay with default theme and use css when want to change some style.

scottmartin
6 Mar 2015, 7:07 AM
You would need to copy the existing images from the theme you created from to the new theme image DIR.
They are not going to be referenced.