atom-language-postcss icon indicating copy to clipboard operation
atom-language-postcss copied to clipboard

Unit lengths appears as illegal in postcss grammar

Open felixsanz opened this issue 8 years ago • 0 comments

If you define a mixin like this:

@define-mixin square $dimension {
    width: $dimension;
    height: $dimension;
}

And you want to make use of it like:

.button {
  @mixin square 200px;
}

The px word appears as illegal character.

(Sorry for the sugass thing, ignore it)

felixsanz avatar Jan 22 '17 04:01 felixsanz