Closed onigoetz closed 11 months ago
CSS Nesting is coming and if we want to stop transpiling it one day we need to align with its syntax.
Compound selectors such as .Card { &__content { }} will not be supported
.Card { &__content { }}
Also some constructs such as (which apparently already don't work with lightningcss)
:global("Test") { &--leftPadding }
Ideally, we should warn starting now that this won't be supported in Crafty 2.0 (or another major milestone)
Released: https://github.com/swissquote/crafty/releases/tag/v1.24.0
CSS Nesting is coming and if we want to stop transpiling it one day we need to align with its syntax.
Compound selectors such as
.Card { &__content { }}
will not be supportedAlso some constructs such as (which apparently already don't work with lightningcss)
Ideally, we should warn starting now that this won't be supported in Crafty 2.0 (or another major milestone)