ThisIsManta / stylus-supremacy

A Node.js script that helps formatting Stylus files.
https://thisismanta.github.io/stylus-supremacy
MIT License
88 stars 9 forks source link

Slash operator (/) in @custom-rule #90

Open x-ray-s opened 3 years ago

x-ray-s commented 3 years ago

When I use @apply rules in tailwindcss, the name perhaps has a / operator, so I get an unexpected output.

Input

.class
  @apply w-3/12

Output

.class {
  @apply: w-3 / 12;
}

Expectation

.class {
  @apply: w-3/12;
}

Please support the config about space around operator or char escaping.