jss icon indicating copy to clipboard operation
jss copied to clipboard

Support @layer property

Open pearcake opened this issue 3 years ago • 2 comments

Hello, I'm trying to make new @layer property work with JSS (wrap all my JSS inside @layer test { /*all my jss here */ }), but the only way I was able to do it is hack methods that output JSS to string and hardcode it there. Any suggestions on how to do it properly?

pearcake avatar Nov 03 '22 10:11 pearcake

I would be curious as well. Is there any escape hatch to go around this? Like an option to add a raw string before / after a CSS block without validation. Thanks!

JuhG avatar Nov 18 '22 16:11 JuhG

Check out how any other rule is implemented in the core, it's all plugins, you can write yours

kof avatar Nov 18 '22 16:11 kof