stylify / packages

💎 Monorepository for Stylify packages. Stylify uses CSS-like selectors to generate Extremely optimized utility-first CSS dynamically based on what you write 💎.
https://stylifycss.com
MIT License
424 stars 9 forks source link

Component matched incorrectly #191

Closed Machy8 closed 1 year ago

Machy8 commented 1 year ago

Describe the bug

This

{% if true %}btn:orange{% else %}

is matched as btn:orange{.

The workaround, for now, is to put spaces around the selector.

Reproduction

.

Logs

No response

System Info

.
Machy8 commented 1 year ago

This was caused by incorrectly defined macro