wix / stylable

Stylable - CSS for components
https://stylable.io
MIT License
1.26k stars 62 forks source link

-st-* declarations on imported class #2828

Open idoros opened 1 year ago

idoros commented 1 year ago

When importing a class from another stylesheet and using it in a selector (internally referred as an alias class) it's currently (v5) possible to set -st-global and -st-states on the class, although with an unscoped class warning diagnostic. This would be less important if it was an error and not a warning, since severity can be configured to ignore warnings.

expected

see reproduction