The mixin takes the background position and dimension values for various media query breakpoints (see below). Basically looking for a way to hijack these values and put them into this mixin before they get outputted to CSS...
@mixin icon-downsize ($bg-position-vertical, $height, $width) {
background-position: 0 down-rez-large($bg-position-vertical);
height: down-rez-large($height);
width: down-rez-large($width);
@media (max-width: $break-width-small) {
background-position: 0 down-rez-to-small($bg-position-vertical);
height: down-rez-small($height);
width: down-rez-small($width);
}
@media (min-width: $break-width-med) {
background-position: 0 down-rez-to-med($bg-position-vertical);
height: down-rez-to-med($height);
width: down-rez-to-med($width);
}
@media (min-width: $break-width-xlarge) {
background-position: 0 $bg-position-vertical;
height: $height;
width: $width;
}
}