tailwindcss/packages/@tailwindcss-upgrade/src
Robin Malfait aff858a3e6
Make themeToVar reusable (#14694)
This PR makes the `themeToVar` code we already use for migrating the `theme(…)` calls to `var(…)` calls in the candidates (found in source files), reusable for the next PR where we want to migrate `theme(…)` calls in your actual CSS.

(This shouldn't really require a separate PR, but I'm playing with Graphite's stacked PR feature to see how it works in practice 😅)
2024-10-17 11:44:40 +02:00
..
codemods Reset default @theme values for non extend JS theme config (#14672) 2024-10-16 16:06:09 +02:00
commands/help Add initial codemod tooling (#14434) 2024-09-18 16:45:43 +02:00
template Make themeToVar reusable (#14694) 2024-10-17 11:44:40 +02:00
utils Detect and migrate static plugin usages (#14648) 2024-10-14 17:45:36 +02:00
index.test.ts Add simple JS config migration (#14639) 2024-10-11 15:27:53 +02:00
index.ts Add simple JS config migration (#14639) 2024-10-11 15:27:53 +02:00
migrate-js-config.ts Don't generate invalid CSS when migrating a complex screens config (#14691) 2024-10-16 18:08:27 +02:00
migrate-postcss.ts Migrate simple PostCSS setup (#14612) 2024-10-10 15:09:14 +02:00
migrate.ts Add simple JS config migration (#14639) 2024-10-11 15:27:53 +02:00
stylesheet.ts Migrate utilities in CSS files imported into layers (#14617) 2024-10-10 15:44:04 +02:00