Is there a way to pass named set of variables to mixin? Like so:
@small: {
@width: 10px;
@height: 10px;
};
.button(@dim) {
@dim();
width: @width;
};
@media (max-width: 700px) {
button {
.button(@small);
};
}
Generally speaking, I need some way of parametric composition, the way to pass one mixin into another by name. I think this is quite useful in many cases. There is may be an approach to simulate this behavior?