I’ve written my first JQuery plugin and one of it’s dependancies is an external css stylesheet. Do you think this is an acceptable strategy to include this in the distributable or should I embed style information in the plugin itself? Should I ship with no style information at all? The visual elements of the plugin make no sense without the stylesheet, and I’d like to allow users to obviously tweak the look and feel too. Just not sure what is the best approach to take.
Share
UI is surely one of the most important plug-ins and it does include css files in its distribution. This is how the distribution looks like:
I suppose you could use a similar structure. Note that some widgets don’t work without the style sheets. The documentation clearly mentions which elements in the css are mandatory.