twolfson / spritesheet-templates

Convert spritesheet data into CSS or CSS pre-processor data
The Unlicense
107 stars 48 forks source link

add default css template #8

Closed jfroffice closed 11 years ago

twolfson commented 11 years ago

Contemplated why nobody asked about this the other day. Thanks for being the first.

Your description is very sparse, would you be okay with something like

.icon-eye {
  /* sprite code */
}
jfroffice commented 11 years ago

Thank you for your quick reply.

You are right my description is very sparse.

Only one CSS class for each sprite sounds good.

twolfson commented 11 years ago

Cool, I will probably make that class the default and allow for a custom cssClass function for customization down to a per sprite basis.

"J.Fischer" notifications@github.com wrote:

Thank you for your quick reply.

You are right my description is very sparse.

Only one CSS class for each sprite sounds good.

— Reply to this email directly or view it on GitHub.

jfroffice commented 11 years ago

sounds good to me.

twolfson commented 11 years ago

Sorry for the delay. It has been a very hectic past few days. I will try to get something out soon.

twolfson commented 11 years ago

Completed this half; added css engine (2.1.0) and set it as default (3.0.0). I will put it into spritesmith later.

twolfson commented 11 years ago

Sorry for the long delay on this. grunt-spritesmith has been upgraded to 1.1.0 and now is on the latest version of json2css with the cssOpts as a parameter.

jfroffice commented 11 years ago

great !

works for me.