How do I change the default sprite name generated by the compass?

I have a problem with compass symbols.

I used two different config.rb files for it, but I need to create sprites in the same directory.

But these sprites deleted each other.

The sprites file name is now icons-s2e073c2bbc.png

How to change the default filename for one of them to sprites-s2e073c2bbc.png (or something like that)

+3


source to share


1 answer


This is not the best solution, but maybe it will help someone

I added this code to my config.rb file, and now I have saved the sprite file in a different directory and does not conflict with other sprite files.



generated_images_dir = 'images/travel_sprite'
http_generated_images_dir = "/images/travel_sprite"
http_generated_images_path = "/images/travel_sprite"

      

0


source







All Articles