cssinjs / jss

JSS is an authoring tool for CSS which uses JavaScript as a host language.
https://cssinjs.org
MIT License
7.08k stars 399 forks source link

Add support for @layer #1651

Open pvcresin opened 1 year ago

pvcresin commented 1 year ago

Corresponding Issue(s):

What Would You Like to Add/Fix?

Add support for @layer See more: https://developer.mozilla.org/en-US/docs/Web/CSS/@layer

Implemented with reference to ConditionalRule and @container PR.

Perhaps this change does not support all @layer features, but I would like to be able to use just some of them.

Todo

Expectations on Changes

Changelog

Added support for @layer.

JuhG commented 1 year ago

hey @kof, any chance you could take a look at this? thanks!