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 |
||
|---|---|---|
| .. | ||
| cli | ||
| postcss | ||
| upgrade | ||
| vite | ||
| package.json | ||
| utils.ts | ||
| vitest.config.ts | ||