@filtercake @topaxi by mixins do you mean @-apply rule as proposed by @TabAtkins: https://tabatkins.github.io/specs/css-apply-rule/ or another approach?
Looks useful but quite challenging to get right.
First step would be to get @CSSWG to start exploring it.