-
Notifications
You must be signed in to change notification settings - Fork 661
Spritesheet generator as an option? #154
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
Comments
Spite images are a common needs for web building tools. But I don't see very easily how to integrate and generalize the idea to the generator. It often needs a deep integration with the css preprocessor. But I must admit that it's been a long time since I've used sprites thanks to CSS3 and font icons. |
Yes! CSS3, font icons, svg are great tools! But unfortunately there are some layouts and and solutions we need to compress to reduce the number of requests. There are some approaches to figure out this issue easily. Using gulp spritesmith. We could include both in a option. If the user select to use sass, ask for compass and include the task. if the user select other css preprocessor, we could ask for include spritesmith. I've been using spritesmith + imagemin + csso in production and works pretty good! A simple example:
|
Nice idea but that should be a recipe like @raphaelluchini can you create this recipes ? |
Yes @zckrs , for sure, but there is a reason to not be included as an option? Perhaps this feature is very specific? |
Yes it is very specific. For a concrete option we should change the CSS of the sample application and the controller who list technologies used |
Hi there, where does one find the recipes/docs? Trying to customise the mdThemeProvider and mdIconProvider with material-design-icons but so far no joy. seems to be specific to the generator. |
Another, which I'm using: https://github.com/aslansky/css-sprite |
This issue is a nice feature/enhancement but we (Swiip and me) don't have time to implement this for the moment. For clarity in issues I will close the issue and marks it as "good-but-no-time". Otherwise we will reopen the issue after the v1.0.0 |
What do you think include a option for a gulp task generate a spritesheet using only gulp or sass as a gulp task? In this case we'd use src/assets/compiled-images and src/assets/images(non compiled). In some cases you don't want to generate a spritesheet for all your images, for example a facebook image share. And in the dist folder we could the sabe js naming style(spritesheet-e2cdf34.png).
The text was updated successfully, but these errors were encountered: