Open xavierfoucrier opened 8 months ago
Hi! Thanks for the feature request, I'm open to reviewing and merging a PR to land this feature.
We do a similar thing already when it comes to background-size
or width
+ height
in the SCSS mixin (see below) so having an extra argument (e.g. $property
that defaults to background
but can be set to mask
) would work I guess?
This should be great!
Work overflow on my side right now, but I can find time during my vacations to work on this 🏂
Hello @cascornelissen 👋
Great plugin, I am using it in many
scss
projects.One thing I noticed is that it would be convenient, in some situations, to output the
mask
attribute instead ofbackground
. This could be implemented by using a using a different mixin likemask(..)
or adding parameters to the currentsprite
one.Thanks a lot!
PS: my mistake, you can tag this as "feature request" 👌