github vanilla-extract-css/vanilla-extract @vanilla-extract/css@1.20.0

latest releases: @vanilla-extract/turbopack-plugin@0.1.2, @vanilla-extract/vite-plugin@5.2.1, @vanilla-extract/compiler@0.6.0...
15 hours ago

Minor Changes

  • #1702 48a9caf Thanks @bschlenk! - Allow :where and :is in selectors if all selectors target &

    EXAMPLE USAGE:

    const example = style({
      color: 'red',
      selectors: {
        // Valid: all selectors in the list target `example`
        ':is(h1 > &, h2 > &)': { color: 'blue' }
        // Invalid: the second selector in the list does not target `example`
        ':is(h1 > &, h2)': { color: 'blue' }
      }
    });

Don't miss a new vanilla-extract release

NewReleases is sending notifications on new releases.