Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spriting to multiple files #70

Open
joegaudet opened this issue Sep 15, 2011 · 2 comments
Open

Spriting to multiple files #70

joegaudet opened this issue Sep 15, 2011 · 2 comments

Comments

@joegaudet
Copy link
Contributor

I would like to be able to specify the file target for the sprite so I can animate background images, and also exclude large / lazily loaded files to a different sprite.

@ialexi
Copy link
Contributor

ialexi commented Sep 15, 2011

I think this would be a great feature to have. Given that Abbot lets Chance supply any sprite names it wants (the files end up being called stylesheet-(sprite name).png I believe) this is rather simple. The tricky part is figuring out the best syntax.

@include slice(file.png, $sprite: spritename)? Not sure if that's good enough.

@joegaudet
Copy link
Contributor Author

Seems totally reasonable to me... That's about as simple as you could get no?

The only thing I could think to make it more simple would be an optional end parameter (so it wouldn't have to be named).

.joe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants