-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Eugene Lazutkin edited this page Dec 9, 2013
·
25 revisions
Welcome to the grunt-tight-sprite wiki!
Following documentation is available:
- Getting Started -- describes how to use the plugin.
- FAQ -- you know what FAQ is :-)
All options are documented with multiple examples:
-
options.absolute --
indicates to use an absolute path of a generated sprite image in CSS. Default:
false. - options.background -- specifies a color to be used as a background. Default: transparent.
-
options.classPrefix --
prefix for generated CSS class names. Default:
'sprite_'. -
options.cssDest --
file name for a generated CSS file. Default: the same as
dest, but with'.css'extension. -
options.jpeg --
object, when specified it generates JPEG, or PNG when
null. Default:null(PNG). -
options.silent --
suppress all informational output to console. Default:
false. - options.template -- string template to generate individual entries corresponding to original source images in a sprite's CSS file.
- options.templateFile -- alternative way to specify a template as an external file. Default: none.
If you have any questions, do not hesitate to email me. You can open issues for found bugs or enhancement ideas in Issues.
Happy sprite hunting!