tailwindcss/packages
RobinMalfait 02cb52ad38 Add codemod for migrating the @screen directive (#14749)
This PR adds a codemod for migrating the old `@screen` directive from Tailwind
CSS v2 that also worked in Tailwind CSS v3 but wasn't documented anymore.

Internally, this first migrates `@screen md` to `@media screen(md)`, then we rely on the existing migration that migrates the `screen(…)` function.

Input:
```css
@screen md {
  .foo {
    color: red;
  }
}
```

Output (IR):
```css
@media screen(md) {
  .foo {
    color: red;
  }
}
```

Output:
```css
@media theme(--breakpoint-md) {
  .foo {
    color: red;
  }
}
```
2024-10-22 16:09:56 +00:00
..
@tailwindcss-cli Ensure changes to the input CSS file result in a full rebuild (#14744) 2024-10-21 20:29:33 +00:00
@tailwindcss-node Prepare v4.0.0-alpha.28 release (#14709) 2024-10-17 17:03:28 -04:00
@tailwindcss-postcss Add postcss as a dependency of @tailwindcss/postcss (#14750) 2024-10-22 11:20:02 +00:00
@tailwindcss-standalone Update @types/bun 1.1.10 → 1.1.11 (patch) (#14727) 2024-10-19 15:18:39 +02:00
@tailwindcss-upgrade Add codemod for migrating the @screen directive (#14749) 2024-10-22 16:09:56 +00:00
@tailwindcss-vite Vite: Fix issues when loading files via static asset queries (#14716) 2024-10-22 16:03:07 +00:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Use 0 instead of none in OKLCH values (#14741) 2024-10-21 15:54:27 -04:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00