feat(cli): update tailwind export to v4 format#33
feat(cli): update tailwind export to v4 format#33seonghobae wants to merge 1 commit intogoogle-labs-code:mainfrom
Conversation
This commit updates the Tailwind export functionality to support the new CSS-first format introduced in Tailwind v4. The no longer generates a JavaScript theme object. Instead, it produces a CSS string containing custom properties within a block, which is the standard configuration method for Tailwind v4. - The handler logic is updated to generate CSS variables. - The for the Tailwind emitter is updated to reflect the new string output type. - Unit tests for the handler are rewritten to assert the correct CSS string generation. - The main integration test in is updated to validate the new output format. - The field was also added to the root to unblock the build process in the clean worktree. Fixes google-labs-code#19 Related to google-labs-code#29
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
The implementation for the Tailwind v4 export format is complete and has been fully verified locally with passing builds and tests. The PR is currently blocked by the check, which requires manual intervention. The code itself is ready for review and merge. |
| { | ||
| "name": "design-monorepo", | ||
| "private": true, | ||
| "packageManager": "bun@1.1.20", |
There was a problem hiding this comment.
The latest bun version is 1.3.13.
Please update your version.
And this change IMHO should not be committed to this project.
This PR updates the Tailwind export functionality to support the new CSS-first format introduced in Tailwind v4. The handler now generates a CSS string with custom properties instead of a JavaScript theme object.
Fixes #19
Related to #29