Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @layer property #1634

Open
pearcake opened this issue Nov 3, 2022 · 2 comments
Open

Support @layer property #1634

pearcake opened this issue Nov 3, 2022 · 2 comments

Comments

@pearcake
Copy link

pearcake commented Nov 3, 2022

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?

@JuhG
Copy link

JuhG commented Nov 18, 2022

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!

@kof
Copy link
Member

kof commented Nov 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants