Closed Memoyr closed 6 years ago
Hi , Is it normal that this isn't working while using with postcss-mixins ? It strips out everything from the rule value but not the actual argument.
@define-mixin generate $size { font-size: var(--text$(size); } .test { @mixin generate sm; }
output :
.test { font-size: sm; }
thanks
Use postcss-mixins before postcss-custom-properties
postcss-mixins
postcss-custom-properties
thanks! Actually, that was the correct fix for my config : https://github.com/postcss/postcss-mixins/issues/82#issuecomment-355792125
Hi , Is it normal that this isn't working while using with postcss-mixins ? It strips out everything from the rule value but not the actual argument.
output :
.test { font-size: sm; }
thanks