Skip to content

Conversation

@RobinMalfait
Copy link
Member

This PR fixes an issue where CSS that existed before a layer:

.foo {
  color: red;
}

@layer components {
  .bar {
    color: blue;
  }
}

Was turned into an @layer without a name:

@layer {
  .foo {
    color: red;
  }
}

@utility bar {
  color: blue;
}

But in this case, it should stay as-is:

.foo {
  color: red;
}

@utility bar {
  color: blue;
}

@RobinMalfait RobinMalfait merged commit e3764ac into next Oct 4, 2024
1 check passed
@RobinMalfait RobinMalfait deleted the fix/layer-without-name branch October 4, 2024 10:47
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

Successfully merging this pull request may close these issues.

3 participants