tailwindcss/integrations
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
..
cli Revert: Only expose used CSS variables (#16403) 2025-02-10 13:26:13 +01:00
postcss Implement @variant (#15663) 2025-01-21 10:20:35 -05:00
upgrade Upgrade: Handle darkMode value with block syntax (#16507) 2025-02-14 16:48:52 +01:00
vite Vite: Skip parsing stylesheets with the ?commonjs-proxy flag (#16238) 2025-02-04 12:45:23 +01:00
package.json Update fast-glob 3.3.2 → 3.3.3 (patch) (#15607) 2025-01-13 11:11:35 +01:00
utils.ts Don’t look at ignore files outside initialized repos (#15941) 2025-01-28 16:13:16 +00:00
vitest.config.ts Improve integration tests (stability + performance) (#15125) 2024-12-12 13:48:56 +01:00