stylus-supremacy icon indicating copy to clipboard operation
stylus-supremacy copied to clipboard

parentheses being set to variable in mixin

Open aaarichter opened this issue 4 years ago • 0 comments

Hi, sorry if this has been asked before but I can't seem to find what option is causing this transform:

original stylus:

focus-outline($focusColor = $color-blue-600)
  0 0 3px 1px $focusColor

transformed to

focus-outline($focusColor = $color-blue-600)
  0 0 3px 1px {$focusColor}

Screenshot 2021-02-16 at 10 57 29

The {} around the variable are causing the stylus compiler to throw expected ":", got "}"

aaarichter avatar Feb 16 '21 10:02 aaarichter