tailwindcss/packages
Philipp Spiess a1e083afc5
Upgrade: Handle darkMode value with block syntax (#16507)
Closes #16171

This PR handles `darkMode` variant configs containing braces (so
creating sub-rules) the same way we handle it in the interop layer.
Since the interop layer runs inside the `addVariant` API that we do not
run here, I instead oped to copy the one liner.

## Test plan

Updated one of the migration tests to include a rule that wasn't working
before. Ensured the new output works via
https://play.tailwindcss.com/nR99uhKtv3
2025-02-14 16:48:52 +01:00
..
@tailwindcss-browser Update h3 1.13.1 → 1.15.0 (minor) (#16515) 2025-02-14 11:44:43 +01:00
@tailwindcss-cli Update enhanced-resolve 5.18.0 → 5.18.1 (patch) (#16439) 2025-02-11 18:02:29 +01:00
@tailwindcss-node Update enhanced-resolve 5.18.0 → 5.18.1 (patch) (#16439) 2025-02-11 18:02:29 +01:00
@tailwindcss-postcss Prepare v4.0.6 (#16407) 2025-02-10 14:09:00 +01:00
@tailwindcss-standalone Update @types/bun 1.1.16 → 1.2.2 (minor) (#16444) 2025-02-12 12:17:07 +01:00
@tailwindcss-upgrade Upgrade: Handle darkMode value with block syntax (#16507) 2025-02-14 16:48:52 +01:00
@tailwindcss-vite Prepare v4.0.6 (#16407) 2025-02-10 14:09:00 +01:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Add legacy type exports to tailwindcss/plugin export (#16505) 2025-02-13 15:52:55 +01:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00