What I'm doing is loop over a list of attributes, eg $h1: ((false, 20px, 24px, normal), ($tablet, 34px, 40px, -1px), ($desktop, 38px, 45px, -2px)). Using the helper mixin, I can just loop over the list and call the mixin, not caring about whether I actually want a media query or just the styles.
Am I missing something or is this really not possible without the helper mixin at the moment?
I write the following simple helper mixin to just output the
@content
without any media query if it is passedfalse
.What I'm doing is loop over a list of attributes, eg
$h1: ((false, 20px, 24px, normal), ($tablet, 34px, 40px, -1px), ($desktop, 38px, 45px, -2px))
. Using the helper mixin, I can just loop over the list and call the mixin, not caring about whether I actually want a media query or just the styles.Am I missing something or is this really not possible without the helper mixin at the moment?