Retina-Sprites-for-Compass
Retina-Sprites-for-Compass copied to clipboard
Does 'Retina Sprites' support $offset-x, $offset-y
For example @include retina-sprite(imageName, $offset-x: 15px, $offset-y: 20px);
I can't seem to make this work.
Looking at the code, is it to do with the $pad?
Hi @BenBish , i'm not sure offhand. I'm really swamped at the moment... working 90hrs a week. I can look into this next weekend if you're still having issues with it. It's been so long since I looked into how compass works on the inside.
Have you tried the 2.0 branch? I haven't had a chance to use it yet (looking to heavily test & merge next weekend) but @novascreen did an awesome job at refactoring it. It looks much cleaner than the release on master.
90 hr weeks? You're forgiven for not knowing!
No worries, there s no rush, I found an alternative solution that, while not as simple as yours, it does the job.
Happy to help where I can if you need anything testing!
Yea, it's pretty intense :smiley:
Happy to help where I can if you need anything testing!
Yea if you've tried out the 2.0 branch any feedback would be great! I quickly tried it but haven't used it in an app yet (i'm mostly focusing on backend and Meteor stuff at the moment).
if there are any questions related to the 2.0 branch i'm happy to help out. i've been using it on several projects but lately i switched to using SVGs with Grunticon (generates fallbacks for IE8 and everything in case you want to have a look at that)