PDA

View Full Version : Theming using Sencha Cmd



DevPatil
15 Oct 2014, 12:03 AM
I am using ExtJs 4.2 and Sencha Cmd 5.
I followed the theming guide in Sencha.But my problem is that, is it necessary to use sencha app build everytime we change the Sass variables for any component.
I am using sencha app watch for tracking any changes in app.But when I try to refresh my localhost the changes are not reflected.
When I make changes realted to panel in Panel.scss,none of them gets reflected.
For example I am trying out following changes :

$panel-body-border-color : #317040 !default;
$panel-body-border-style : double !default;
$panel-border-color : #317040 !default;
$panel-frame-border-radius : 10px !default;

Am I missing something?:-/

scottmartin
17 Oct 2014, 7:46 PM
It should watch all of the follow as described in this article:
http://www.sencha.com/blog/using-the-new-app-watch-command-in-sencha-cmd-4/

DevPatil
24 Oct 2014, 7:45 PM
Hey Scott,Thank you for your response.
My file structure was not proper as i was using eclipse without sencha plugin.So could not get it right at first time.Now its working.

siuling337
20 Nov 2014, 1:01 AM
it's really nice. Thanks for sharing ~!!!!!

PrashanthShetty
12 Mar 2015, 9:27 PM
Hi Guys-

I have started using Sencha CMD 5.1.2.52.

Can someone please respond to this.

Followed the sencha command guide & created a simple theme with basecolor as red.

Issue: All Icons like close icon,minimize,maximize icons all default to classic theme images

Expected: Ideally images needs to be recreated based on base color.

Can someone please confirm if its works like above.

Please note, same case works fine, when the custom theme extends neptune theme.

Thanks,
Prashanth