[ 1 post ]

Amrish Kapoor

YUI Contributor

  • Username: amrishk
  • Joined: Mon Jul 12, 2010 9:46 am
  • Posts: 30
  • Location: Bangalore
  • Twitter: amrishk
  • GitHub: amrishk
  • Gists: amrishk
  • Offline
  • Profile
Tags:

How to pull my gallery widget's css automatically ?

Post Posted: Thu Jul 29, 2010 4:05 am
+0-
Hey,

I am trying to build my widget, so that its widget-core.css and widget-skin.css are automatically pulled from yahoo's cdn when a user uses the widget with YUI().use.

I have set -
component.skinnable=true
and have made the correct dir structure in widget's src dir as -
<component.assets.base>
- <component>-core.css
- skins/sam/<component>-skin.css

But when i build my widget with 'ant all' the 'deployskins' target doesn't seem to do anything and therefore I dont get my skins in the build directory too.

In a nutshell - what all is needed for a widget to pull its style automatically when its used with YUI().use ?

regards,
Amrish Kapoor
  [ 1 post ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum