Re: [csswg-drafts] [css-cascade] A way to escape the current cascade layer and render styles in the parent layer (`@layer ..`) (#11010)

I think the proper way would be for tailwind (as a style vendor) to organise its styles into a more specific cascade layer.

```css
@layer utilities.tailwind {
  color: green;
}
```

Then you can write your own utilities as:

```css
@layer utilities.my-styles {
  color: purple;
}
```

And organise your layers freely with:

```css
@layer utilities.my-styles, utilities.tailwind;
```

```css
@layer utilities.tailwind, utilities.my-styles;
```


-- 
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11010#issuecomment-2400032769 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 8 October 2024 14:35:12 UTC